Skip to content

Commit 9b9447c

Browse files
committed
Update eslint config
1 parent 1a19545 commit 9b9447c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.eslintrc.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
},
77
"extends": "eslint:recommended",
88
"parserOptions": {
9-
"ecmaVersion": 2018
9+
"ecmaVersion": 2020
10+
},
11+
"globals": {
12+
"BigInt": true
1013
},
1114
"rules": {
1215
"indent": [
@@ -25,7 +28,6 @@
2528
"error",
2629
"always"
2730
],
28-
"no-console": "off",
2931
"no-loop-func": [
3032
"error"
3133
],
@@ -211,7 +213,7 @@
211213
],
212214
"arrow-parens": [
213215
"error",
214-
"as-needed"
216+
"always"
215217
],
216218
"arrow-body-style": [
217219
"error",

0 commit comments

Comments
 (0)