mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-09 11:52:34 +01:00
wip
This commit is contained in:
parent
5db10cc29f
commit
5d61d39d55
6 changed files with 112 additions and 3 deletions
87
test/snapshots/markdownlint-test.mjs.md
Normal file
87
test/snapshots/markdownlint-test.mjs.md
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
# Snapshot report for `test/markdownlint-test.mjs`
|
||||
|
||||
The actual snapshot is saved in `markdownlint-test.mjs.snap`.
|
||||
|
||||
Generated by [AVA](https://avajs.dev).
|
||||
|
||||
## problemMatcher
|
||||
|
||||
> Snapshot 1
|
||||
|
||||
[
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Trailing spaces [Expected: 0 or 2; Actual: 1]',
|
||||
line: '2',
|
||||
rule: 'MD009/no-trailing-spaces',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Multiple spaces after hash on atx style heading [Context: "# Heading"]',
|
||||
line: '1',
|
||||
rule: 'MD019/no-multiple-space-atx',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "# Heading"]',
|
||||
line: '1',
|
||||
rule: 'MD022/blanks-around-headings',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Spaces inside code span elements [Context: "`code `"]',
|
||||
line: '2',
|
||||
rule: 'MD038/no-space-in-code',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Files should end with a single newline character',
|
||||
line: '2',
|
||||
rule: 'MD047/single-trailing-newline',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
]
|
||||
|
||||
> Snapshot 2
|
||||
|
||||
[
|
||||
{
|
||||
column: '3',
|
||||
description: 'Multiple spaces after hash on atx style heading [Context: "# Heading"]',
|
||||
line: '1',
|
||||
rule: 'MD019/no-multiple-space-atx',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: undefined,
|
||||
description: 'Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "# Heading"]',
|
||||
line: '1',
|
||||
rule: 'MD022/blanks-around-headings',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: '18',
|
||||
description: 'Trailing spaces [Expected: 0 or 2; Actual: 1]',
|
||||
line: '2',
|
||||
rule: 'MD009/no-trailing-spaces',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: '11',
|
||||
description: 'Spaces inside code span elements [Context: "`code `"]',
|
||||
line: '2',
|
||||
rule: 'MD038/no-space-in-code',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
{
|
||||
column: '18',
|
||||
description: 'Files should end with a single newline character',
|
||||
line: '2',
|
||||
rule: 'MD047/single-trailing-newline',
|
||||
source: 'relative/path/file name.md',
|
||||
},
|
||||
]
|
||||
BIN
test/snapshots/markdownlint-test.mjs.snap
Normal file
BIN
test/snapshots/markdownlint-test.mjs.snap
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue