Skip to content

11.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Nov 16:24
· 82 commits to main since this release
700c5db

@metamask/eslint-config

Added

  • BREAKING: Enable id-denylist and id-length in base config (#200)
  • BREAKING: Add rules for hybrid Node.js and browser environments (#242)
    • The base config now only allows globals and modules that are available in both Node.js and browsers.
    • This adds a new @metamask/eslint-config-browser package, to be used in browser-only environments.
    • The @metamask/eslint-config-nodejs package has been updated to allow Node.js-only globals and modules.

Changed

  • BREAKING: Remove no-undef in favour of custom environments configuration (#254)
  • BREAKING: Bump all ESLint dependencies to the latest version (#252)
    • This includes peer dependencies.
  • BREAKING: Automatically sort imports (#248)
  • BREAKING: Disable more undesired syntax (#207)
    • This disables the with statement, function expressions, and the in operator.

@metamask/eslint-config-browser

Added

  • Initial release of this package.

@metamask/eslint-config-jest

Changed

  • BREAKING: Bump all ESLint dependencies to the latest version (#252)
    • This includes peer dependencies.

@metamask/eslint-config-mocha

Changed

  • BREAKING: Bump all ESLint dependencies to the latest version (#252)
    • This includes peer dependencies.

@metamask/eslint-config-nodejs

Changed

  • BREAKING: Remove no-undef in favour of custom environments configuration (#254)
    • This config now only allows globals that are available in Node.js.
  • BREAKING: Bump all ESLint dependencies to the latest version (#252)
    • This includes peer dependencies.

@metamask/eslint-config-typescript

Added

  • BREAKING: Add rules that require type information (#250)
    • This requires setting some parser options. See the README for more details.
  • BREAKING: Bump all ESLint dependencies to the latest version (#252)
    • This includes peer dependencies.
  • BREAKING: Forbid TypeScript's private modifier in favour of hash names (#244)