aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-10-15 15:24:21 +0300
committerXhmikosR <[email protected]>2018-10-15 16:03:16 +0300
commit29f849879ba05ff2ba54416cb77f94597df83d87 (patch)
tree172d7a8e31f36a1b9214c7be6fd0ceddc0ee5585
parent18ff70c2487838c12d71fbe1d1b23ff7cdb96a71 (diff)
downloadbootstrap-29f849879ba05ff2ba54416cb77f94597df83d87.tar.xz
bootstrap-29f849879ba05ff2ba54416cb77f94597df83d87.zip
Move docs .eslintrc in site/.
-rw-r--r--package.json2
-rw-r--r--site/.eslintrc.json (renamed from site/docs/4.1/assets/js/.eslintrc.json)2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index df44a2cec..f22056911 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
index e24f3dd09..04ac49314 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",