@gvrs/eslint-config
Setup
1) Install (with peer dependencies)
npx install-peerdeps --dev @gvrs/eslint-config
2) Extend config
For React:
extends: [
+ '@gvrs/eslint-config/react'
]
Base only
extends: [
+ '@gvrs/eslint-config/base'
]
parserOptions.project
3) Set{
+ parserOptions: {
+ project: './tsconfig.json'
+ }
}