Skip to content

15.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 16:53
0b8cf6d

@metamask/eslint-config 15.0.0

Changed

  • BREAKING: Update jsdoc/require-jsdoc to require documentation for more things (#394)
    • New things that now require documentation are:
      • Arrow functions
      • Class declarations
      • TypeScript enum declarations
      • Function expressions
      • TypeScript interface declarations
      • Method definitions
      • TypeScript type alias declarations
      • TypeScript property signatures
  • BREAKING: Convert various rules from warn to error (#424)
    • The rules impacted are:
      • promise/no-callback-in-promise
      • promise/no-nesting
      • promise/no-promise-in-callback
      • promise/no-return-in-finally
      • promise/valid-params

@metamask/eslint-config-browser 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)

@metamask/eslint-config-commonjs 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)

@metamask/eslint-config-jest 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)
  • BREAKING: Convert various rules from warn to error (#424)
    • The rules impacted are:
      • jest/expect-expect
      • jest/no-alias-methods
      • jest/no-commented-out-tests
      • jest/no-disabled-tests
  • Widen typescript peer dependency to allow all 5.x versions (#422)

@metamask/eslint-config-mocha 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)

@metamask/eslint-config-nodejs 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)

@metamask/eslint-config-typescript 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)
  • BREAKING: Update typescript-eslint peer dependency to have a minimum version of v8.39.0 (#423)
    • This version has a matching supported typescript range, and includes some bug fixes for problems we ran into.
  • BREAKING: Update type import specifier rules (#381)
    • @typescript-eslint/consistent-type-imports has been replaced with import-x/consistent-type-specifier-style
    • The rule now prefers "top-level" type imports over inline. e.g. import type { a } from 'x' over import { type a } from 'x'
  • Disable @typescript-eslint/no-unnecessary-type-arguments (#426)
    • We decided that "unnecessary" type arguments make types easier to read sometimes, so we should allow them.
  • Disable promise/valid-params because it's redundant in type-checked projects (#425)
  • Disable import-x/no-duplicates (#427)
    • It was a style preference that we may not want, and the auto-fix was broken.
  • Loosen @typescript-eslint/naming-convention by not enforcing naming conventions for object literal properties (#428)
    • Object literals are too often used as parameters for 3rd party libraries/services.
  • Disable jsdoc/check-indentation (#430)
    • Disabled due to a problem with indended sections in TSDoc blocks.
  • Widen typescript peer dependency to allow all 5.x versions (#422)

Fixed

  • Prevent non-type imports from being grouped under a type import upon auto-fix (#427)
    • This was caused by import-x/no-duplicates, which is now disabled.
  • Fix false positive lint error on TSDoc blocks with indended sections (e.g. bullet lists) (#430)

@metamask/eslint-config-vitest 15.0.0

Changed

  • BREAKING: Bump peer dependency on @metamask/eslint-config from ^14.0.0 to ^15.0.0 (#431)
  • Bump version to v15 rather than v2 to synchronize this with the other lint config packages (#431)