-
Notifications
You must be signed in to change notification settings - Fork 639
Update ESLint config to flat format #3107
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
Conversation
|
Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/[email protected] |
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
d1f7437 to
5811f63
Compare
afbdfc0 to
67b797f
Compare
| rules: { | ||
| // This rule is too strict for test files. | ||
| // TODO: Upstream this change to `@metamask/eslint-config-jest`. | ||
| '@typescript-eslint/unbound-method': 'off', |
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.
I think we can remove some comments in some of the controllers with this change
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.
Done in #3112. I split them up to keep it reviewable.
This either replaces or removes inline comments disabling ESLint rules following the configuration changes in #3107 and rule changes in `@metamask/eslint-config`.
This rewrites the existing ESLint config to the flat config format, with minimal modifications to the original config, other than those required by the new format. In addition to that, there are some other minor changes: - I updated the Prettier config to use Prettier 3. - I removed ESLint and related dependencies from all non-root workspace packages. These are no longer required, and removing them makes dependency maintenance a bit easier. Closes #3099.
This either replaces or removes inline comments disabling ESLint rules following the configuration changes in #3107 and rule changes in `@metamask/eslint-config`.
This rewrites the existing ESLint config to the flat config format, with minimal modifications to the original config, other than those required by the new format.
In addition to that, there are some other minor changes:
Closes #3099.