1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports[`Testing linter remark-lint test basic 1`] = `
3
+ exports[`Testing linter remark-lint test CUSTOM 1`] = `
4
4
Object {
5
5
"issues": Array [
6
6
Object {
7
7
"bucket": "remark-lint",
8
- "code": "no-tabs ",
9
- "column": "5 ",
8
+ "code": "list-item-indent ",
9
+ "column": "4 ",
10
10
"file": "test_data/basic.in.md",
11
+ "issueClass": "ISSUE_CLASS_EXISTING",
11
12
"level": "LEVEL_HIGH",
12
- "line": "13 ",
13
+ "line": "1 ",
13
14
"linter": "remark-lint",
14
- "message": "Use spaces instead of tabs",
15
- "targetType": "markdown",
16
- },
17
- Object {
18
- "bucket": "remark-lint",
19
- "code": "no-tabs",
20
- "column": "6",
21
- "file": "test_data/basic.in.md",
22
- "level": "LEVEL_HIGH",
23
- "line": "17",
24
- "linter": "remark-lint",
25
- "message": "Use spaces instead of tabs",
15
+ "message": "Incorrect list-item indent: add 1 space",
26
16
"targetType": "markdown",
27
17
},
18
+ ],
19
+ "lintActions": Array [
28
20
Object {
29
- "bucket": "remark-lint",
30
- "code": "no-tabs",
31
- "column": "5",
32
- "file": "test_data/basic.in.md",
33
- "level": "LEVEL_HIGH",
34
- "line": "18",
21
+ "command": "fmt",
22
+ "fileGroupName": "markdown",
35
23
"linter": "remark-lint",
36
- "message": "Use spaces instead of tabs",
37
- "targetType": "markdown",
24
+ "paths": Array [
25
+ "test_data/basic.in.md",
26
+ ],
27
+ "verb": "TRUNK_VERB_FMT",
38
28
},
39
- ],
40
- "lintActions": Array [
41
29
Object {
42
- "command": "check ",
30
+ "command": "lint ",
43
31
"fileGroupName": "markdown",
44
32
"linter": "remark-lint",
45
33
"paths": Array [
@@ -48,16 +36,27 @@ Object {
48
36
"verb": "TRUNK_VERB_CHECK",
49
37
},
50
38
Object {
51
- "command": "format ",
39
+ "command": "lint ",
52
40
"fileGroupName": "markdown",
53
41
"linter": "remark-lint",
54
42
"paths": Array [
55
43
"test_data/basic.in.md",
56
44
],
57
- "verb": "TRUNK_VERB_FMT",
45
+ "upstream": true,
46
+ "verb": "TRUNK_VERB_CHECK",
58
47
},
59
48
],
60
49
"taskFailures": Array [],
61
- "unformattedFiles": Array [],
50
+ "unformattedFiles": Array [
51
+ Object {
52
+ "column": "1",
53
+ "file": "test_data/basic.in.md",
54
+ "issueClass": "ISSUE_CLASS_UNFORMATTED",
55
+ "level": "LEVEL_HIGH",
56
+ "line": "1",
57
+ "linter": "remark-lint",
58
+ "message": "Incorrect formatting, autoformat by running 'trunk fmt'",
59
+ },
60
+ ],
62
61
}
63
62
`;
0 commit comments