-
-
Notifications
You must be signed in to change notification settings - Fork 42
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: eslint v9.0.0 compatibility (fixes #143) #144
Conversation
2ee0104
to
911ef46
Compare
911ef46
to
968349e
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.
suggestion (non-blocking): It may be worth considering expiring-todo-comments here as that is a lot of TODOs we'll need to deal with in the future!
If that's the case, I'd prefer to use an issue for tracking the todos - it's not a good DX if someone makes an unrelated change and the build suddenly fails. |
mmm, that's fair, maybe a gh action to pull all todos into a comment would be nice. Do ignore this for now, we can solve it later as you say! |
fa93557
to
0fc074d
Compare
// eslint ^7 (deprecated ^8) | ||
context.getFilename?.() | ||
) || | ||
getFromTSConfigFromFile(filename) || |
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.
For reference, in #139 I moved this wholesale to lib/util/get-tsconfig.js:32
I can still see two more places, here are the traces:
|
thanks for checking this, will investigate it later. :) |
You need to move |
Co-authored-by: Sebastian Good <2230835+scagood@users.noreply.github.com>
it's ready for reviewing now. 🎉 |
I'm going to merge it as of now - we can do another PR if you have any suggestions:). cc @scagood |
Signed-off-by: 唯然 <weiran.zsd@outlook.com>
Sorry, I have been away 👀 I have no additional comments, this looks good to me 😀 |
refs: https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/
fixes #143