Skip to content

Releases: babbel/eslint-config

2.2.0

15 Nov 16:21
a8c39f2
Compare
Choose a tag to compare
  • Add eslint-plugin-react-compiler to all React- and Preact-based configs
  • Set explicit support for Node.js LTS versions 20 and 22
  • Upgrade dependencies to latest versions

2.1.1

02 Oct 14:27
a4b1df2
Compare
Choose a tag to compare

2.1.0

18 Sep 15:51
190a48d
Compare
Choose a tag to compare
  • Add eslint-plugin-perfectionist to the base configuration and all its dependent configurations
    • Provides more robust and consistent alphabetical sorting features than what ESLint provides by default
    • All rules are auto-fixable
    • Its rules replace rules import/order, sort-keys, and sort-vars
  • Add eslint-plugin-react-perf to the /react configuration and all its dependent configurations
    • Provides performance-related checks to prevent code that causes performance problems
  • Upgrade dependencies to latest versions
  • Upgrade Bun version from 1.1.17 to 1.1.27

2.0.3

13 Aug 17:59
7d7c647
Compare
Choose a tag to compare
  • Upgrade dependencies to latest versions

2.0.2

29 Jul 14:36
4d97c34
Compare
Choose a tag to compare
  • Fix /bun config profile so it no longer checks for Node.js version to enforce feature support. Because Node.js is based on v8 and Bun on JSC, the two runtimes will likely forever be out of sync, so best to rely on TypeScript types for feature support rather than version chasing.
  • Upgrade dependencies to latest versions

2.0.1

26 Jul 14:02
b7263c7
Compare
Choose a tag to compare
  • Fix /bun config profile so it emulates Node.js ^21.0.0 versions, otherwise linting for feature support will fail for modern APIs common in Bun apps like Request, Response, and Headers
  • Upgrade dependencies to latest versions

2.0.0

25 Jul 16:30
bbbfb6c
Compare
Choose a tag to compare
  • Breaking Changes
    • Node.js 18.18.0 is now the minimum supported runtime version because of dependency requirements
    • ESLint version 8.56.0 is now the minimum supported version
      • Version 9.x cannot be supported yet due to a dependency on the eslint-config-airbnb* packages and its strict peer dependency requirement of no higher than ESLint 8.x
  • 3 new configurations added
    • /bun for Bun support
    • /jsdoc for JSDoc support in JavaScript projects
    • /jsdoc-typescript for JSDoc support in TypeScript projects
  • Bun replaces NPM as a script runner and package manager for maintenance of this package
  • When grouping module imports, subpath imports are now treated as part of the 2nd or Internal Imports module imports grouping
  • Upgrade dependencies to latest versions

1.2.2

21 Feb 15:30
92af7da
Compare
Choose a tag to compare
  • Upgrade dependencies to latest versions

1.2.1

12 Jan 14:40
4068ef0
Compare
Choose a tag to compare
  • Change the base config's import/order rule so the unknown import type now fills the last import group slot

1.2.0

09 Jan 15:48
58d8dff
Compare
Choose a tag to compare
  • Testing added using example code for each configuration to verify correctness during continuous integration
  • React and Preact TypeScript configs now allow JSX in files with .tsx file extensions
  • Remove dev dependency npm-run-all because it was only used during the reinstall NPM script and would cause an error if dependencies weren't installed prior to execution