-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linter fails on linebreak style rule #20
Comments
My bad, looks like we can't specify both types...... |
Basically we have two options: Use Unix style LF '\n' or Windows style CRLF '\r\n'. Most people seem to go with Unix style. I'm not sure what happens if we load a CRLF file on a Mac or Heroku - whether anything bad would happen. We can fix it for the whole project by specifying a style in .eslintrc.json and running 'eslint --fix'. |
diegohaz/arc#171 describes some approaches to solving this |
Adding a setting to vscode as described here seems to get Windows working with LF unix style: microsoft/vscode#7761 |
Error: .eslintrc.json:
Configuration for rule "linebreak-style" is invalid:
Value ["windows","unix"] should NOT have more than 1 items.
The text was updated successfully, but these errors were encountered: