This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
58 lines (58 loc) · 1.53 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
"no-unused-vars": "error",
"no-undef": "off",
"no-const-assign": "error",
"prefer-const": "error",
"semi": "error",
"no-extra-semi": "error",
"semi-spacing": [
"error",
{
"before": false,
"after": true
}
],
"no-dupe-else-if": "error",
"no-debugger": "error",
"no-console": "error",
"no-compare-neg-zero": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-import-assign": "error",
"no-obj-calls": "error",
"no-prototype-builtins": "error",
"no-template-curly-in-string": "error",
"valid-typeof": "error",
"block-scoped-var": "error",
"default-case": "error",
"eqeqeq": "error",
"no-alert": "error",
"no-eq-null": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-whitespace-before-property": "error",
"block-spacing": "error",
"quotes": [
"error",
"single"
]
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}