diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-07-11 15:46:23 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-07-11 15:46:23 +0300 |
commit | 38203d2223f61a8806eabee4224935fc067f66db (patch) | |
tree | bb1b22ae668bdb60a0856618a312d02f93194407 | |
parent | cdaac580e2ba517d445012e2a6897666bca9950f (diff) |
ESLint: move "reportUnusedDisableDirectives" to config
-rw-r--r-- | .eslintrc.json | 1 | ||||
-rw-r--r-- | package.json | 2 |
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" } |