mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-20 20:14:07 +01:00
Configure all rules that allow style=consistent (or similar) to require an explicit style for consistency across the project.
This commit is contained in:
parent
bb1c4d4ee6
commit
2e63bf7dd8
33 changed files with 149 additions and 117 deletions
|
|
@ -1,10 +1,36 @@
|
|||
{
|
||||
"code-block-style": {
|
||||
"style": "fenced"
|
||||
},
|
||||
"code-fence-style": {
|
||||
"style": "backtick"
|
||||
},
|
||||
"emphasis-style": {
|
||||
"style": "asterisk"
|
||||
},
|
||||
"fenced-code-language": {
|
||||
"allowed_languages": [
|
||||
"javascript",
|
||||
"json",
|
||||
"markdown"
|
||||
],
|
||||
"language_only": true
|
||||
},
|
||||
"heading-style": {
|
||||
"style": "atx"
|
||||
},
|
||||
"hr-style": {
|
||||
"style": "---"
|
||||
},
|
||||
"line-length": {
|
||||
"strict": true
|
||||
},
|
||||
"no-duplicate-heading": {
|
||||
"siblings_only": true
|
||||
},
|
||||
"ol-prefix": {
|
||||
"style": "ordered"
|
||||
},
|
||||
"proper-names": {
|
||||
"code_blocks": false,
|
||||
"names": [
|
||||
|
|
@ -16,5 +42,11 @@
|
|||
"markdownlint",
|
||||
"Node.js"
|
||||
]
|
||||
},
|
||||
"strong-style": {
|
||||
"style": "asterisk"
|
||||
},
|
||||
"ul-style": {
|
||||
"style": "dash"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue