[ESCONF-1] ESLint "linebreak-style: off" for Windows developers Created: 20/Apr/18  Updated: 12/Oct/18  Resolved: 12/May/18

Status: Closed
Project: eslint-config-stripes
Components: None
Affects versions: None
Fix versions: 1.1.1

Type: Task Priority: P3
Reporter: Julian Ladisch Assignee: Julian Ladisch
Resolution: Done Votes: 0
Labels: sprint36
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to STCOR-191 Add eslint installation instructions Closed
Sprint:

 Description   

Disable ESLint's warnings about Windows \r\b line endings (as discussed on slack #stripes). Git automatically converts them to Unix \n line endings on commit.

That way we neither need to configure the editors (.editorconfig) nor git (.gitattributes) to create unix line endings only.

Windows users can create new files and run ESLint locally before committing without warnings.

https://eslint.org/docs/rules/linebreak-style



 Comments   
Comment by Julian Ladisch [ 20/Apr/18 ]

Code review to give people a chance to comment on this change: https://github.com/folio-org/eslint-config-stripes/pull/28

Generated at Thu Feb 08 22:14:28 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.