43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
root: true
|
|
parser: "@typescript-eslint/parser"
|
|
parserOptions:
|
|
project: ./tsconfig.json
|
|
|
|
extends:
|
|
- "eslint:recommended"
|
|
- "plugin:@typescript-eslint/recommended"
|
|
- "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
- "plugin:import/errors"
|
|
- "plugin:import/warnings"
|
|
- "plugin:import/typescript"
|
|
- "plugin:prettier/recommended"
|
|
|
|
plugins:
|
|
- "@typescript-eslint"
|
|
- prettier
|
|
|
|
rules:
|
|
prettier/prettier: "error"
|
|
|
|
import/first: error
|
|
import/order:
|
|
- error
|
|
- newlines-between: always
|
|
alphabetize:
|
|
order: asc
|
|
caseInsensitive: true
|
|
|
|
import/no-duplicates: off
|
|
no-duplicate-imports: off
|
|
"@typescript-eslint/no-duplicate-imports": warn
|
|
|
|
"@typescript-eslint/explicit-function-return-type": off
|
|
"@typescript-eslint/explicit-module-boundary-types": off
|
|
"@typescript-eslint/no-explicit-any": off
|
|
"@typescript-eslint/no-non-null-assertion": off
|
|
"@typescript-eslint/no-use-before-define": off
|
|
|
|
# Enabled in tsconfig
|
|
"@typescript-eslint/no-unused-vars": off
|
|
import/no-unresolved: off
|