@hasparus/eslint-config
v1.0.17
Published
_a shared ESLint config for my own use_
Downloads
14
Readme
@hasparus/eslint-config
a shared ESLint config for my own use
Usage
Installation
Install the package
yarn add @hasparus/eslint-config
Install peer dependencies
yarn add \
"@typescript-eslint/eslint-plugin" \
"@typescript-eslint/parser" \
"eslint" \
"eslint-plugin-cypress" \
"eslint-plugin-import" \
"eslint-plugin-jsx-a11y" \
"eslint-plugin-react-hooks" \
"eslint-plugin-react" \
"eslint-plugin-simple-import-sort" \
"eslint-plugin-sonarjs" \
"eslint-plugin-markdown"
Rules requiring typechecking
Reference tsconfig in project
to enable rules which require typechecking
{
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["@hasparus"]
}