Skip to content

Commit

Permalink
set ecmaVersion in eslintConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Jun 26, 2018
1 parent a5778d1 commit 6d9c8d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"uglify-es": "^3.3.9"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 8
},
"env": {
"browser": true,
"es6": true
Expand Down Expand Up @@ -136,7 +139,7 @@
"compilewasm": "sh ./tools/compileWASM.sh hyphenEngine",
"test": "tap test/*.js",
"testsuite": "open http://127.0.0.1/~mnater/Hyphenopoly/testsuite/ && open http://127.0.0.1/~mnater/Hyphenopoly/min/testsuite/",
"lint": "eslint --parser-options=ecmaVersion:8 Hyphenopoly_Loader.js Hyphenopoly.js hyphenopoly.module.js test/*.js",
"lint": "eslint Hyphenopoly_Loader.js Hyphenopoly.js hyphenopoly.module.js test/*.js",
"prepare": "npm run minify",
"minify": "sh ./tools/minify.sh"
},
Expand Down

0 comments on commit 6d9c8d6

Please sign in to comment.