This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
101 lines (101 loc) · 3.33 KB
/
.eslintrc
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
{
"env": {
"browser": true
},
"plugins": [
],
"extends": ["standard"],
"rules": {
"block-scoped-var": "error",
"brace-style": "off",
"camelcase": "error",
"comma-dangle": ["error", "always-multiline"],
"complexity": ["off", 5],
"consistent-this": ["error", "self"],
"curly": "error",
"dot-notation": ["error", { "allowKeywords": true }],
"eol-last": "off",
"eqeqeq": "error",
"guard-for-in": "off",
"indent": ["error", 4, { "MemberExpression": 1 }],
"jsx-quotes": ["error", "prefer-double"],
"max-depth": ["off", 4],
"max-len": ["off", 80, 4],
"max-params": ["off", 3],
"max-statements": ["off", 10],
"new-cap": "error",
"new-parens": "error",
"newline-per-chained-call": "error",
"no-alert": "error",
"no-array-constructor": "error",
"no-bitwise": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-console": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
"no-div-regex": "error",
"no-dupe-keys": "error",
"no-else-return": "error",
"no-empty-character-class": "error",
"no-empty": "error",
"no-eq-null": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extra-parens": "error",
"no-fallthrough": "error",
"no-floating-decimal": "error",
"no-func-assign": "off",
"no-implied-eval": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": "error",
"no-loop-func": "error",
"no-mixed-requires": "off",
"no-multi-str": "error",
"no-native-reassign": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-new": "error",
"no-obj-calls": "error",
"no-octal-escape": "error",
"no-octal": "error",
"no-plusplus": "off",
"no-proto": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-return-assign": "error",
"no-script-url": "error",
"no-self-compare": "error",
"no-shadow": "error",
"no-sync": "error",
"no-ternary": "off",
"no-undef-init": "error",
"no-undef": "error",
"no-underscore-dangle": "off",
"no-unreachable": "error",
"no-unused-expressions": "error",
"no-unused-vars": ["warn", { "vars": "all", "args": "all", "argsIgnorePattern": "req|res|next" }],
"no-use-before-define": "off",
"no-with": "error",
"one-var": ["warn", "always"],
"operator-linebreak": ["error", "before"],
"promise/always-return": "error",
"promise/catch-or-return": "error",
"promise/no-native": "off",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"quote-props": "off",
"quotes": ["error", "double"],
"radix": "off",
"semi": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"spaced-comment": "off",
"use-isnan": "error",
"valid-typeof": "off",
"wrap-iife": "error",
"wrap-regex": "error"
}
}