Skip to content

Commit 16903db

Browse files
committed
Update eslint rules.
1 parent 99eb578 commit 16903db

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"block-scoped-var": 2,
1010
"complexity": [
1111
1,
12-
4
12+
5
1313
],
1414
"consistent-return": 2,
1515
"curly": [
@@ -26,6 +26,9 @@
2626
"no-loop-func": 2,
2727
"no-multi-spaces": 2,
2828
"no-multi-str": 2,
29+
"no-new-func": 2,
30+
"no-new-wrappers": 2,
31+
"no-new": 2,
2932
"no-param-reassign": 2,
3033
"no-unused-expressions": 2,
3134
"no-useless-call": 2,
@@ -123,10 +126,12 @@
123126
1,
124127
"always"
125128
],
129+
"no-array-constructor": 2,
126130
"no-bitwise": 1,
127131
"no-lonely-if": 1,
128132
"no-multi-spaces": 1,
129133
"no-multiple-empty-lines": 1,
134+
"no-new-object": 2,
130135
"no-spaced-func": 1,
131136
"no-trailing-spaces": 1,
132137
"no-unneeded-ternary": 1,
@@ -145,7 +150,7 @@
145150
],
146151
"quote-props": [
147152
1,
148-
"consistent"
153+
"as-needed"
149154
],
150155
"quotes": [
151156
1,

0 commit comments

Comments
 (0)