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

github.com/twbs/stylelint-config-twbs-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-07-11 15:46:23 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-07-11 15:46:23 +0300
commit38203d2223f61a8806eabee4224935fc067f66db (patch)
treebb1b22ae668bdb60a0856618a312d02f93194407
parentcdaac580e2ba517d445012e2a6897666bca9950f (diff)
ESLint: move "reportUnusedDisableDirectives" to config
-rw-r--r--.eslintrc.json1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 22b0547..5f5e7af 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -8,6 +8,7 @@
"ecmaVersion": 2019
},
"extends": "eslint:recommended",
+ "reportUnusedDisableDirectives": true,
"rules": {
"comma-dangle": [
"error",
diff --git a/package.json b/package.json
index 632b173..ee508dc 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"stylelint": "^14.9.1"
},
"scripts": {
- "lint": "eslint --ignore-path .gitignore --report-unused-disable-directives .",
+ "lint": "eslint --ignore-path .gitignore .",
"test": "npm run lint",
"test-ci": "stylelint \"(bootstrap|bootstrap-4)/scss/**/*.scss\" --config index.js --ignore-pattern \"**/vendor/\" --formatter verbose"
}