File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
linters/markdownlint-cli2/test_data Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2+ // trunk-upgrade-validation:RELEASE
3+
4+ exports[`Testing linter markdownlint-cli2 test basic 1`] = `
5+ {
6+ "issues": [
7+ {
8+ "code": "error",
9+ "column": "1",
10+ "file": "test_data/basic.in.md",
11+ "issueClass": "ISSUE_CLASS_EXISTING",
12+ "issueUrl": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#error",
13+ "level": "LEVEL_HIGH",
14+ "line": "3",
15+ "linter": "markdownlint-cli2",
16+ "message": "MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "This file fails some rules"]",
17+ "targetType": "markdown",
18+ },
19+ ],
20+ "lintActions": [
21+ {
22+ "command": "lint",
23+ "fileGroupName": "markdown",
24+ "linter": "markdownlint-cli2",
25+ "paths": [
26+ "test_data/basic.in.md",
27+ ],
28+ "verb": "TRUNK_VERB_CHECK",
29+ },
30+ {
31+ "command": "lint",
32+ "fileGroupName": "markdown",
33+ "linter": "markdownlint-cli2",
34+ "paths": [
35+ "test_data/basic.in.md",
36+ ],
37+ "upstream": true,
38+ "verb": "TRUNK_VERB_CHECK",
39+ },
40+ ],
41+ "taskFailures": [],
42+ "unformattedFiles": [],
43+ }
44+ `;
You can’t perform that action at this time.
0 commit comments