8000
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 5e9c3fa commit 6373d5eCopy full SHA for 6373d5e
.eslintrc.json
@@ -4,12 +4,12 @@
4
"es6": true,
5
"node": true
6
},
7
- "globals": {
8
- "memory": true
9
- },
10
"extends": "eslint:recommended",
11
"parserOptions": {
12
- "ecmaVersion": 2018
+ "ecmaVersion": 2020
+ },
+ "globals": {
+ "BigInt": true
13
14
"rules": {
15
"indent": [
@@ -28,7 +28,6 @@
28
"error",
29
"always"
30
],
31
- "no-console": "off",
32
"no-loop-func": [
33
"error"
34
@@ -116,6 +115,9 @@
116
115
"new-parens": [
117
118
+ "no-lonely-if": [
119
+ "error"
120
+ ],
121
"no-trailing-spaces": [
122
123
@@ -151,7 +153,7 @@
151
153
"space-before-function-paren": [
152
154
155
{
- "anonymous": "always",
156
+ "anonymous": "never",
157
"named": "never",
158
"asyncArrow": "always"
159
}
@@ -263,4 +265,4 @@
263
265
"never"
264
266
]
267
-}
268
+}
0 commit comments