change eslint rules

This commit is contained in:
Grigorii Desyatnikov 2021-11-09 18:52:16 +03:00
parent e5e4cb376f
commit 89a6e3b4e8
1 changed files with 2 additions and 4 deletions

View File

@ -112,12 +112,10 @@
],
"rules": {
"indent": "off",
"space-infix-ops": "off",
"@typescript-eslint/no-shadow": "warn",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/type-annotation-spacing": ["error", {
before: false,
after: true
}],
"@typescript-eslint/type-annotation-spacing": ["error"],
"@typescript-eslint/space-before-function-paren": ["error", {
"named": "never",
"anonymous": "always",