mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-08 00:48:50 +01:00
feat: implement autofix for md029
Add support for auto-fixing MD029 violations. Close #949
This commit is contained in:
parent
3532e3110a
commit
cec6c7e95d
12 changed files with 1018 additions and 177 deletions
|
|
@ -1046,6 +1046,8 @@ Parameters:
|
|||
- `style`: List style (`string`, default `one_or_ordered`, values `one` /
|
||||
`one_or_ordered` / `ordered` / `zero`)
|
||||
|
||||
Fixable: Some violations can be fixed by tooling
|
||||
|
||||
This rule is triggered for ordered lists that do not either start with '1.' or
|
||||
do not have a prefix that increases in numerical order (depending on the
|
||||
configured style). The less-common pattern of using '0.' as a first prefix or
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ Parameters:
|
|||
- `style`: List style (`string`, default `one_or_ordered`, values `one` /
|
||||
`one_or_ordered` / `ordered` / `zero`)
|
||||
|
||||
Fixable: Some violations can be fixed by tooling
|
||||
|
||||
This rule is triggered for ordered lists that do not either start with '1.' or
|
||||
do not have a prefix that increases in numerical order (depending on the
|
||||
configured style). The less-common pattern of using '0.' as a first prefix or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue