mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-24 01:40:13 +01:00
wip
This commit is contained in:
parent
0117a71138
commit
29fd76ff8e
12 changed files with 48 additions and 174 deletions
|
|
@ -12,9 +12,7 @@ Generated by [AVA](https://avajs.dev).
|
|||
markdownlint: [
|
||||
'applyFix',
|
||||
'applyFixes',
|
||||
'formatLintError',
|
||||
'getVersion',
|
||||
'parseLintErrorString',
|
||||
'resolveModule',
|
||||
],
|
||||
'markdownlint/async': [
|
||||
|
|
@ -39,6 +37,7 @@ Generated by [AVA](https://avajs.dev).
|
|||
'endOfLineHtmlEntityRe',
|
||||
'escapeForRegExp',
|
||||
'expandTildePath',
|
||||
'formatLintResults',
|
||||
'frontMatterHasTitle',
|
||||
'frontMatterRe',
|
||||
'getHtmlAttributeRe',
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,87 +0,0 @@
|
|||
# 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',
|
||||
},
|
||||
]
|
||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue