-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathissues.mjs
More file actions
35 lines (33 loc) · 782 Bytes
/
issues.mjs
File metadata and controls
35 lines (33 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* @type {import('../../types').LintIssue}
*/
export const infoIssue = {
level: 'info',
location: {
path: 'doc/api/test.md',
position: { start: { line: 1, column: 1 }, end: { line: 1, column: 2 } },
},
message: 'This is a INFO issue',
};
/**
* @type {import('../../types').LintIssue}
*/
export const warnIssue = {
level: 'warn',
location: {
path: 'doc/api/test.md',
position: { start: { line: 1, column: 1 }, end: { line: 1, column: 2 } },
},
message: 'This is a WARN issue',
};
/**
* @type {import('../../types').LintIssue}
*/
export const errorIssue = {
level: 'error',
location: {
path: 'doc/api/test.md',
position: { start: { line: 1, column: 1 }, end: { line: 1, column: 2 } },
},
message: 'This is a ERROR issue',
};