We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d7c23 commit 27897aeCopy full SHA for 27897ae
.eslintrc.json
@@ -6,13 +6,15 @@
6
},
7
"extends": "eslint:recommended",
8
"parserOptions": {
9
- "ecmaVersion": 2018
+ "ecmaVersion": 2020
10
+ },
11
+ "globals": {
12
+ "BigInt": true
13
14
"rules": {
15
"indent": [
16
"error",
- 2,
- { "SwitchCase": 1 }
17
+ 2
18
],
19
"linebreak-style": [
20
@@ -26,7 +28,6 @@
26
28
27
29
"always"
30
- "no-console": "off",
31
"no-loop-func": [
32
"error"
33
@@ -114,6 +115,9 @@
114
115
"new-parens": [
116
117
118
+ "no-lonely-if": [
119
+ "error"
120
+ ],
121
"no-trailing-spaces": [
122
123
@@ -209,7 +213,7 @@
209
213
210
214
"arrow-parens": [
211
215
212
- "as-needed"
216
+ "always"
217
218
"arrow-body-style": [
219
@@ -261,4 +265,4 @@
261
265
"never"
262
266
]
263
267
}
264
-}
268
+}
0 commit comments