]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move docs .eslintrc in site/.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 15 Oct 2018 12:24:21 +0000 (15:24 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 15 Oct 2018 13:03:16 +0000 (16:03 +0300)
package.json
site/.eslintrc.json [moved from site/docs/4.1/assets/js/.eslintrc.json with 90% similarity]

index df44a2cecceee24f0650d69c1ae32d72ebd989c5..f220569114feba4161a26d7952a49aa1ba094145 100644 (file)
@@ -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",
similarity index 90%
rename from site/docs/4.1/assets/js/.eslintrc.json
rename to site/.eslintrc.json
index e24f3dd09ff46339691ef87b722026c29af0a21a..04ac49314708c5a8be47855aa48d2202be16c869 100644 (file)
@@ -7,7 +7,7 @@
     "ecmaVersion": 5,
     "sourceType": "script"
   },
-  "extends": "../../../../../.eslintrc.json",
+  "extends": "../.eslintrc.json",
   "rules": {
     // Best Practices
     "no-magic-numbers": "off",