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,9 +6,9 @@ Aliases: `single-h1`, `single-title`
Parameters:
* `front_matter_title`: RegExp for matching title in front matter (`string`,
- `front_matter_title`: RegExp for matching title in front matter (`string`,
default `^\s*title\s*[:=]`)
* `level`: Heading level (`integer`, default `1`)
- `level`: Heading level (`integer`, default `1`)
This rule is triggered when a top-level heading is in use (the first line of
the file is an h1 heading), and more than one h1 heading is in use in the