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 support for @stylistic/eslint-plugin
#272
base: main
Are you sure you want to change the base?
Conversation
Hi! Can you describe what your motivating use case is for this? |
Sure thing! I'd like to be able to use the stylistic rules from I think this makes sense from a comprehensive purpose — since |
Thanks! Just so that I understand what you’re doing correctly: Why don’t you enable just the rules from |
Great question! Two answers:
|
Aha, turning on all rules from a plugin and then disabling the ones that conflict – I can see that being a thing. 👍 Then I have a request: I would rather have all the |
Totally fair, makes sense! I anticipated you might comment about that, since it was a very different style than what was in that file before. |
I've mostly completed this — I just need to figure out how to get the tests working properly. It's very confusing because there are five different stylistic plugins — |
Since formatting rules have been deprecated from core ESLint and moved to
@stylistic/eslint-plugin
, this PR adds support for all the same rules in@stylistic/eslint-plugin
. Despite its name,@stylistic/eslint-plugin
still has rules that can be used with prettier:This PR also updates
package-lock.json
tolockfileVersion: 3
(the version used by the current versions ofnpm
) and ignores the.idea
folder created by JetBrains IDEs.