Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.json1
-rw-r--r--build/.eslintrc.json5
2 files changed, 5 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 0f5a079194..2d4d6b16c1 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -28,6 +28,7 @@
"always-multiline"
],
"new-cap": "off",
+ "no-console": "error",
"object-curly-spacing": [
"error",
"always"
diff --git a/build/.eslintrc.json b/build/.eslintrc.json
index 8709a8b5b5..08169ca4cc 100644
--- a/build/.eslintrc.json
+++ b/build/.eslintrc.json
@@ -6,5 +6,8 @@
"parserOptions": {
"sourceType": "script"
},
- "extends": "../.eslintrc.json"
+ "extends": "../.eslintrc.json",
+ "rules": {
+ "no-console": "off"
+ }
}