@gvrs/eslint-config
v2.0.1
Published
React and base eslint config
Downloads
2
Maintainers
Readme
@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'
]
3) Set parserOptions.project
{
+ parserOptions: {
+ project: './tsconfig.json'
+ }
}