[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: |
|
||||||||
| 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 |