-
Notifications
You must be signed in to change notification settings - Fork 2
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
Switch from sass-lint to stylelint #81
Comments
@randycoulman, we have this mostly done, but we have BC setup to use https://github.com/JaKXz/stylelint-webpack-plugin which is much nicer to see lint warnings in webpack-dev-server while you are coding. If we wanted to use this it seems like all of the linting would then have to go into the fork instead of here. Does that sound correct? What are your thoughts on this? |
Example output:
|
That seems to be what I was thinking up above when I wrote this issue. Would it make sense to make the switch here and then have a follow-up effort on the react-scripts fork to also bring in the webpack plugin? My uninformed thought is that we could at least allow stylelint to run from editors and as part of the |
Blah... of course you did. I missed that part of the comment :headslap: |
Sorry, didn't mean that to sound snarky. More like me trying to reload old context into my head. |
Stylelint seems to be more popular, more flexible, and more future-proof than sass-lint. Also, it doesn't bring in a dependency on an old version of eslint, which is tripping us up a bit on the create-react-app 1.0 upgrade.
Also, consider modifying our react-scripts fork to bring in stylelint and use stylelint-webpack-plugin in a similar way to the eslint-loader. That way, we can get style linting feedback in the same places as we get code linting.
The text was updated successfully, but these errors were encountered: