mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Enable reportUnusedDisableDirectives for ESLint, address new warning.
This commit is contained in:
parent
a971361cf2
commit
aafd0830a2
2 changed files with 1 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"reportUnusedDisableDirectives": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
"array-bracket-spacing": ["error", "always"],
|
"array-bracket-spacing": ["error", "always"],
|
||||||
"array-element-newline": "off",
|
"array-element-newline": "off",
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ const schema = {
|
||||||
const tags = {};
|
const tags = {};
|
||||||
|
|
||||||
// Add rules
|
// Add rules
|
||||||
// eslint-disable-next-line complexity
|
|
||||||
rules.forEach(function forRule(rule) {
|
rules.forEach(function forRule(rule) {
|
||||||
rule.tags.forEach(function forTag(tag) {
|
rule.tags.forEach(function forTag(tag) {
|
||||||
const tagRules = tags[tag] || [];
|
const tagRules = tags[tag] || [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue