-
Notifications
You must be signed in to change notification settings - Fork 3
Add linebreak-style rule #28
Copy link
Copy link
Closed
Labels
Description
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.
Reactions are currently unavailable