-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use require to load CJS plugins
- Loading branch information
Showing
5 changed files
with
514 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`generate (cjs) CJS (non-ESM) generates the documentation 1`] = ` | ||
"<!-- begin auto-generated rules list --> | ||
| Name | Description | | ||
| :----------------------------- | :------------ | | ||
| [no-foo](docs/rules/no-foo.md) | disallow foo. | | ||
<!-- end auto-generated rules list -->" | ||
`; | ||
|
||
exports[`generate (cjs) CJS (non-ESM) generates the documentation 2`] = ` | ||
"# Disallow foo (\`test/no-foo\`) | ||
<!-- end auto-generated rule header --> | ||
" | ||
`; | ||
|
||
exports[`generate (cjs) config that extends another config generates the documentation 1`] = ` | ||
"## 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 --> | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.