diff --git a/js/.eslintrc.json b/js/.eslintrc.json new file mode 100644 index 000000000..3d7f1d578 --- /dev/null +++ b/js/.eslintrc.json @@ -0,0 +1,13 @@ +{ + "parserOptions": { + "ecmaVersion": 6, + "sourceType": "script" + }, + "rules": { + + }, + "env": { + "browser": true, + "node": true + } +} diff --git a/package.json b/package.json index 4b1a42c05..18ecc3e11 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "scripts": { "lint-apps": "eslint ./apps --ext .js", - "test": "node bin/sanitycheck.js && eslint ./apps --ext .js", + "test": "node bin/sanitycheck.js && eslint ./apps --ext .js && eslint ./js", "start": "npx http-server" }, "dependencies": {