|
|
@ -1,5 +1,9 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"], |
|
|
|
"extends": [ |
|
|
|
|
|
|
|
"eslint:recommended", |
|
|
|
|
|
|
|
"plugin:prettier/recommended", |
|
|
|
|
|
|
|
"plugin:@typescript-eslint/recommended" |
|
|
|
|
|
|
|
], |
|
|
|
"parser": "@typescript-eslint/parser", |
|
|
|
"parser": "@typescript-eslint/parser", |
|
|
|
"parserOptions": { |
|
|
|
"parserOptions": { |
|
|
|
"ecmaVersion": 11, |
|
|
|
"ecmaVersion": 11, |
|
|
@ -10,11 +14,13 @@ |
|
|
|
"no-var": 2, |
|
|
|
"no-var": 2, |
|
|
|
"prefer-arrow-callback": 2, |
|
|
|
"prefer-arrow-callback": 2, |
|
|
|
"@typescript-eslint/ban-ts-comment": 0, |
|
|
|
"@typescript-eslint/ban-ts-comment": 0, |
|
|
|
|
|
|
|
"@typescript-eslint/ban-types": 1, |
|
|
|
"@typescript-eslint/no-empty-function": 1 |
|
|
|
"@typescript-eslint/no-empty-function": 1 |
|
|
|
}, |
|
|
|
}, |
|
|
|
"env": { |
|
|
|
"env": { |
|
|
|
"browser": true, |
|
|
|
"browser": true, |
|
|
|
"es6": true, |
|
|
|
"es6": true, |
|
|
|
"jest/globals": true |
|
|
|
"jest/globals": true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"globals": { "google": "readonly" } |
|
|
|
} |
|
|
|
} |
|
|
|