Skip to content

Commit aef0f5e

Browse files
build(eslint): update .eslintrc to allow ES6 syntax
1 parent ac69a8f commit aef0f5e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.eslintrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"env": {
3-
"node": true,
43
"browser": true,
4+
"commonjs": true,
55
"mocha": true,
6-
"commonjs": true
6+
"node": true
77
},
88
"extends": "eslint:recommended",
9+
"parserOptions": {
10+
"ecmaVersion": 6
11+
},
912
"plugins": ["prettier"],
1013
"rules": {
1114
"prettier/prettier": "error"

0 commit comments

Comments
 (0)