npm / @metamask/eslint-config
@metamask/eslint-config
What changed in @metamask/eslint-config 5 to 15, from its official release notes, upgrade guides and advisories. Also covers @metamask/eslint-config-jest, @metamask/eslint-config-mocha, @metamask/eslint-config-nodejs, @metamask/eslint-config-typescript. Sources checked 2026-11-30.
39 breaking8 behavior and defaults9 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@metamask/eslint-config 1510 changes
Breaking changes 3
This replaces
@typescript-eslint/consistent-type-importsand prefers top-level type imports over inline type imports.The peer dependency requirement is bumped from ^14.0.0 to ^15.0.0.
The peer dependency minimum version is raised to v8.39.0.
Behavior and default changes 2
Naming conventions are no longer enforced for object literal properties.
The rule is disabled, allowing type arguments considered unnecessary by the rule.
Tooling 3
The rule is disabled due to problems with indented sections in TSDoc blocks.
The rule is disabled because it is redundant in type-checked projects.
The peer dependency is widened to allow all 5.x versions.
Fixes and other changes 2
The TypeScript ESLint config can now be imported from CommonJS.
The rule is disabled; its auto-fix was broken and could group non-type imports under a type import.
@metamask/eslint-config 1416 changes
Breaking changes 9
The package is pure ESM and can no longer be used with CommonJS require syntax.
Adds eslint-plugin-import-x@^4.3.0 as a peer dependency.
The peer dependency requirement changes from ^8.57.0 to ^9.11.0.
The configs now use flat configs; the legacy config format is no longer supported.
The peer dependency requirement changes from ^13.0.0 to ^14.0.0.
The minimum supported Node.js version increases from 16 to 18.18.
Removes @typescript-eslint/eslint-plugin as a peer dependency.
Removes @typescript-eslint/parser as a peer dependency.
Adds typescript-eslint@^8.6.0 as a peer dependency.
Behavior and default changes 3
Allows more formats for import names.
Loosens the rule to allow rejecting with
unknown.Loosens the rule to allow a
defaultcase.
Tooling 4
Disables this ESLint rule.
Adds support for TypeScript 5.6.x–5.8.x.
Adds eslint-import-resolver-typescript@^3.6.3 as a peer dependency.
Adds eslint-plugin-jsdoc@^50.2.4 as a peer dependency.
@metamask/eslint-config 133 changes
Breaking changes 2
Replaces eslint-plugin-import.
The minimum supported Node.js version increases from 14 to 16.
Tooling 1
TypeScript is bumped to v5.5, along with relevant @typescript-eslint packages.
@metamask/eslint-config 125 changes
Breaking changes 4
Adds a rule requiring generic parameters to have names at least 3 characters long.
Updates the peer dependency to v12.
Enables the rule, requiring consistent use of type imports.
Enables the rule for enum initializers.
Behavior and default changes 1
Disables the naming convention for properties that require quotes.
@metamask/eslint-config 112 changes
Breaking changes 2
Forbids TypeScript's private modifier in favour of hash names.
Adds rules that require type information, so parser options must be set.
@metamask/eslint-config 1012 changes
Breaking changes 11
ESLint was updated from v7 to v8; eslint is a peerDependency, so users must use a compatible version.
This ESLint rule was added to the configuration.
This ESLint rule was added to the configuration.
This ESLint rule was added to the configuration.
This ESLint rule was added to the configuration.
The minimum Node.js version was raised to v14.
The plugin was updated; it is a peerDependency, making this a breaking change.
This TypeScript ESLint rule was added to the configuration.
This TypeScript ESLint rule was added to the configuration.
The parser was updated; it is a peerDependency, making this a breaking change.
TypeScript interfaces are forbidden by the configuration.
Behavior and default changes 1
The rule ignores rest siblings, making it more permissive.
@metamask/eslint-config 91 changes
Breaking changes 1
Adds JSDoc ESLint rules, changing the linting requirements for TypeScript projects using this configuration.
@metamask/eslint-config 73 changes
Breaking changes 1
The @typescript/no-shadow configuration was updated, which may change lint results.
Tooling 1
The recommended rule sets are used, removing or disabling rules without a breaking change.
Fixes and other changes 1
Added as a peer dependency because this package is designed to be used with the MetaMask base ESLint config.
@metamask/eslint-config 64 changes
Breaking changes 3
Configs are published as separate packages and must be extended by referencing their package names.
The minimum supported Node.js version is now ^12.0.0.
The config adds the Prettier ESLint plugin and extends the recommended Prettier ESLint config, affecting lint rules.
Behavior and default changes 1
The configured ECMAScript version is now es2017/8.
@metamask/eslint-config 53 changes
Breaking changes 3
The base config now enables semicolons, so code may need to be updated to comply.
Spaces before parentheses of named functions are now disallowed.
The config now uses TypeScript v4 and corresponding
@typescript-eslintdependencies.