-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: support eslint 9 #38
Conversation
18d1697
to
cfadc82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest LGTM, thanks! :)
cfadc82
to
c3ddcd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM.
We may need some docs changes... and we also should figure out how v9+ handle the config presets (given that other breakage you were discussing).
I can help you with that. |
removing the preset would be a "breaking change", which sort of defeats the intent here of "fixing" the plugin to keep working without such forking/breakage. so I would like to at least understand better what other changes are necessary to preserve presets before wrapping this up. it might well belong in a separate PR, but I think we need that to land before a new "release"... so I just want to have a better sense of the "scope" of such work before we finalize this PR. also, if this plugin is now used/activated/configured differently in v9+, I want to make sure the docs have a mention of that difference. |
I think we can leave your preset as it is How I used this plugin with eslint 9 when testing was like this: I could push a separate commit that adds the preset and required refactoring (if needed) and then we can discuss it Regarding the docs, I am not a native english speaker but I can give it a try |
I have pushed a separate second commit, that adds a flat config preset If that is fine for you I can then add some docs for this |
9d8952c
to
dd30aa3
Compare
btw I noticed that there is no CI build on PR branches. |
yes, happy to look at any and all contributions, especially helpful ideas like the CI stuff. :) |
added a simple workflow in #39 |
Also increased major version
b32e8eb
to
40e6d1b
Compare
@getify In second commit I have updated the readme and added a flat config entry for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good, appreciate it. Just a few minor tweaks.
Add flat config preset
40e6d1b
to
e23cb26
Compare
tnx for the feedback Kyle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
NOTE: I'll be delaying publishing this updated version on npm for a bit, just to give us time to get some feedback from folks if they try it. |
Also increased major version
I tested this in my repo https://github.com/Smrtnyk/Firetable where I am using eslint 9 and flat config, and it works fine with these changes
I ran the tests:all command it also passes all the tests.