Commit c273576a by Richard Hansen Committed by Kewde

ESLint config: Permit ECMAScript 2017 syntax and globals

ECMAScript 2017 is supported by Node 10 and later.
parent 4b715ffb
module.exports = { module.exports = {
"extends": "eslint:recommended", "extends": "eslint:recommended",
"env": { "env": {
"es2017": true,
"node": true "node": true
}, },
"rules": { "rules": {
...@@ -9,4 +10,4 @@ module.exports = { ...@@ -9,4 +10,4 @@ module.exports = {
"semi": ["error", "always"], "semi": ["error", "always"],
"no-cond-assign": ["error", "always"] "no-cond-assign": ["error", "always"]
} }
} };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment