]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Enable eslint no-console rule except for build directory (#29585)
authorPawel Wolak <pawelwolakk@gmail.com>
Fri, 25 Oct 2019 09:25:30 +0000 (11:25 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 25 Oct 2019 09:25:30 +0000 (12:25 +0300)
.eslintrc.json
build/.eslintrc.json

index 0f5a079194a8cb9634c0f0214bf92418db5554f3..2d4d6b16c160891bf8060e63e2584e20876a5f60 100644 (file)
@@ -28,6 +28,7 @@
       "always-multiline"
     ],
     "new-cap": "off",
+    "no-console": "error",
     "object-curly-spacing": [
       "error",
       "always"
index 8709a8b5b5e637ccbcc938847ff5bfea7ad4aaec..08169ca4cca8bf0b555a692d0384b4009e877c9d 100644 (file)
@@ -6,5 +6,8 @@
   "parserOptions": {
     "sourceType": "script"
   },
-  "extends": "../.eslintrc.json"
+  "extends": "../.eslintrc.json",
+  "rules": {
+    "no-console": "off"
+  }
 }