-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
27 lines (27 loc) · 843 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/semi": "warn",
"eqeqeq": "warn",
"no-console": ["warn", { "allow": ["warn", "error"] }],
"no-debugger": "error",
"no-throw-literal": "warn",
"prefer-const": "warn"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}