mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02: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": {
|
||||
"array-bracket-spacing": ["error", "always"],
|
||||
"array-element-newline": "off",
|
||||
|
|
|
@ -38,7 +38,6 @@ const schema = {
|
|||
const tags = {};
|
||||
|
||||
// Add rules
|
||||
// eslint-disable-next-line complexity
|
||||
rules.forEach(function forRule(rule) {
|
||||
rule.tags.forEach(function forTag(tag) {
|
||||
const tagRules = tags[tag] || [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue