Skip to content

v4.0.0 - Support eslint@9 and FlatConfig

Compare
Choose a tag to compare
@AriPerkkio AriPerkkio released this 09 Jun 08:25
· 40 commits to master since this release

This release adds support for eslint@9 and FlatConfig. Github Actions were also updated to support this version of eslint-remote-tester: https://github.com/AriPerkkio/eslint-remote-tester-run-action/releases/tag/v5

What's Changed

  • feat!: convert package to ESM only by @AriPerkkio in #522
    • In order to import() ESLint's new eslint.config.js with top-level await, this package was converted to ESM-only
  • feat!: support eslint@9 and FlatConfig by @AriPerkkio in #519
    • Minimum requirement for eslint is now v9
    • Optional peer dependency for loading Typescript configurations was changed from ts-node. You can now use either jiti or importx.
    • eslint-remote-tester.config.js supports now eslintConfig option. Previous eslintrc option was removed.
import js from '@eslint/js';

export default {
    repositories: [<repositories here>],
    extensions: ['js', 'jsx', 'ts', 'tsx'],
    eslintConfig: [js.configs.recommended],
};

eslint-remote-tester-repositories was also updated to new major v2. It's also ESM-only now.

Full Changelog: v3.0.1...v4.0.0