mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Add test to verify exported names are stable, add missing test files after earlier refactor.
This commit is contained in:
parent
d4a638101a
commit
5cc88a7759
6 changed files with 137 additions and 9 deletions
113
test/snapshots/markdownlint-test-exports.mjs.md
Normal file
113
test/snapshots/markdownlint-test-exports.mjs.md
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
# Snapshot report for `test/markdownlint-test-exports.mjs`
|
||||
|
||||
The actual snapshot is saved in `markdownlint-test-exports.mjs.snap`.
|
||||
|
||||
Generated by [AVA](https://avajs.dev).
|
||||
|
||||
## exported names
|
||||
|
||||
> Snapshot 1
|
||||
|
||||
{
|
||||
markdownlint: [
|
||||
'applyFix',
|
||||
'applyFixes',
|
||||
'getVersion',
|
||||
'resolveModule',
|
||||
],
|
||||
'markdownlint/async': [
|
||||
'lint',
|
||||
'readConfig',
|
||||
],
|
||||
'markdownlint/helpers': [
|
||||
'addError',
|
||||
'addErrorContext',
|
||||
'addErrorDetailIf',
|
||||
'allPunctuation',
|
||||
'allPunctuationNoQuestion',
|
||||
'clearHtmlCommentText',
|
||||
'cloneIfArray',
|
||||
'cloneIfUrl',
|
||||
'default',
|
||||
'ellipsify',
|
||||
'endOfLineGemojiCodeRe',
|
||||
'endOfLineHtmlEntityRe',
|
||||
'escapeForRegExp',
|
||||
'expandTildePath',
|
||||
'frontMatterHasTitle',
|
||||
'frontMatterRe',
|
||||
'getHtmlAttributeRe',
|
||||
'getPreferredLineEnding',
|
||||
'getReferenceLinkImageData',
|
||||
'hasOverlap',
|
||||
'inlineCommentStartRe',
|
||||
'isBlankLine',
|
||||
'isEmptyString',
|
||||
'isNumber',
|
||||
'isObject',
|
||||
'isString',
|
||||
'isUrl',
|
||||
'newLineRe',
|
||||
'nextLinesRe',
|
||||
],
|
||||
'markdownlint/promise': [
|
||||
'extendConfig',
|
||||
'lint',
|
||||
'readConfig',
|
||||
],
|
||||
'markdownlint/style/all': [
|
||||
'comment',
|
||||
'default',
|
||||
],
|
||||
'markdownlint/style/cirosantilli': [
|
||||
'comment',
|
||||
'default',
|
||||
'MD003',
|
||||
'MD004',
|
||||
'MD007',
|
||||
'MD030',
|
||||
'MD033',
|
||||
'MD035',
|
||||
],
|
||||
'markdownlint/style/prettier': [
|
||||
'comment',
|
||||
'blanks-around-fences',
|
||||
'blanks-around-headings',
|
||||
'blanks-around-lists',
|
||||
'code-fence-style',
|
||||
'emphasis-style',
|
||||
'heading-start-left',
|
||||
'heading-style',
|
||||
'hr-style',
|
||||
'line-length',
|
||||
'list-indent',
|
||||
'list-marker-space',
|
||||
'no-blanks-blockquote',
|
||||
'no-hard-tabs',
|
||||
'no-missing-space-atx',
|
||||
'no-missing-space-closed-atx',
|
||||
'no-multiple-blanks',
|
||||
'no-multiple-space-atx',
|
||||
'no-multiple-space-blockquote',
|
||||
'no-multiple-space-closed-atx',
|
||||
'no-trailing-spaces',
|
||||
'ol-prefix',
|
||||
'strong-style',
|
||||
'ul-indent',
|
||||
],
|
||||
'markdownlint/style/relaxed': [
|
||||
'comment',
|
||||
'default',
|
||||
'whitespace',
|
||||
'line_length',
|
||||
'ul-indent',
|
||||
'no-inline-html',
|
||||
'no-bare-urls',
|
||||
'fenced-code-language',
|
||||
'first-line-h1',
|
||||
],
|
||||
'markdownlint/sync': [
|
||||
'lint',
|
||||
'readConfig',
|
||||
],
|
||||
}
|
||||
BIN
test/snapshots/markdownlint-test-exports.mjs.snap
Normal file
BIN
test/snapshots/markdownlint-test-exports.mjs.snap
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue