40 lines
881 B
JSON
40 lines
881 B
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier/@typescript-eslint",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-template-curly-in-string": "warn",
|
|
"guard-for-in": "error",
|
|
"no-eval": "error",
|
|
"arrow-body-style": "error",
|
|
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"args": "none",
|
|
"argsIgnorePattern": "^_$",
|
|
"varsIgnorePattern": "^_$"
|
|
}
|
|
],
|
|
|
|
"@typescript-eslint/explicit-function-return-type": [
|
|
"error",
|
|
{
|
|
"allowExpressions": true,
|
|
"allowTypedFunctionExpressions": true,
|
|
"allowHigherOrderFunctions": true
|
|
}
|
|
],
|
|
|
|
"@typescript-eslint/no-empty-interface": "off"
|
|
}
|
|
}
|