Skip to content

Commit 2814f13

Browse files
committedNov 10, 2023
Update eslint config
1 parent 42e71a9 commit 2814f13

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

Diff for: ‎.eslintrc.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"extends": "eslint:recommended",
88
"parserOptions": {
9-
"ecmaVersion": 2020
9+
"ecmaVersion": "latest"
1010
},
1111
"globals": {
1212
"BigInt": true
@@ -263,6 +263,10 @@
263263
"template-curly-spacing": [
264264
"error",
265265
"never"
266+
],
267+
"consistent-return": [
268+
"error",
269+
{ "treatUndefinedAsUnspecified": true }
266270
]
267271
}
268272
}

0 commit comments

Comments
 (0)
Please sign in to comment.