Support for ESLint 9 was added in typescript-eslint@8.0.0-alpha.10.
Use the package manager pnpm to install the ESLint configuration and related packages in the root project.
pnpm add --save-dev --save-exact --workspace-root --workspace eslint-config
pnpm add --save-dev --save-exact --workspace-root eslint
Create an eslint configuration file in ES module format. Import the configuration from eslint-config and export as default.
import eslintConfig from 'eslint-config';
export default [...eslintConfig];
ESLint can be integrated with editors, executed in the Git pre-commit hook to check or fix staged files, and the CLI tool can be used directly or in scripts.
pnpm eslint