-
Notifications
You must be signed in to change notification settings - Fork 0
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
Eslint9 #246
Conversation
e512ac7
to
1ca1a46
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.
Looks good 👍
- Update to EsLint v9 (and flat config) - Raise ts lint rules to strict (more than just recommended) -> hint: we could also enable eslint rules based on types which are even more accurate (e.g. recommendedWithTypes or scriptWithTypes), however they need more time to adjust I think - Testing library with react (was only the default it seems) - Add playwright eslint plugin - Add tanstack/query eslint plugin - Fix various lint problems
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.
Nice looks good, thanks 👍
I guess we can now also use the ESLint Config Inspector? https://eslint.org/blog/2024/04/eslint-config-inspector/
yes just run script: https://github.com/axonivy/form-editor-client/pull/246/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R21 |
Very cool 👍 👏 |
-> hint: we could also enable eslint rules based on types which are even more accurate (e.g. recommendedWithTypes or scriptWithTypes), however they need more time to adjust I think