We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a64ed2c commit 9f9dd6cCopy full SHA for 9f9dd6c
.eslintrc.json
@@ -6,7 +6,7 @@
6
},
7
"extends": "eslint:recommended",
8
"parserOptions": {
9
- "ecmaVersion": 2018
+ "ecmaVersion": 2020
10
11
"rules": {
12
"indent": [
@@ -113,6 +113,9 @@
113
"new-parens": [
114
"error"
115
],
116
+ "no-lonely-if": [
117
+ "error"
118
+ ],
119
"no-trailing-spaces": [
120
121
@@ -148,7 +151,7 @@
148
151
"space-before-function-paren": [
149
152
"error",
150
153
{
- "anonymous": "always",
154
+ "anonymous": "never",
155
"named": "never",
156
"asyncArrow": "always"
157
}
@@ -260,4 +263,4 @@
260
263
"never"
261
264
]
262
265
-}
266
+}
0 commit comments