mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-08 00:48:50 +01:00
Update MD013/line-length to include strict mode (fixes #237).
This commit is contained in:
parent
5ae5e448b0
commit
b39e5e309e
7 changed files with 78 additions and 16 deletions
8
test/long-lines-strict.json
Normal file
8
test/long-lines-strict.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD013": {
|
||||
"strict": true,
|
||||
"heading_line_length": 30,
|
||||
"code_block_line_length": 20
|
||||
}
|
||||
}
|
||||
31
test/long-lines-strict.md
Normal file
31
test/long-lines-strict.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Long Lines Strict
|
||||
|
||||
12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
This line is too long. text text text text text text text text text text text text
|
||||
|
||||
This line is way too long. text text text text text text text text text text text text
|
||||
|
||||
This line is barely too long. text text text text text text text text text text t
|
||||
|
||||
This line is just okay. text text text text text text text text text text text t
|
||||
|
||||
This line is not a problem. text text text text text text text text text text t
|
||||
|
||||
## This heading is way too long
|
||||
|
||||
## This heading is long but ok
|
||||
|
||||
## This heading is short + ok
|
||||
|
||||
```text
|
||||
This code is too long
|
||||
This code is a-okay.
|
||||
This code is short.
|
||||
```
|
||||
|
||||
{MD013:5}
|
||||
{MD013:7}
|
||||
{MD013:9}
|
||||
{MD013:15}
|
||||
{MD013:22}
|
||||
Loading…
Add table
Add a link
Reference in a new issue