change eslint rules (#8)

* change eslint rules
This commit is contained in:
grigoriishveps 2021-11-09 19:04:10 +03:00 committed by GitHub
parent e5e4cb376f
commit b367536be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -112,12 +112,11 @@
],
"rules": {
"indent": "off",
"space-infix-ops": "off",
"@typescript-eslint/space-infix-ops": ["error"],
"@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",