add support for @stylistic/eslint-plugin#272
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 — |
|
Any news? Would love to have this built-in |
|
I will see if I can get this finished up! |
🦋 Changeset detectedLatest commit: c4651b1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Any update on the merge? |
|
No updates, I will probably need someone else to take this over. The logic is done, I simply need help finishing up the unit tests. Further complicating this is that ESLint Stylistic plans to merge their various packages (default, JavaScript, TypeScript, JSX) into one. |
|
For those wanting this and banging their heads against the unit tests, note:
(I’m not involved in the project anymore, I just occasionally read notifications on the repo.) |
|
For somebody who just wants to update such packages once in a while and seeing a breaking change version bump while not wanting to dive deep into the matter, I would appreciate a little documentation of what the breaking change is and whether there are any migration steps needed if I want to bump my eslint-config-prettier version from 9.1.0 to 10.0.1? |
|
v10 should be compatible mostly, but it adds Additionally, we migrated the releasing tool to changesets and leave Previous:
Now:
|
##### [v10.0.1](https://github.com/prettier/eslint-config-prettier/releases/tag/v10.0.1) ### eslint-config-prettier #### 10.0.0 ##### Major Changes - [#272](prettier/eslint-config-prettier#272) [`5be64be`](prettier/eslint-config-prettier@5be64be) Thanks [@abrahamguo](https://github.com/abrahamguo)! - add support for [@Stylistic](https://github.com/stylistic) formatting rules #### Versions before 10.0.0 ##### Version 9.1.0 (2023-12-02) - Added: [unicorn/templat


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-pluginstill has rules that can be used with prettier:This PR also updates
package-lock.jsontolockfileVersion: 3(the version used by the current versions ofnpm) and ignores the.ideafolder created by JetBrains IDEs.