Skip to content

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Dec 03:15
· 61 commits to main since this release

4.0.0 (2024-12-06)

Bug Fixes

  • javascript: remove deprecated no-return-await rule (e5a5f35)
  • javascript: replace no-new-object with no-object-constructor (d2005ce)
  • omit negation from ignores in flat configuration to avoid breaking @eslint/config-inspector (d6e497f)
  • typescript: ensure that eslint recommended overrides are applied (27c2961)
  • typescript: explicitly disable @typescript-eslint/no-require-imports (619df3d)
  • typescript: remove @typescript-eslint/sort-type-constituents (e6180b7)

Features

  • add names to configs (e408fdb)
  • convert configs to flat style (88ec9f6)
  • javascript: drop support for ESLint v7 (be9b002)
  • javascript: enable built-in reportUnusedDisableDirectives check (b9c8f21)
  • javascript: switch to @eslint-community/eslint-plugin-eslint-comments (245dcee)
  • javascript: switch to @stylistic/eslint-plugin-js (e93ef65)
  • javascript: switch to eslint-plugin-n (afac2bc)
  • jest: drop support for eslint-plugin-jest v27 (e838458)
  • jest: source formatting rules from eslint-plugin-jest (ea36362)
  • make @eslint/js a required peer dependency (873100f)
  • only officially export flat configuration type configs (b8cc031)
  • react: remove jsx-no-bind rule (9fa7ef5)
  • remove flowtype config and related plugins (a781613)
  • rename [@typescript-eslint](https://github.com/typescript-eslint) config to typescript (64eaaec)
  • support @typescript-eslint/* v8 (81d286b)
  • switch to exporting arrays to allow multiple configuration objects (6d956e0)
  • typescript: drop support for @typescript-eslint/* v6 (87968fc)
  • typescript: switch to @stylistic/eslint-plugin-ts (ec6f9de)
  • upgrade eslint-config-prettier to v9 (0b66abb)

BREAKING CHANGES

  • you must now use typescript instead of @typescript-eslint
  • you must now ensure @eslint/js is installed
  • configs are now flat by default, unless ESLINT_USE_FLAT_CONFIG is 'false'
  • flowtype config is no longer available
  • typescript: you must now install @stylistic/eslint-plugin-ts
  • javascript: you must now install @stylistic/eslint-plugin-js
  • jest: eslint-plugin-jest v27 is no longer supported
  • typescript: @typescript-eslint/* v6 is no longer supported
  • javascript: ESLint v7 is no longer supported