-
Notifications
You must be signed in to change notification settings - Fork 20
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
Upgrade stylelint-config to use stylelint v15 #284
Comments
Thanks @tobeycodes this will be fixed with the next toolkit major. |
I am pinging a bunch of people here to drive discussion. @joesnellpdx @nicholasio @fabiankaegy @darylldoyle As with most of these packages, we get stuck because of WordPress script package dependencies which, in radical candor, I'm starting to not like. I do see the benefit of aligning ourselves with WP since it's easier to contribute back. It's just a tad frustrating.
Even if we move out of Moving to Stylelint 15 implies 76 stylistic rules are no longer with us which either we replicate with a package (we have fewer constraints than WP) or we ignore (which I don't recommend) Opening this to discuss what should be our way forward. It could well be to wait and see what Gutenberg team has to say but I wanted to update here too for internal visibility |
I definitely don't like most of the I'm curious about the prettier option - we don't use the WP fork would that be an option for us? |
@nicholasio Prettier on CSS would be a great way to annoy developers from what I've heard. See this stylelint/stylelint#6619 (comment) as a somewhat detailed example but I've seen more from other companies. Regarding moving out of it I don't have a strong opinion against it and more inclined towards it so let's see what others have to say! |
The https://www.npmjs.com/package/stylelint-stylistic package seems like a good route for us if we move out of the wp package. |
Like @nicholasio, I can also see the advantages of making the toolkit framework agnostic. That said, it's very based around WP as it stands, and my concern with breaking that out would be making it more difficult for engineers to get up and running with it. Would it be worth taking this into a separate discussion to go over the pros/cons of doing so as not to derail this issue? |
Sure @darylldoyle ! |
Is your enhancement related to a problem? Please describe.
I was performing routine maintenance on a project and updating out of date packages. We use styelint-config and stylelint-config-standard-scss. The latest version of that requires styelint v15 and this package is locked to v14. I have reviewed the migration guide and I do not believe we are effected by any breaking changes here. https://stylelint.io/migration-guide/to-15/
Locking stylelint-config-standard-scss to ^5.0.0 resolves the problem.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: