Skip to content

[Feature] Stylelint Plugin functionality #1022

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

Closed
tropicalraisel opened this issue Aug 18, 2021 · 4 comments
Closed

[Feature] Stylelint Plugin functionality #1022

tropicalraisel opened this issue Aug 18, 2021 · 4 comments

Comments

@tropicalraisel
Copy link

Similar to ESLint, but for CSS and SASS: https://www.npmjs.com/package/stylelint

@tropicalraisel tropicalraisel changed the title Add a Stylelint Plugin functionality [Feature] Stylelint Plugin functionality Aug 18, 2021
@versedi
Copy link

versedi commented Aug 24, 2021

Already achievable via: https://webpack.js.org/plugins/stylelint-webpack-plugin/

const StylelintPlugin = require('stylelint-webpack-plugin');

Encore.addPlugin(new StylelintPlugin());

written from hand but should work out of the box

@tropicalraisel
Copy link
Author

I'm aware; this project is just based around providing features through small statements. I figured Stylelint would be a good addition since ESLint doesn't handle styles. Since it's a plugin maybe it should be used as a loader, but I've seen other issues and PRs about updating the enableEslintLoader() to enableEslintPlugin(). Therefore, if that's acceptable adding Stylelint support should be ok.

@tropicalraisel
Copy link
Author

Hold off on this until Stylelint supports PostCSS 8.

@Kocal
Copy link
Member

Kocal commented Sep 26, 2024

Closing for the same exact reasons from #1267 (comment)

@Kocal Kocal closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants