Skip to content
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

Add linebreak-style rule #28

Open
GuySartorelli opened this issue Dec 5, 2024 · 0 comments
Open

Add linebreak-style rule #28

GuySartorelli opened this issue Dec 5, 2024 · 0 comments

Comments

@GuySartorelli
Copy link
Member

From silverstripe/silverstripe-admin#1854 (comment):

on windows, it requires this to work
module.exports.rules['linebreak-style'] = ['error', 'windows'];

otherwise you get Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style

could be nice to add that as a default for https://github.com/silverstripe/eslint-config/blob/1/.eslintrc.js to make it windows friendly

Seems like a sensible thing to do so contributions are a little smoother.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant