36 lines
678 B
JSON
36 lines
678 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module"
|
|
},
|
|
"extends": [
|
|
"eslint-config-airbnb-base",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": ["mocha", "@typescript-eslint"],
|
|
"rules": {
|
|
"lines-between-class-members": [
|
|
"error",
|
|
"always",
|
|
{ "exceptAfterSingleLine": true }
|
|
],
|
|
"max-classes-per-file": 1,
|
|
"no-empty": [
|
|
2,
|
|
{
|
|
"allowEmptyCatch": true
|
|
}
|
|
],
|
|
"no-promise-executor-return": 1,
|
|
"no-shadow": "off",
|
|
"no-underscore-dangle": "off",
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
},
|
|
"env": {
|
|
"mocha": true
|
|
}
|
|
}
|