forked from Voxelum/minecraft-launcher-core-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
59 lines (59 loc) · 1.42 KB
/
.eslintrc.json
File metadata and controls
59 lines (59 loc) · 1.42 KB
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
59
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"project": "tsconfig.json",
"sourceType": "module",
"tsconfigRootDir": "."
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"array-bracket-newline": "error",
"array-bracket-spacing": "error",
"arrow-parens": "error",
"arrow-spacing": "error",
"block-spacing": "error",
"comma-style": "error",
"curly": "error",
"eol-last": "error",
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": "error",
"no-alert": "error",
"no-caller": "error",
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"no-duplicate-imports": "error",
"no-irregular-whitespace": "error",
"no-mixed-spaces-and-tabs": "error",
"no-trailing-spaces": "error",
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"quotes": "error",
"semi-style": "error",
"space-before-blocks": "error",
"spaced-comment": "error"
}
}