Skip to content

Commit c273576

Browse files
rhansenkewde
authored andcommitted
ESLint config: Permit ECMAScript 2017 syntax and globals
ECMAScript 2017 is supported by Node 10 and later.
1 parent 4b715ff commit c273576

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
"extends": "eslint:recommended",
33
"env": {
4+
"es2017": true,
45
"node": true
56
},
67
"rules": {
@@ -9,4 +10,4 @@ module.exports = {
910
"semi": ["error", "always"],
1011
"no-cond-assign": ["error", "always"]
1112
}
12-
}
13+
};

0 commit comments

Comments
 (0)