add type annotation eslint rule (#7)

This commit is contained in:
Alexander Buntakov 2021-11-02 19:21:22 +03:00 committed by GitHub
parent f13178df39
commit e5e4cb376f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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