-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcjs-test.ts.snap
More file actions
78 lines (54 loc) · 2.15 KB
/
Copy pathcjs-test.ts.snap
File metadata and controls
78 lines (54 loc) · 2.15 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`generate (cjs) basic generates the documentation 1`] = `
"# eslint-plugin-test
<!-- begin auto-generated rules list -->
| Name | Description |
| :----------------------------- | :------------ |
| [no-foo](docs/rules/no-foo.md) | disallow foo. |
<!-- end auto-generated rules list -->
"
`;
exports[`generate (cjs) basic generates the documentation 2`] = `
"# Disallow foo (\`no-foo\`)
<!-- end auto-generated rule header -->
"
`;
exports[`generate (cjs) config that extends another config generates the documentation 1`] = `
"# eslint-plugin-test
## Rules
<!-- begin auto-generated rules list -->
💼 Configurations enabled in.\\
✅ Set in the \`recommended\` configuration.
| Name | Description | 💼 |
| :----------------------------- | :--------------------- | :- |
| [no-bar](docs/rules/no-bar.md) | Description of no-bar. | ✅ |
| [no-baz](docs/rules/no-baz.md) | Description of no-baz. | ✅ |
| [no-biz](docs/rules/no-biz.md) | Description of no-biz. | ✅ |
| [no-foo](docs/rules/no-foo.md) | Description of no-foo. | ✅ |
<!-- end auto-generated rules list -->
"
`;
exports[`generate (cjs) config that extends another config generates the documentation 2`] = `
"# Description of no-foo (\`test/no-foo\`)
💼 This rule is enabled in the ✅ \`recommended\` config.
<!-- end auto-generated rule header -->
"
`;
exports[`generate (cjs) config that extends another config generates the documentation 3`] = `
"# Description of no-bar (\`test/no-bar\`)
💼 This rule is enabled in the ✅ \`recommended\` config.
<!-- end auto-generated rule header -->
"
`;
exports[`generate (cjs) config that extends another config generates the documentation 4`] = `
"# Description of no-baz (\`test/no-baz\`)
💼 This rule is enabled in the ✅ \`recommended\` config.
<!-- end auto-generated rule header -->
"
`;
exports[`generate (cjs) config that extends another config generates the documentation 5`] = `
"# Description of no-biz (\`test/no-biz\`)
💼 This rule is enabled in the ✅ \`recommended\` config.
<!-- end auto-generated rule header -->
"
`;