2021-09-08 23:54:08 +03:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": ["/build"],
|
|
|
|
"env": {
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "tsconfig.json",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint",
|
|
|
|
"eslint-plugin-jsdoc",
|
|
|
|
"eslint-plugin-prefer-arrow"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"curly": "error",
|
2021-09-16 19:01:45 +03:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
2021-09-08 23:54:08 +03:00
|
|
|
"@typescript-eslint/naming-convention": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"selector": ["variable"],
|
2021-09-16 18:28:40 +03:00
|
|
|
"format": ["camelCase", "UPPER_CASE"],
|
2021-09-08 23:54:08 +03:00
|
|
|
"leadingUnderscore": "allow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/prefer-for-of": "off",
|
|
|
|
"max-classes-per-file": "off",
|
|
|
|
"no-cond-assign": "error"
|
|
|
|
}
|
|
|
|
}
|