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--build/.eslintrc.json3
-rw-r--r--js/tests/unit/.eslintrc.json4
-rw-r--r--site/.eslintrc.json1
3 files changed, 5 insertions, 3 deletions
diff --git a/build/.eslintrc.json b/build/.eslintrc.json
index 08169ca4cc..679bd26f7b 100644
--- a/build/.eslintrc.json
+++ b/build/.eslintrc.json
@@ -8,6 +8,7 @@
},
"extends": "../.eslintrc.json",
"rules": {
- "no-console": "off"
+ "no-console": "off",
+ "strict": "error"
}
}
diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json
index a8c1a6ae34..e7f8d5d2a9 100644
--- a/js/tests/unit/.eslintrc.json
+++ b/js/tests/unit/.eslintrc.json
@@ -5,7 +5,9 @@
],
"overrides": [
{
- "files": ["**/*.spec.js"],
+ "files": [
+ "**/*.spec.js"
+ ],
"env": {
"jasmine": true
}
diff --git a/site/.eslintrc.json b/site/.eslintrc.json
index 690606863e..f7b6b4a7f3 100644
--- a/site/.eslintrc.json
+++ b/site/.eslintrc.json
@@ -33,7 +33,6 @@
"never"
],
"strict": "error",
- "unicorn/consistent-function-scoping": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/prefer-dataset": "off",