29 lines
759 B
YAML
29 lines
759 B
YAML
|
parser: "@typescript-eslint/parser"
|
||
|
env:
|
||
|
es6: true
|
||
|
node: true
|
||
|
parserOptions:
|
||
|
ecmaVersion: 2020
|
||
|
sourceType: "module"
|
||
|
extends:
|
||
|
- prettier
|
||
|
- plugin:prettier/recommended
|
||
|
- "plugin:@typescript-eslint/recommended"
|
||
|
rules:
|
||
|
"@typescript-eslint/no-unused-vars":
|
||
|
- error
|
||
|
- vars: all
|
||
|
args: after-used
|
||
|
argsIgnorePattern: ^_
|
||
|
varsIgnorePattern: ^_
|
||
|
ignoreRestSiblings: true
|
||
|
"@typescript-eslint/no-empty-interface": off
|
||
|
"@typescript-eslint/no-explicit-any": off
|
||
|
"@typescript-eslint/explicit-function-return-type":
|
||
|
- warn
|
||
|
- allowExpressions: false
|
||
|
allowTypedFunctionExpressions: true
|
||
|
allowHigherOrderFunctions: true
|
||
|
"@typescript-eslint/camelcase": off
|
||
|
"@typescript-eslint/no-use-before-define": off
|