28 lines
965 B
YAML
28 lines
965 B
YAML
root: true
|
|
parser: '@typescript-eslint/parser'
|
|
parserOptions:
|
|
project: tsconfig.eslint.json
|
|
plugins:
|
|
- '@typescript-eslint/eslint-plugin'
|
|
extends:
|
|
- eslint:recommended
|
|
- plugin:@typescript-eslint/recommended
|
|
- plugin:@typescript-eslint/recommended-requiring-type-checking
|
|
- plugin:react-hooks/recommended
|
|
rules:
|
|
prefer-const: error
|
|
'@typescript-eslint/no-unsafe-assignment': off
|
|
'@typescript-eslint/no-unsafe-member-access': off
|
|
'@typescript-eslint/no-unsafe-return': off
|
|
'@typescript-eslint/no-unused-vars': off
|
|
'@typescript-eslint/explicit-module-boundary-types': off
|
|
'@typescript-eslint/no-explicit-any': off
|
|
'@typescript-eslint/ban-ts-comment': off
|
|
'@typescript-eslint/no-non-null-assertion': off
|
|
'@typescript-eslint/no-floating-promises': off
|
|
'@typescript-eslint/no-misused-promises':
|
|
- off
|
|
- checksVoidReturn: false
|
|
'@typescript-eslint/unbound-method': off
|
|
'@typescript-eslint/restrict-template-expressions': off
|