-
Notifications
You must be signed in to change notification settings - Fork 7
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
refactor!: use eslint 9 #29
base: master
Are you sure you want to change the base?
refactor!: use eslint 9 #29
Conversation
It's still a draft, wdyt @alexander-akait ? |
env: { | ||
es6: true, | ||
jest: true | ||
// require('./rules/imports'), |
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.
Why it is comment?
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.
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.
They are very long... maybe we have sme hacks to still use it?
...{ | ||
languageOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', |
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 can be a problem, some packages are still in commonjs
Let's make two things - "@webpack-contrib/eslint-config-webpack/commonjs"
and "@webpack-contrib/eslint-config-webpack/module"
and the second requires extension for import ... from ...
I refactored the eslint settings to use the new flat config