feat(eslint): use production grade config
This commit is contained in:
parent
fc3136bf89
commit
1dc6ee4463
3 changed files with 5 additions and 1 deletions
|
|
@ -3,8 +3,11 @@ module.exports = {
|
|||
env: { browser: true, es2020: true },
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:@typescript-eslint/strict-type-checked',
|
||||
'plugin:@typescript-eslint/stylistic-type-checked',
|
||||
'plugin:react-hooks/recommended',
|
||||
'plugin:react/recommended',
|
||||
'plugin:react/jsx-runtime',
|
||||
],
|
||||
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
|
|
|
|||
Reference in a new issue