add type annotation eslint rule (#7)
This commit is contained in:
parent
f13178df39
commit
e5e4cb376f
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue