@bangbang93/eslint-config-recommended
v2.0.0
Published
```bash npm i -D eslint @typescript-eslint/parser @bangbang93/eslint-config-recommended ```
Downloads
382
Readme
Switch to eslint
npm i -D eslint @typescript-eslint/parser @bangbang93/eslint-config-recommended
create eslint.config.mjs
import tsParser from "@typescript-eslint/parser";
import baseConfig from '@bangbang93/eslint-config-recommended';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
export default [
...baseConfig,
{
languageOptions: {
parser: tsParser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
},
},
eslintPluginPrettierRecommended,
]