Skip to content

Installation ​

sh
pnpm add -D eslint@^8.57.0 typescript @fast-china/eslint-config-legacy

Plugins and parsers are direct package dependencies.

If ESLint 8.57 and a compatible TypeScript version are already installed, add @fast-china/eslint-config-legacy and keep the existing dependency versions. After setting up the default entry, run pnpm exec eslint --print-config src/App.vue with the path to an actual Vue file. The command prints the merged rules for that file. If ESLint is reading eslint.config.*, use the package comparison to confirm whether the project uses Flat Config or .eslintrc.cjs.