-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.json
107 lines (107 loc) · 2.99 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "airbnb-base", "plugin:import/typescript"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"rules": {
"no-console": "warn",
"no-debugger": "warn",
"no-tabs": 0,
"no-trailing-spaces": "off",
"lines-between-class-members": "off",
"consistent-return": "off",
"no-dupe-class-members": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"camelcase": "warn",
"quote-props": "off",
"operator-linebreak": "off",
"eol-last": "off",
"no-use-before-define": "off",
"arrow-parens": "off",
"no-param-reassign": "off",
"one-var": "off",
"no-return-assign": "off",
"prefer-const": "warn",
"eqeqeq": "warn",
"curly": "off",
"nonblock-statement-body-position": "off",
"implicit-arrow-linebreak": "off",
"no-plusplus": "off",
"no-var": "warn",
"vars-on-top": "warn",
"one-var-declaration-per-line": "off",
"arrow-body-style": "warn",
"no-confusing-arrow": "off",
"prefer-destructuring": "warn",
"no-restricted-globals": "off",
"no-else-return": "warn",
"guard-for-in": "off",
"comma-dangle": "off",
"no-extra-semi": "off",
"no-empty": "warn",
"global-require": "warn",
"object-curly-spacing": ["warn", "always"],
"prefer-promise-reject-errors": "warn",
"no-unused-expressions": "off",
"function-paren-newline": "off",
"no-await-in-loop": "warn",
"no-mixed-spaces-and-tabs": "off",
"class-methods-use-this": "off",
"object-curly-newline": "off",
"indent": ["off", "tab"],
"linebreak-style": "off",
"quotes": ["off", "single"],
"semi": ["warn", "never"],
"no-new": "off",
"no-underscore-dangle": "off",
"no-useless-return": "warn",
"space-before-function-paren": "off",
"max-len": "off",
"no-undef": "off",
"prefer-arrow-callback": "warn",
"prefer-template": "warn",
"spaced-comment": "warn",
"no-unreachable": "warn",
"prettier/prettier": "off",
"no-useless-escape": "warn",
"import/newline-after-import": "warn",
"object-shorthand": "warn",
"no-multiple-empty-lines": "off",
"padded-blocks": "warn",
"no-mixed-operators": "off",
"@typescript-eslint/member-delimiter-style": "off",
"no-void": "warn",
"no-restricted-syntax": "warn",
"no-continue": "warn",
"space-before-blocks": "off",
"comma-spacing": "warn",
"space-infix-ops": "warn",
"no-multi-assign": "off",
"no-inner-declarations": "warn",
"@typescript-eslint/no-use-before-define": "off",
"radix": "off",
"semi-style": "off",
"semi-spacing": "warn",
"block-spacing": "warn",
"brace-style": "off",
"keyword-spacing": "warn",
"no-loop-func": "warn",
"key-spacing": "warn",
"no-floating-decimal": "warn",
"require-jsdoc": "off",
"no-redeclare": "off",
"import/extensions": "off",
"max-classes-per-file": "warn",
"no-useless-constructor": "warn",
"no-empty-function": "warn",
"no-multi-spaces": "warn",
"wrap-iife": "off",
"import/no-cycle": "off",
"import/first": "off"
}
}