diff --git a/package.json b/package.json index 3f42ae9..d8703b3 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "eslint-plugin-jsdoc": "50.2.3", "eslint-plugin-n": "17.10.2", "eslint-plugin-unicorn": "55.0.0", - "execa": "9.3.1", + "nano-spawn": "0.1.0", "markdown-it-emoji": "3.0.0", "markdown-it-for-inline": "2.0.1", "markdownlint-cli2-formatter-codequality": "0.0.5", diff --git a/test/markdownlint-cli2-test-exec.js b/test/markdownlint-cli2-test-exec.js index 01520f2..95c1573 100644 --- a/test/markdownlint-cli2-test-exec.js +++ b/test/markdownlint-cli2-test-exec.js @@ -8,17 +8,23 @@ const testCases = require("./markdownlint-cli2-test-cases"); const invoke = (directory, args, noRequire, env, script) => async () => { await fs.access(directory); - const { execaNode } = await import("execa"); - return execaNode( - path.join(__dirname, "..", script || "markdownlint-cli2.js"), - args, + const { "default": spawn } = await import("nano-spawn"); + return spawn( + "node", + [ + path.join(__dirname, "..", script || "markdownlint-cli2.js"), + ...args + ], { "cwd": directory, - "env": env || {}, - "reject": false, - "stripFinalNewline": false + "env": env || {} } - ); + ). + then((subprocess) => ({ + ...subprocess, + "exitCode": 0 + })). + catch((error) => error); }; const absolute = (rootDir, file) => path.join(rootDir, file); diff --git a/test/snapshots/markdownlint-cli2-test-exec.js.md b/test/snapshots/markdownlint-cli2-test-exec.js.md index d5747bd..b3d5aa8 100644 --- a/test/snapshots/markdownlint-cli2-test-exec.js.md +++ b/test/snapshots/markdownlint-cli2-test-exec.js.md @@ -57,8 +57,7 @@ Generated by [AVA](https://avajs.dev). - On any platform, passing the parameter "--" causes all remaining parameters to be treated literally␊ ␊ The most compatible syntax for cross-platform support:␊ - $ markdownlint-cli2 "**/*.md" "#node_modules"␊ - `, + $ markdownlint-cli2 "**/*.md" "#node_modules"`, } ## no-arguments-config-arg (exec) @@ -114,8 +113,7 @@ Generated by [AVA](https://avajs.dev). - On any platform, passing the parameter "--" causes all remaining parameters to be treated literally␊ ␊ The most compatible syntax for cross-platform support:␊ - $ markdownlint-cli2 "**/*.md" "#node_modules"␊ - `, + $ markdownlint-cli2 "**/*.md" "#node_modules"`, } ## missing-argument-config-arg (exec) @@ -171,8 +169,7 @@ Generated by [AVA](https://avajs.dev). - On any platform, passing the parameter "--" causes all remaining parameters to be treated literally␊ ␊ The most compatible syntax for cross-platform support:␊ - $ markdownlint-cli2 "**/*.md" "#node_modules"␊ - `, + $ markdownlint-cli2 "**/*.md" "#node_modules"`, } ## one-argument-config-arg (exec) @@ -228,8 +225,7 @@ Generated by [AVA](https://avajs.dev). - On any platform, passing the parameter "--" causes all remaining parameters to be treated literally␊ ␊ The most compatible syntax for cross-platform support:␊ - $ markdownlint-cli2 "**/*.md" "#node_modules"␊ - `, + $ markdownlint-cli2 "**/*.md" "#node_modules"`, } ## no-files (exec) @@ -246,8 +242,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: nothing-matches␊ Linting: 0 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## no-files-exclamation (exec) @@ -264,8 +259,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: !␊ Linting: 0 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## no-files-octothorpe (exec) @@ -282,8 +276,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: !␊ Linting: 0 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## all-ok (exec) @@ -300,8 +293,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md **/*.markdown␊ Linting: 5 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## no-config (exec) @@ -332,13 +324,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **␊ Linting: 4 file(s)␊ - Summary: 19 error(s)␊ - `, + Summary: 19 error(s)`, } ## no-config-ignore (exec) @@ -355,13 +345,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ** !dir␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## no-config-unignore (exec) @@ -383,13 +371,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ** !dir dir/subdir␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## no-config-ignore-hash (exec) @@ -406,13 +392,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ** !dir␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## file-paths-as-args (exec) @@ -434,13 +418,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md ./dir/subdir/info.md␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## dot (exec) @@ -462,13 +444,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.{md,markdown}␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## dotfiles (exec) @@ -546,13 +526,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **␊ Linting: 14 file(s)␊ - Summary: 66 error(s)␊ - `, + Summary: 66 error(s)`, } ## dotfiles-exclude (exec) @@ -592,13 +570,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ** !.dir !**/.info.md␊ Linting: 6 file(s)␊ - Summary: 28 error(s)␊ - `, + Summary: 28 error(s)`, } ## globs (exec) @@ -620,13 +596,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md !dir/about.md **/*.markdown␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## globs-and-args (exec) @@ -652,13 +626,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.markdown **/*.md␊ Linting: 3 file(s)␊ - Summary: 14 error(s)␊ - `, + Summary: 14 error(s)`, } ## no-globs-and-args (exec) @@ -679,13 +651,11 @@ Generated by [AVA](https://avajs.dev). dir/subdir/info.markdown:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ dir/subdir/info.markdown:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ dir/subdir/info.markdown:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ - dir/subdir/info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - `, + dir/subdir/info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: dir/about.md dir/**/*.markdown␊ Linting: 2 file(s)␊ - Summary: 9 error(s)␊ - `, + Summary: 9 error(s)`, } ## no-globs-and-empty-args (exec) @@ -741,8 +711,7 @@ Generated by [AVA](https://avajs.dev). - On any platform, passing the parameter "--" causes all remaining parameters to be treated literally␊ ␊ The most compatible syntax for cross-platform support:␊ - $ markdownlint-cli2 "**/*.md" "#node_modules"␊ - `, + $ markdownlint-cli2 "**/*.md" "#node_modules"`, } ## globs-and-ignores (exec) @@ -764,13 +733,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md **/*.markdown !dir/about.md␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## markdownlint-json (exec) @@ -793,13 +760,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## markdownlint-json-extends (exec) @@ -822,13 +787,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## markdownlint-jsonc (exec) @@ -844,13 +807,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## markdownlint-yaml (exec) @@ -873,13 +834,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## markdownlint-yml (exec) @@ -895,13 +854,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## markdownlint-cjs (exec) @@ -924,13 +881,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## markdownlint-mjs (exec) @@ -953,13 +908,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## markdownlint-json-yaml (exec) @@ -975,13 +928,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## markdownlint-json-invalid (exec) @@ -994,8 +945,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-yaml-invalid (exec) @@ -1008,8 +958,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cjs-invalid (exec) @@ -1022,8 +971,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-mjs-invalid (exec) @@ -1036,8 +984,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-json-mismatch (exec) @@ -1054,8 +1001,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## markdownlint-yaml-mismatch (exec) @@ -1072,8 +1018,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## markdownlint-cli2-jsonc-mismatch (exec) @@ -1086,8 +1031,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-yaml-mismatch (exec) @@ -1100,8 +1044,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-json-mismatch-config (exec) @@ -1118,8 +1061,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## markdownlint-yaml-mismatch-config (exec) @@ -1136,8 +1078,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## markdownlint-cli2-jsonc-mismatch-config (exec) @@ -1150,8 +1091,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-yaml-mismatch-config (exec) @@ -1164,8 +1104,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-jsonc (exec) @@ -1187,13 +1126,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## markdownlint-cli2-jsonc-example (exec) @@ -1207,8 +1144,7 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stderr: `extended-ascii.md:1:9 extended-ascii Only extended ASCII characters are allowed [Blocked character: '✅']␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: '', } @@ -1222,8 +1158,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-yaml (exec) @@ -1245,13 +1180,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## markdownlint-cli2-yaml-example (exec) @@ -1265,8 +1198,7 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stderr: `extended-ascii.md:1:9 extended-ascii Only extended ASCII characters are allowed [Blocked character: '✅']␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: '', } @@ -1280,8 +1212,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-cjs (exec) @@ -1303,13 +1234,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## markdownlint-cli2-mjs (exec) @@ -1331,13 +1260,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## markdownlint-cli2-cjs-invalid (exec) @@ -1350,8 +1277,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-mjs-invalid (exec) @@ -1364,8 +1290,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## markdownlint-cli2-extends (exec) @@ -1385,13 +1310,11 @@ Generated by [AVA](https://avajs.dev). package/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ package/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ yaml/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ - yaml/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - `, + yaml/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 4 file(s)␊ - Summary: 8 error(s)␊ - `, + Summary: 8 error(s)`, } ## config-option-extends (exec) @@ -1408,8 +1331,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## config-overrides-options (exec) @@ -1424,13 +1346,11 @@ Generated by [AVA](https://avajs.dev). formatterSarif: '', stderr: `viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md␊ Linting: 1 file(s)␊ - Summary: 3 error(s)␊ - `, + Summary: 3 error(s)`, } ## ignores (exec) @@ -1465,13 +1385,11 @@ Generated by [AVA](https://avajs.dev). dir4/subdir/info.markdown:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ dir4/subdir/info.markdown:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ dir4/subdir/info.markdown:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ - dir4/subdir/info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - `, + dir4/subdir/info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md **/*.markdown !*.md !dir*/*/*.md !dir7 !dir8/subdir␊ Linting: 13 file(s)␊ - Summary: 23 error(s)␊ - `, + Summary: 23 error(s)`, } ## sibling-directory (exec) @@ -1494,13 +1412,11 @@ Generated by [AVA](https://avajs.dev). ../markdownlint-json/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ ../markdownlint-json/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ ../markdownlint-json/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - ../markdownlint-json/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + ../markdownlint-json/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ../markdownlint-json/**/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## sibling-directory-options (exec) @@ -1522,13 +1438,11 @@ Generated by [AVA](https://avajs.dev). ../no-config/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ ../no-config/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ ../no-config/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - ../no-config/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + ../no-config/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ../no-config/**/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## noInlineConfig (exec) @@ -1551,13 +1465,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:16:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:16:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 4 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## showFound (exec) @@ -1576,8 +1488,7 @@ Generated by [AVA](https://avajs.dev). dir/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - `, + viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Found:␊ @@ -1586,8 +1497,7 @@ Generated by [AVA](https://avajs.dev). dir/subdir2/info.md␊ viewme.md␊ Linting: 4 file(s)␊ - Summary: 7 error(s)␊ - `, + Summary: 7 error(s)`, } ## frontMatter (exec) @@ -1604,8 +1514,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## gitignore (exec) @@ -1626,13 +1535,11 @@ Generated by [AVA](https://avajs.dev). dir/UPPER.MD:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ dir/UPPER.MD:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir/UPPER.MD:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - dir/UPPER.MD:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + dir/UPPER.MD:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.{md,MD}␊ Linting: 2 file(s)␊ - Summary: 9 error(s)␊ - `, + Summary: 9 error(s)`, } ## gitignore-root-only (exec) @@ -1658,13 +1565,11 @@ Generated by [AVA](https://avajs.dev). dir/UPPER.MD:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ dir/UPPER.MD:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir/UPPER.MD:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - dir/UPPER.MD:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + dir/UPPER.MD:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.{md,MD}␊ Linting: 3 file(s)␊ - Summary: 14 error(s)␊ - `, + Summary: 14 error(s)`, } ## literal-files (exec) @@ -1696,13 +1601,11 @@ Generated by [AVA](https://avajs.dev). view(me).md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ view(me).md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ view(me).md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: :view(me).md :dir/view(me).md :dir(1)/viewme.md :dir(1)/(view)me.md␊ Linting: 4 file(s)␊ - Summary: 20 error(s)␊ - `, + Summary: 20 error(s)`, } ## literal-files-absolute (exec) @@ -1724,13 +1627,11 @@ Generated by [AVA](https://avajs.dev). sentinel/dir/view(me).md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ sentinel/dir/view(me).md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ sentinel/dir/view(me).md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - sentinel/dir/view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + sentinel/dir/view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: :[PATH]/dir(1)/(view)me.md sentinel/dir␊ Linting: 2 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## fix (exec) @@ -1750,13 +1651,11 @@ Generated by [AVA](https://avajs.dev). dir/subdir2/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ dir/subdir2/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ dir/subdir2/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 4 file(s)␊ - Summary: 8 error(s)␊ - `, + Summary: 8 error(s)`, } ## fix-scenarios (exec) @@ -1774,13 +1673,11 @@ Generated by [AVA](https://avajs.dev). no-fixable-issues.md:9 MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Emphasis as heading"]␊ some-fixable-issues.md:3:13 MD033/no-inline-html Inline HTML [Element: br]␊ some-fixable-issues.md:7 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "\`\`\`"]␊ - some-fixable-issues.md:13 MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Emphasis as heading"]␊ - `, + some-fixable-issues.md:13 MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Emphasis as heading"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 4 file(s)␊ - Summary: 6 error(s)␊ - `, + Summary: 6 error(s)`, } ## fix-default-true-arg (exec) @@ -1811,13 +1708,11 @@ Generated by [AVA](https://avajs.dev). dir3/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ dir3/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ dir3/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 7 file(s)␊ - Summary: 19 error(s)␊ - `, + Summary: 19 error(s)`, } ## fix-default-true-override-arg (exec) @@ -1834,13 +1729,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.jsonc-arg (exec) @@ -1857,13 +1750,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.jsonc-alternate-arg (exec) @@ -1880,13 +1771,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.jsonc-absolute-arg (exec) @@ -1903,13 +1792,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.yaml-arg (exec) @@ -1926,13 +1813,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.yaml-alternate-arg (exec) @@ -1949,13 +1834,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.yaml-absolute-arg (exec) @@ -1972,13 +1855,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.cjs-arg (exec) @@ -1995,13 +1876,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.cjs-alternate-arg (exec) @@ -2018,13 +1897,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.cjs-absolute-arg (exec) @@ -2041,13 +1918,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.mjs-arg (exec) @@ -2064,13 +1939,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.mjs-alternate-arg (exec) @@ -2087,13 +1960,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint-cli2.mjs-absolute-arg (exec) @@ -2110,13 +1981,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.jsonc-arg (exec) @@ -2133,13 +2002,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.jsonc-alternate-arg (exec) @@ -2156,13 +2023,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.jsonc-absolute-arg (exec) @@ -2179,13 +2044,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.json-arg (exec) @@ -2202,13 +2065,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.json-alternate-arg (exec) @@ -2225,13 +2086,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.json-absolute-arg (exec) @@ -2248,13 +2107,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yaml-arg (exec) @@ -2271,13 +2128,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yaml-alternate-arg (exec) @@ -2294,13 +2149,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yaml-absolute-arg (exec) @@ -2317,13 +2170,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yml-arg (exec) @@ -2340,13 +2191,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yml-alternate-arg (exec) @@ -2363,13 +2212,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.yml-absolute-arg (exec) @@ -2386,13 +2233,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.cjs-arg (exec) @@ -2409,13 +2254,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.cjs-alternate-arg (exec) @@ -2432,13 +2275,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.cjs-absolute-arg (exec) @@ -2455,13 +2296,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.mjs-arg (exec) @@ -2478,13 +2317,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.mjs-alternate-arg (exec) @@ -2501,13 +2338,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-.markdownlint.mjs-absolute-arg (exec) @@ -2524,13 +2359,11 @@ Generated by [AVA](https://avajs.dev). dir1/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ dir2/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## config-files-invalid.markdownlint-cli2.jsonc-invalid-arg (exec) @@ -2543,8 +2376,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint-cli2.cjs-invalid-arg (exec) @@ -2557,8 +2389,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint-cli2.mjs-invalid-arg (exec) @@ -2571,8 +2402,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint.json-invalid-arg (exec) @@ -2585,8 +2415,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint.yaml-invalid-arg (exec) @@ -2599,8 +2428,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint.cjs-invalid-arg (exec) @@ -2613,8 +2441,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-invalid.markdownlint.mjs-invalid-arg (exec) @@ -2627,8 +2454,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-files-.markdownlint-cli2.jsonc-redundant-arg (exec) @@ -2644,13 +2470,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## config-files-.markdownlint.json-redundant-arg (exec) @@ -2666,13 +2490,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## config-files-.markdownlint.cjs-redundant-arg (exec) @@ -2688,13 +2510,11 @@ Generated by [AVA](https://avajs.dev). stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.md␊ Linting: 1 file(s)␊ - Summary: 4 error(s)␊ - `, + Summary: 4 error(s)`, } ## config-file-unrecognized-arg (exec) @@ -2707,8 +2527,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## config-relative-commonjs-arg (exec) @@ -2727,13 +2546,11 @@ Generated by [AVA](https://avajs.dev). viewme.md 3 MD009/no-trailing-spaces␊ viewme.md 5 MD012/no-multiple-blanks␊ viewme.md 12 MD019/no-multiple-space-atx␊ - viewme.md 14 MD047/single-trailing-newline␊ - `, + viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md link.md␊ Linting: 2 file(s)␊ - Summary: 7 error(s)␊ - `, + Summary: 7 error(s)`, } ## config-relative-module-arg (exec) @@ -2752,13 +2569,11 @@ Generated by [AVA](https://avajs.dev). viewme.md 3 MD009/no-trailing-spaces␊ viewme.md 5 MD012/no-multiple-blanks␊ viewme.md 12 MD019/no-multiple-space-atx␊ - viewme.md 14 MD047/single-trailing-newline␊ - `, + viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md link.md␊ Linting: 2 file(s)␊ - Summary: 7 error(s)␊ - `, + Summary: 7 error(s)`, } ## config-with-fix-arg (exec) @@ -2775,8 +2590,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: viewme.md info.md␊ Linting: 2 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## package-json (exec) @@ -2798,13 +2612,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## package-json-fix (exec) @@ -2818,13 +2630,11 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stderr: `dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 2 error(s)␊ - `, + Summary: 2 error(s)`, } ## package-json-invalid (exec) @@ -2837,8 +2647,7 @@ Generated by [AVA](https://avajs.dev). formatterJson: '', formatterJunit: '', formatterSarif: '', - stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - `, + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', } ## package-json-nested (exec) @@ -2860,13 +2669,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 10 error(s)␊ - `, + Summary: 10 error(s)`, } ## customRules (exec) @@ -2922,13 +2729,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 9 file(s)␊ - Summary: 44 error(s)␊ - `, + Summary: 44 error(s)`, } ## customRules-pre-imported (exec) @@ -2946,13 +2751,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 6 error(s)␊ - `, + Summary: 6 error(s)`, } ## customRules-missing (exec) @@ -2966,8 +2769,7 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - Finding: .*␊ - `, + Finding: .*`, } ## customRules-invalid (exec) @@ -2982,8 +2784,7 @@ Generated by [AVA](https://avajs.dev). formatterSarif: '', stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: .*␊ - Linting: 1 file(s)␊ - `, + Linting: 1 file(s)`, } ## customRules-throws (exec) @@ -3001,13 +2802,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 6 error(s)␊ - `, + Summary: 6 error(s)`, } ## markdownItPlugins (exec) @@ -3031,13 +2830,11 @@ Generated by [AVA](https://avajs.dev). multiple/emoji.md:15 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ pre-imported/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ pre-imported/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ - single/emoji.md:15 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - `, + single/emoji.md:15 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 6 file(s)␊ - Summary: 12 error(s)␊ - `, + Summary: 12 error(s)`, } ## markdownItPlugins-missing (exec) @@ -3051,8 +2848,7 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ - Finding: .*␊ - `, + Finding: .*`, } ## outputFormatters (exec) @@ -3983,13 +3779,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 14 error(s)␊ - `, + Summary: 14 error(s)`, } ## outputFormatters-npm (exec) @@ -4934,8 +4728,7 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.mdMD012/no-multiple-blanks]8;; Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.mdMD025/single-title/single-h1]8;; Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.mdMD019/no-multiple-space-atx]8;; Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.mdMD047/single-trailing-newline]8;; Files should end with a single newline character␊ - `, + viewme.md:14:14 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.mdMD047/single-trailing-newline]8;; Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ @@ -4944,8 +4737,7 @@ Generated by [AVA](https://avajs.dev). 4 dir/about.md␊ 5 dir/subdir/info.md␊ 5 viewme.md␊ - 14 [Total]␊ - `, + 14 [Total]`, } ## outputFormatters-params (exec) @@ -5313,8 +5105,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## outputFormatters-params-absolute (exec) @@ -5682,8 +5473,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## outputFormatters-pre-imported (exec) @@ -5792,8 +5582,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## outputFormatters-clean (exec) @@ -5831,8 +5620,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 0 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## outputFormatters-file (exec) @@ -5849,13 +5637,11 @@ Generated by [AVA](https://avajs.dev). viewme.md 5 MD012/no-multiple-blanks␊ viewme.md 6 MD025/single-title/single-h1␊ viewme.md 12 MD019/no-multiple-space-atx␊ - viewme.md 14 MD047/single-trailing-newline␊ - `, + viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## outputFormatters-module (exec) @@ -5877,13 +5663,11 @@ Generated by [AVA](https://avajs.dev). mjs: viewme.md 5 MD012/no-multiple-blanks␊ mjs: viewme.md 6 MD025/single-title/single-h1␊ mjs: viewme.md 12 MD019/no-multiple-space-atx␊ - mjs: viewme.md 14 MD047/single-trailing-newline␊ - `, + mjs: viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 1 file(s)␊ - Summary: 5 error(s)␊ - `, + Summary: 5 error(s)`, } ## outputFormatters-missing (exec) @@ -5899,8 +5683,7 @@ Generated by [AVA](https://avajs.dev). stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: .*␊ Linting: 1 file(s)␊ - Summary: 0 error(s)␊ - `, + Summary: 0 error(s)`, } ## formatter-summarize (exec) @@ -6001,8 +5784,7 @@ Generated by [AVA](https://avajs.dev). MD047/single-trailing-newline␊ Count File␊ 1 viewme.md␊ - 1 [Total]␊ - `, + 1 [Total]`, } ## formatter-pretty (exec) @@ -6028,13 +5810,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.mdMD012/no-multiple-blanks]8;; Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.mdMD025/single-title/single-h1]8;; Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.mdMD019/no-multiple-space-atx]8;; Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.mdMD047/single-trailing-newline]8;; Files should end with a single newline character␊ - `, + viewme.md:14:14 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.mdMD047/single-trailing-newline]8;; Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 14 error(s)␊ - `, + Summary: 14 error(s)`, } ## formatter-pretty-appendLink (exec) @@ -6061,13 +5841,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 15 error(s)␊ - `, + Summary: 15 error(s)`, } ## nested-files (exec) @@ -6087,13 +5865,11 @@ Generated by [AVA](https://avajs.dev). markdownlint-json/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ markdownlint-json/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ markdownlint-json/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ - markdownlint-json/dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - `, + markdownlint-json/dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 2 file(s)␊ - Summary: 8 error(s)␊ - `, + Summary: 8 error(s)`, } ## nested-directories (exec) @@ -6120,13 +5896,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: ** !a a/b !a/b/c a/b/c/d␊ Linting: 3 file(s)␊ - Summary: 15 error(s)␊ - `, + Summary: 15 error(s)`, } ## nested-options-config (exec) @@ -6218,13 +5992,11 @@ Generated by [AVA](https://avajs.dev). options-config-overlap/info.md:1 first-line Rule that reports an error for the first line␊ options-config-overlap/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ options-config-overlap/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - options-config-overlap/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - `, + options-config-overlap/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 24 file(s)␊ - Summary: 80 error(s)␊ - `, + Summary: 80 error(s)`, } ## tilde-paths-commonjs (exec) @@ -6254,13 +6026,11 @@ Generated by [AVA](https://avajs.dev). cjs: viewme.md 5 MD012/no-multiple-blanks␊ cjs: viewme.md 6 MD025/single-title/single-h1␊ cjs: viewme.md 12 MD019/no-multiple-space-atx␊ - cjs: viewme.md 14 MD047/single-trailing-newline␊ - `, + cjs: viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.md␊ Linting: 3 file(s)␊ - Summary: 9 error(s)␊ - `, + Summary: 9 error(s)`, } ## tilde-paths-module (exec) @@ -6290,13 +6060,11 @@ Generated by [AVA](https://avajs.dev). cjs: viewme.md 5 MD012/no-multiple-blanks␊ cjs: viewme.md 6 MD025/single-title/single-h1␊ cjs: viewme.md 12 MD019/no-multiple-space-atx␊ - cjs: viewme.md 14 MD047/single-trailing-newline␊ - `, + cjs: viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: *.md␊ Linting: 3 file(s)␊ - Summary: 9 error(s)␊ - `, + Summary: 9 error(s)`, } ## no-arg (exec) @@ -6322,13 +6090,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 14 error(s)␊ - `, + Summary: 14 error(s)`, } ## config-first-arg (exec) @@ -6351,13 +6117,11 @@ Generated by [AVA](https://avajs.dev). dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## config-last-arg (exec) @@ -6380,13 +6144,11 @@ Generated by [AVA](https://avajs.dev). dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## config-last-used-arg (exec) @@ -6409,13 +6171,11 @@ Generated by [AVA](https://avajs.dev). dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ - viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 11 error(s)␊ - `, + Summary: 11 error(s)`, } ## fix-first-arg (exec) @@ -6430,13 +6190,11 @@ Generated by [AVA](https://avajs.dev). formatterSarif: '', stderr: `dir/about.md:6:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ dir/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 3 error(s)␊ - `, + Summary: 3 error(s)`, } ## fix-last-arg (exec) @@ -6451,13 +6209,11 @@ Generated by [AVA](https://avajs.dev). formatterSarif: '', stderr: `dir/about.md:6:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ dir/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 3 error(s)␊ - `, + Summary: 3 error(s)`, } ## fix-multiple-arg (exec) @@ -6472,13 +6228,11 @@ Generated by [AVA](https://avajs.dev). formatterSarif: '', stderr: `dir/about.md:6:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ dir/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ - `, + viewme.md:5 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 3 error(s)␊ - `, + Summary: 3 error(s)`, } ## fix-and-config-arg (exec) @@ -6492,13 +6246,11 @@ Generated by [AVA](https://avajs.dev). formatterJunit: '', formatterSarif: '', stderr: `dir/about.md:6:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ - dir/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ - `, + dir/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 3 file(s)␊ - Summary: 2 error(s)␊ - `, + Summary: 2 error(s)`, } ## modulePaths (exec) @@ -6527,13 +6279,11 @@ Generated by [AVA](https://avajs.dev). cjs: viewme.md 5 MD012/no-multiple-blanks␊ cjs: viewme.md 6 MD025/single-title/single-h1␊ cjs: viewme.md 12 MD019/no-multiple-space-atx␊ - cjs: viewme.md 14 MD047/single-trailing-newline␊ - `, + cjs: viewme.md 14 MD047/single-trailing-newline`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 5 file(s)␊ - Summary: 17 error(s)␊ - `, + Summary: 17 error(s)`, } ## modulePaths-non-root (exec) @@ -6564,13 +6314,11 @@ Generated by [AVA](https://avajs.dev). viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 6 file(s)␊ - Summary: 19 error(s)␊ - `, + Summary: 19 error(s)`, } ## jsonc-trailing-comma (exec) @@ -6590,11 +6338,9 @@ Generated by [AVA](https://avajs.dev). viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ - viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ - `, + viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character`, stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ Finding: **/*.md␊ Linting: 2 file(s)␊ - Summary: 8 error(s)␊ - `, + Summary: 8 error(s)`, } diff --git a/test/snapshots/markdownlint-cli2-test-exec.js.snap b/test/snapshots/markdownlint-cli2-test-exec.js.snap index 5219605..fbd7565 100644 Binary files a/test/snapshots/markdownlint-cli2-test-exec.js.snap and b/test/snapshots/markdownlint-cli2-test-exec.js.snap differ