Configure all rules that allow style=consistent (or similar) to require an explicit style for consistency across the project.

This commit is contained in:
David Anson 2022-11-13 20:53:10 -08:00
parent bb1c4d4ee6
commit 2e63bf7dd8
33 changed files with 149 additions and 117 deletions

View file

@ -6,7 +6,7 @@ Aliases: `link-image-reference-definitions`
Parameters:
* `ignored_definitions`: Ignored definitions (`string[]`, default `["//"]`)
- `ignored_definitions`: Ignored definitions (`string[]`, default `["//"]`)
Fixable: Most violations can be fixed by tooling
@ -21,7 +21,7 @@ unnecessary:
1. If a label is not referenced by any link or image in a document, that
definition is unused and can be deleted.
1. If a label is defined multiple times in a document, the first definition is
2. If a label is defined multiple times in a document, the first definition is
used and the others can be deleted.
This rule considers a reference definition to be used if any link or image
@ -33,6 +33,6 @@ be ignored by setting the `ignored_definitions` parameter. The default value of
this parameter ignores the following convention for adding non-HTML comments to
Markdown:
```md
```markdown
[//]: # (This behaves like a comment)
```