diff --git a/package.json b/package.json index df44a2cecc..f220569114 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "js-main": "npm-run-all js-lint js-compile js-minify", "js-docs": "npm-run-all js-lint-docs js-minify-docs", "js-lint": "eslint js/src js/tests build/", - "js-lint-docs": "eslint site/docs/4.1/assets/js/ site/sw.js", + "js-lint-docs": "eslint site/", "js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy", "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", diff --git a/site/docs/4.1/assets/js/.eslintrc.json b/site/.eslintrc.json similarity index 90% rename from site/docs/4.1/assets/js/.eslintrc.json rename to site/.eslintrc.json index e24f3dd09f..04ac493147 100644 --- a/site/docs/4.1/assets/js/.eslintrc.json +++ b/site/.eslintrc.json @@ -7,7 +7,7 @@ "ecmaVersion": 5, "sourceType": "script" }, - "extends": "../../../../../.eslintrc.json", + "extends": "../.eslintrc.json", "rules": { // Best Practices "no-magic-numbers": "off",