From fe18768c2336e06c2c8153ff96aea210c0ac4ba0 Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 21 Nov 2024 20:34:17 -0800 Subject: [PATCH] wip --- .gitattributes | 2 +- .github/workflows/sarif.yml | 2 +- append-to-array.js => append-to-array.mjs | 0 eslint.config.mjs | 1 + ...pers.js => export-markdownlint-helpers.mjs | 0 ...markdownlint.js => export-markdownlint.mjs | 0 markdownlint-cli2.js => markdownlint-cli2.mjs | 12 +- merge-options.js => merge-options.mjs | 0 package.json | 40 +- parsers/{jsonc-parse.js => jsonc-parse.mjs} | 0 parsers/{parsers.js => parsers.mjs} | 4 +- parsers/{yaml-parse.js => yaml-parse.mjs} | 0 ...-and-require.js => resolve-and-require.mjs | 0 ...array-test.js => append-to-array-test.mjs} | 2 +- test/{fs-mock-test.js => fs-mock-test.mjs} | 2 +- test/{fs-mock.js => fs-mock.mjs} | 0 ...fs-virtual-test.js => fs-virtual-test.mjs} | 4 +- ...es.js => markdownlint-cli2-test-cases.mjs} | 0 ...xec.js => markdownlint-cli2-test-exec.mjs} | 6 +- ....js => markdownlint-cli2-test-exports.mjs} | 8 +- ...st-fs.js => markdownlint-cli2-test-fs.mjs} | 6 +- ...ain.js => markdownlint-cli2-test-main.mjs} | 4 +- ...li2-test.js => markdownlint-cli2-test.mjs} | 10 +- ...options-test.js => merge-options-test.mjs} | 2 +- ...e-test.js => resolve-and-require-test.mjs} | 2 +- .../markdownlint-cli2-test-exec.mjs.md | 6414 +++++++++++++++++ .../markdownlint-cli2-test-exec.mjs.snap | Bin 0 -> 18517 bytes .../markdownlint-cli2-test-fs.mjs.md | 2607 +++++++ .../markdownlint-cli2-test-fs.mjs.snap | Bin 0 -> 6282 bytes .../markdownlint-cli2-test-main.mjs.md | 5836 +++++++++++++++ .../markdownlint-cli2-test-main.mjs.snap | Bin 0 -> 14374 bytes webworker/{fs-virtual.js => fs-virtual.mjs} | 0 webworker/index.cjs | 5 + webworker/index.js | 5 - .../{module-empty.js => module-empty.cjs} | 0 webworker/{os-stub.js => os-stub.cjs} | 0 .../{process-stub.js => process-stub.cjs} | 0 ...n-magic-stub.js => unicorn-magic-stub.cjs} | 0 .../{webpack.config.js => webpack.config.cjs} | 2 +- .../{webworker-test.js => webworker-test.cjs} | 0 40 files changed, 14917 insertions(+), 59 deletions(-) rename append-to-array.js => append-to-array.mjs (100%) rename export-markdownlint-helpers.js => export-markdownlint-helpers.mjs (100%) rename export-markdownlint.js => export-markdownlint.mjs (100%) rename markdownlint-cli2.js => markdownlint-cli2.mjs (99%) rename merge-options.js => merge-options.mjs (100%) rename parsers/{jsonc-parse.js => jsonc-parse.mjs} (100%) rename parsers/{parsers.js => parsers.mjs} (62%) rename parsers/{yaml-parse.js => yaml-parse.mjs} (100%) rename resolve-and-require.js => resolve-and-require.mjs (100%) rename test/{append-to-array-test.js => append-to-array-test.mjs} (97%) rename test/{fs-mock-test.js => fs-mock-test.mjs} (98%) rename test/{fs-mock.js => fs-mock.mjs} (100%) rename test/{fs-virtual-test.js => fs-virtual-test.mjs} (96%) rename test/{markdownlint-cli2-test-cases.js => markdownlint-cli2-test-cases.mjs} (100%) rename test/{markdownlint-cli2-test-exec.js => markdownlint-cli2-test-exec.mjs} (96%) rename test/{markdownlint-cli2-test-exports.js => markdownlint-cli2-test-exports.mjs} (82%) rename test/{markdownlint-cli2-test-fs.js => markdownlint-cli2-test-fs.mjs} (91%) rename test/{markdownlint-cli2-test-main.js => markdownlint-cli2-test-main.mjs} (93%) rename test/{markdownlint-cli2-test.js => markdownlint-cli2-test.mjs} (98%) rename test/{merge-options-test.js => merge-options-test.mjs} (98%) rename test/{resolve-and-require-test.js => resolve-and-require-test.mjs} (97%) create mode 100644 test/snapshots/markdownlint-cli2-test-exec.mjs.md create mode 100644 test/snapshots/markdownlint-cli2-test-exec.mjs.snap create mode 100644 test/snapshots/markdownlint-cli2-test-fs.mjs.md create mode 100644 test/snapshots/markdownlint-cli2-test-fs.mjs.snap create mode 100644 test/snapshots/markdownlint-cli2-test-main.mjs.md create mode 100644 test/snapshots/markdownlint-cli2-test-main.mjs.snap rename webworker/{fs-virtual.js => fs-virtual.mjs} (100%) create mode 100644 webworker/index.cjs delete mode 100644 webworker/index.js rename webworker/{module-empty.js => module-empty.cjs} (100%) rename webworker/{os-stub.js => os-stub.cjs} (100%) rename webworker/{process-stub.js => process-stub.cjs} (100%) rename webworker/{unicorn-magic-stub.js => unicorn-magic-stub.cjs} (100%) rename webworker/{webpack.config.js => webpack.config.cjs} (97%) rename webworker/{webworker-test.js => webworker-test.cjs} (100%) diff --git a/.gitattributes b/.gitattributes index e86c06b0..9c172f19 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -markdownlint-cli2.js eol=lf +markdownlint-cli2.mjs eol=lf diff --git a/.github/workflows/sarif.yml b/.github/workflows/sarif.yml index 2f23e04a..e0ba2c15 100644 --- a/.github/workflows/sarif.yml +++ b/.github/workflows/sarif.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: npm install --no-package-lock - - run: node markdownlint-cli2.js --config .github/sarif.markdownlint-cli2.jsonc '**/README.md' '#node_modules' + - run: node markdownlint-cli2.mjs --config .github/sarif.markdownlint-cli2.jsonc '**/README.md' '#node_modules' continue-on-error: true - uses: github/codeql-action/upload-sarif@v3 with: diff --git a/append-to-array.js b/append-to-array.mjs similarity index 100% rename from append-to-array.js rename to append-to-array.mjs diff --git a/eslint.config.mjs b/eslint.config.mjs index 1389b9e5..1bc83008 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -66,6 +66,7 @@ export default [ { "files": [ "**/*-formatter-*.js", + "webworker/*.cjs", "webworker/*.js" ], "ignores": [ diff --git a/export-markdownlint-helpers.js b/export-markdownlint-helpers.mjs similarity index 100% rename from export-markdownlint-helpers.js rename to export-markdownlint-helpers.mjs diff --git a/export-markdownlint.js b/export-markdownlint.mjs similarity index 100% rename from export-markdownlint.js rename to export-markdownlint.mjs diff --git a/markdownlint-cli2.js b/markdownlint-cli2.mjs similarity index 99% rename from markdownlint-cli2.js rename to markdownlint-cli2.mjs index a4b7ba77..0804adf2 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.mjs @@ -25,9 +25,9 @@ const { "readConfig": markdownlintReadConfig } = markdownlintPromises; import { expandTildePath } from "markdownlint/helpers"; -import appendToArray from "./append-to-array.js"; -import mergeOptions from "./merge-options.js"; -import resolveAndRequire from "./resolve-and-require.js"; +import appendToArray from "./append-to-array.mjs"; +import mergeOptions from "./merge-options.mjs"; +import resolveAndRequire from "./resolve-and-require.mjs"; // Variables const packageName = "markdownlint-cli2"; @@ -42,15 +42,15 @@ const utf8 = "utf8"; const noop = () => null; // Gets a JSONC parser -import jsoncParse from "./parsers/jsonc-parse.js"; +import jsoncParse from "./parsers/jsonc-parse.mjs"; const getJsoncParse = () => jsoncParse; // Gets a YAML parser -import yamlParse from "./parsers/yaml-parse.js"; +import yamlParse from "./parsers/yaml-parse.mjs"; const getYamlParse = () => yamlParse; // Gets an ordered array of parsers -import parsers from "./parsers/parsers.js"; +import parsers from "./parsers/parsers.mjs"; const getParsers = () => parsers; // Negates a glob diff --git a/merge-options.js b/merge-options.mjs similarity index 100% rename from merge-options.js rename to merge-options.mjs diff --git a/package.json b/package.json index a3347ba4..7bd73a92 100644 --- a/package.json +++ b/package.json @@ -8,17 +8,17 @@ }, "license": "MIT", "type": "module", - "main": "./markdownlint-cli2.js", + "main": "./markdownlint-cli2.mjs", "exports": { - ".": "./markdownlint-cli2.js", - "./markdownlint": "./export-markdownlint.js", - "./markdownlint/helpers": "./export-markdownlint-helpers.js", - "./parsers": "./parsers/parsers.js", - "./parsers/jsonc": "./parsers/jsonc-parse.js", - "./parsers/yaml": "./parsers/yaml-parse.js" + ".": "./markdownlint-cli2.mjs", + "./markdownlint": "./export-markdownlint.mjs", + "./markdownlint/helpers": "./export-markdownlint-helpers.mjs", + "./parsers": "./parsers/parsers.mjs", + "./parsers/jsonc": "./parsers/jsonc-parse.mjs", + "./parsers/yaml": "./parsers/yaml-parse.mjs" }, "bin": { - "markdownlint-cli2": "markdownlint-cli2.js" + "markdownlint-cli2": "markdownlint-cli2.mjs" }, "homepage": "https://github.com/DavidAnson/markdownlint-cli2", "repository": { @@ -39,7 +39,7 @@ "playwright-test": "playwright test --config ./webworker/playwright.config.mjs", "playwright-test-docker": "docker run --rm --volume $PWD:/home/workdir --workdir /home/workdir --ipc=host mcr.microsoft.com/playwright:v1.48.2 npm run playwright-test", "schema": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json ./schema --flat", - "test": "ava --timeout=1m test/append-to-array-test.js test/fs-mock-test.js test/fs-virtual-test.js test/markdownlint-cli2-test.js test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-exports.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js test/merge-options-test.js test/resolve-and-require-test.js", + "test": "ava --timeout=1m test/append-to-array-test.mjs test/fs-mock-test.mjs test/fs-virtual-test.mjs test/markdownlint-cli2-test.mjs test/markdownlint-cli2-test-exec.mjs test/markdownlint-cli2-test-exports.mjs test/markdownlint-cli2-test-fs.mjs test/markdownlint-cli2-test-main.mjs test/merge-options-test.mjs test/resolve-and-require-test.mjs", "test-cover": "c8 --100 npm test", "test-docker-hub-image": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker image rm davidanson/markdownlint-cli2:v$VERSION davidanson/markdownlint-cli2:latest || true && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2:v$VERSION \"*.md\" && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2:latest \"*.md\"", "test-docker-hub-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker image rm davidanson/markdownlint-cli2-rules:v$VERSION davidanson/markdownlint-cli2-rules:latest || true && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:v$VERSION \"*.md\" && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:latest \"*.md\"", @@ -47,26 +47,26 @@ "test-docker-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:v$VERSION \"*.md\"", "test-invoke-as-cli": "markdownlint-cli2 CHANGELOG.md", "test-watch": "git ls-files | entr npm run test", - "update-snapshots": "ava --timeout=1m --update-snapshots test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js", + "update-snapshots": "ava --timeout=1m --update-snapshots test/markdownlint-cli2-test-exec.mjs test/markdownlint-cli2-test-fs.mjs test/markdownlint-cli2-test-main.mjs", "webworker": "cd webworker && webpack --mode none", - "webworker-install": "npm install --no-package-lock --no-save path-browserify setimmediate stream-browserify util webpack-cli && cpy ./node_modules/setimmediate/setImmediate.js ./webworker --flat" + "webworker-install": "npm install --no-package-lock --no-save path-browserify setimmediate stream-browserify util webpack-cli && cpy ./node_modules/setimmediate/setImmediate.cjs ./webworker --flat" }, "engines": { "node": ">=18" }, "files": [ - "append-to-array.js", + "append-to-array.mjs", "CHANGELOG.md", - "export-markdownlint.js", - "export-markdownlint-helpers.js", + "export-markdownlint.mjs", + "export-markdownlint-helpers.mjs", "LICENSE", - "markdownlint-cli2.js", - "merge-options.js", - "parsers/parsers.js", - "parsers/jsonc-parse.js", - "parsers/yaml-parse.js", + "markdownlint-cli2.mjs", + "merge-options.mjs", + "parsers/parsers.mjs", + "parsers/jsonc-parse.mjs", + "parsers/yaml-parse.mjs", "README.md", - "resolve-and-require.js", + "resolve-and-require.mjs", "schema/markdownlint-cli2-config-schema.json", "schema/markdownlint-config-schema.json", "schema/ValidatingConfiguration.md" diff --git a/parsers/jsonc-parse.js b/parsers/jsonc-parse.mjs similarity index 100% rename from parsers/jsonc-parse.js rename to parsers/jsonc-parse.mjs diff --git a/parsers/parsers.js b/parsers/parsers.mjs similarity index 62% rename from parsers/parsers.js rename to parsers/parsers.mjs index 2fb66a32..8b89bb0c 100644 --- a/parsers/parsers.js +++ b/parsers/parsers.mjs @@ -1,7 +1,7 @@ // @ts-check -import jsoncParse from "./jsonc-parse.js"; -import yamlParse from "./yaml-parse.js"; +import jsoncParse from "./jsonc-parse.mjs"; +import yamlParse from "./yaml-parse.mjs"; /** * Array of parser objects ordered by priority. diff --git a/parsers/yaml-parse.js b/parsers/yaml-parse.mjs similarity index 100% rename from parsers/yaml-parse.js rename to parsers/yaml-parse.mjs diff --git a/resolve-and-require.js b/resolve-and-require.mjs similarity index 100% rename from resolve-and-require.js rename to resolve-and-require.mjs diff --git a/test/append-to-array-test.js b/test/append-to-array-test.mjs similarity index 97% rename from test/append-to-array-test.js rename to test/append-to-array-test.mjs index f2d5c1da..9540dbce 100644 --- a/test/append-to-array-test.js +++ b/test/append-to-array-test.mjs @@ -1,7 +1,7 @@ // @ts-check import test from "ava"; -import appendToArray, { sliceSize } from "../append-to-array.js"; +import appendToArray, { sliceSize } from "../append-to-array.mjs"; const makeArray = (minimum, maximum) => { const length = maximum - minimum + 1; diff --git a/test/fs-mock-test.js b/test/fs-mock-test.mjs similarity index 98% rename from test/fs-mock-test.js rename to test/fs-mock-test.mjs index 10d70a05..f8f5cde7 100644 --- a/test/fs-mock-test.js +++ b/test/fs-mock-test.mjs @@ -4,7 +4,7 @@ import fsNodePromises from "node:fs/promises"; import path from "node:path"; import { promisify } from "node:util"; import test from "ava"; -import FsMock from "./fs-mock.js"; +import FsMock from "./fs-mock.mjs"; const mockPath = "/mock"; const thisFile = path.basename(import.meta.filename); diff --git a/test/fs-mock.js b/test/fs-mock.mjs similarity index 100% rename from test/fs-mock.js rename to test/fs-mock.mjs diff --git a/test/fs-virtual-test.js b/test/fs-virtual-test.mjs similarity index 96% rename from test/fs-virtual-test.js rename to test/fs-virtual-test.mjs index 8eec5376..cf50407a 100644 --- a/test/fs-virtual-test.js +++ b/test/fs-virtual-test.mjs @@ -3,7 +3,7 @@ import path from "node:path"; import { promisify } from "node:util"; import test from "ava"; -import FsVirtual from "../webworker/fs-virtual.js"; +import FsVirtual from "../webworker/fs-virtual.mjs"; const mockPath = "/mock"; const thisFile = path.basename(import.meta.filename); @@ -11,7 +11,7 @@ const testFile = path.join(mockPath, thisFile); const missingFile = `${mockPath}/missing`; const virtualFiles = [ - [ "/mock/fs-virtual-test.js", "// content" ] + [ "/mock/fs-virtual-test.mjs", "// content" ] ]; test("fsVirtual.stat", async (t) => { diff --git a/test/markdownlint-cli2-test-cases.js b/test/markdownlint-cli2-test-cases.mjs similarity index 100% rename from test/markdownlint-cli2-test-cases.js rename to test/markdownlint-cli2-test-cases.mjs diff --git a/test/markdownlint-cli2-test-exec.js b/test/markdownlint-cli2-test-exec.mjs similarity index 96% rename from test/markdownlint-cli2-test-exec.js rename to test/markdownlint-cli2-test-exec.mjs index c1671ba3..78f54202 100644 --- a/test/markdownlint-cli2-test-exec.js +++ b/test/markdownlint-cli2-test-exec.mjs @@ -3,7 +3,7 @@ import fs from "node:fs/promises"; import path from "node:path"; import test from "ava"; -import testCases from "./markdownlint-cli2-test-cases.js"; +import testCases from "./markdownlint-cli2-test-cases.mjs"; const absolute = (rootDir, file) => path.join(rootDir, file); const repositoryPath = (name) => path.join(import.meta.dirname, "..", name); @@ -14,7 +14,7 @@ const invoke = (directory, args, noRequire, env, script) => async () => { return spawn( "node", [ - repositoryPath(script || "markdownlint-cli2.js"), + repositoryPath(script || "markdownlint-cli2.mjs"), ...args ], { @@ -45,7 +45,7 @@ const invokeStdin = async (args, stdin, cwd) => { return spawn( "node", [ - repositoryPath("markdownlint-cli2.js"), + repositoryPath("markdownlint-cli2.mjs"), ...args ], { diff --git a/test/markdownlint-cli2-test-exports.js b/test/markdownlint-cli2-test-exports.mjs similarity index 82% rename from test/markdownlint-cli2-test-exports.js rename to test/markdownlint-cli2-test-exports.mjs index 74b7bbda..4934515c 100644 --- a/test/markdownlint-cli2-test-exports.js +++ b/test/markdownlint-cli2-test-exports.mjs @@ -5,12 +5,12 @@ import importWithTypeJson from "./import-with-type-json.mjs"; const packageJson = await importWithTypeJson("../package.json"); const exportMappings = new Map([ - [ ".", "../markdownlint-cli2.js" ], + [ ".", "../markdownlint-cli2.mjs" ], [ "./markdownlint", "markdownlint" ], [ "./markdownlint/helpers", "markdownlint/helpers" ], - [ "./parsers", "../parsers/parsers.js" ], - [ "./parsers/jsonc", "../parsers/jsonc-parse.js" ], - [ "./parsers/yaml", "../parsers/yaml-parse.js" ] + [ "./parsers", "../parsers/parsers.mjs" ], + [ "./parsers/jsonc", "../parsers/jsonc-parse.mjs" ], + [ "./parsers/yaml", "../parsers/yaml-parse.mjs" ] ]); test("exportMappings", (t) => { diff --git a/test/markdownlint-cli2-test-fs.js b/test/markdownlint-cli2-test-fs.mjs similarity index 91% rename from test/markdownlint-cli2-test-fs.js rename to test/markdownlint-cli2-test-fs.mjs index 35bc42eb..8306a1c2 100644 --- a/test/markdownlint-cli2-test-fs.js +++ b/test/markdownlint-cli2-test-fs.mjs @@ -1,9 +1,9 @@ // @ts-check import path from "node:path"; -import { "main" as markdownlintCli2 } from "../markdownlint-cli2.js"; -import testCases from "./markdownlint-cli2-test-cases.js"; -import FsMock from "./fs-mock.js"; +import { "main" as markdownlintCli2 } from "../markdownlint-cli2.mjs"; +import testCases from "./markdownlint-cli2-test-cases.mjs"; +import FsMock from "./fs-mock.mjs"; const mockDirectory = "/mock"; const linesEndingWithNewLine = diff --git a/test/markdownlint-cli2-test-main.js b/test/markdownlint-cli2-test-main.mjs similarity index 93% rename from test/markdownlint-cli2-test-main.js rename to test/markdownlint-cli2-test-main.mjs index cbe93e84..067e3bec 100644 --- a/test/markdownlint-cli2-test-main.js +++ b/test/markdownlint-cli2-test-main.mjs @@ -1,8 +1,8 @@ // @ts-check import path from "node:path"; -import { "main" as markdownlintCli2 } from "../markdownlint-cli2.js"; -import testCases from "./markdownlint-cli2-test-cases.js"; +import { "main" as markdownlintCli2 } from "../markdownlint-cli2.mjs"; +import testCases from "./markdownlint-cli2-test-cases.mjs"; const linesEndingWithNewLine = (lines) => lines.map((line) => `${line}\n`).join(""); diff --git a/test/markdownlint-cli2-test.js b/test/markdownlint-cli2-test.mjs similarity index 98% rename from test/markdownlint-cli2-test.js rename to test/markdownlint-cli2-test.mjs index bb068e5c..b4f25548 100644 --- a/test/markdownlint-cli2-test.js +++ b/test/markdownlint-cli2-test.mjs @@ -8,11 +8,11 @@ import test from "ava"; import { globby } from "globby"; import importWithTypeJson from "./import-with-type-json.mjs"; const packageJson = await importWithTypeJson("../package.json"); -import { "main" as markdownlintCli2 } from "../markdownlint-cli2.js"; -import jsoncParse from "../parsers/jsonc-parse.js"; -import yamlParse from "../parsers/yaml-parse.js"; -import FsMock from "./fs-mock.js"; -import FsVirtual from "../webworker/fs-virtual.js"; +import { "main" as markdownlintCli2 } from "../markdownlint-cli2.mjs"; +import jsoncParse from "../parsers/jsonc-parse.mjs"; +import yamlParse from "../parsers/yaml-parse.mjs"; +import FsMock from "./fs-mock.mjs"; +import FsVirtual from "../webworker/fs-virtual.mjs"; import firstLine from "./customRules/rules/first-line.cjs"; const schemaIdVersionRe = /^.*v(?\d+\.\d+\.\d+).*$/u; diff --git a/test/merge-options-test.js b/test/merge-options-test.mjs similarity index 98% rename from test/merge-options-test.js rename to test/merge-options-test.mjs index 7ceabf17..ada5c695 100644 --- a/test/merge-options-test.js +++ b/test/merge-options-test.mjs @@ -1,7 +1,7 @@ // @ts-check import test from "ava"; -import mergeOptions from "../merge-options.js"; +import mergeOptions from "../merge-options.mjs"; test("null/null", (t) => { t.plan(1); diff --git a/test/resolve-and-require-test.js b/test/resolve-and-require-test.mjs similarity index 97% rename from test/resolve-and-require-test.js rename to test/resolve-and-require-test.mjs index 93f50190..cfeb23ef 100644 --- a/test/resolve-and-require-test.js +++ b/test/resolve-and-require-test.mjs @@ -2,7 +2,7 @@ import test from "ava"; import path from "node:path"; -import resolveAndRequire from "../resolve-and-require.js"; +import resolveAndRequire from "../resolve-and-require.mjs"; import { createRequire } from "node:module"; const require = createRequire(import.meta.url); diff --git a/test/snapshots/markdownlint-cli2-test-exec.mjs.md b/test/snapshots/markdownlint-cli2-test-exec.mjs.md new file mode 100644 index 00000000..a0eb78ec --- /dev/null +++ b/test/snapshots/markdownlint-cli2-test-exec.mjs.md @@ -0,0 +1,6414 @@ +# Snapshot report for `test/markdownlint-cli2-test-exec.mjs` + +The actual snapshot is saved in `markdownlint-cli2-test-exec.mjs.snap`. + +Generated by [AVA](https://avajs.dev). + +## no-arguments (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"`, + } + +## no-arguments-config-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"`, + } + +## missing-argument-config-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"`, + } + +## one-argument-config-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"`, + } + +## no-files (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: nothing-matches␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)`, + } + +## no-files-exclamation (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)`, + } + +## no-files-octothorpe (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)`, + } + +## all-ok (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown␊ + Linting: 5 file(s)␊ + Summary: 0 error(s)`, + } + +## no-config (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 4 file(s)␊ + Summary: 19 error(s)`, + } + +## no-config-ignore (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## no-config-unignore (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir dir/subdir␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)`, + } + +## no-config-ignore-hash (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## file-paths-as-args (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + 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)`, + } + +## dot (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + info.markdown:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + info.markdown:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + info.markdown:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.{md,markdown}␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)`, + } + +## dotfiles (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 14 file(s)␊ + Summary: 66 error(s)`, + } + +## dotfiles-exclude (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !.dir !**/.info.md␊ + Linting: 6 file(s)␊ + Summary: 28 error(s)`, + } + +## globs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md !dir/about.md **/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)`, + } + +## globs-and-args (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.markdown **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)`, + } + +## no-globs-and-args (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: dir/about.md dir/**/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 9 error(s)`, + } + +## no-globs-and-empty-args (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"`, + } + +## globs-and-ignores (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown !dir/about.md␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)`, + } + +## markdownlint-json (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## markdownlint-json-extends (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## markdownlint-jsonc (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## markdownlint-yaml (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## markdownlint-yml (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## markdownlint-cjs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## markdownlint-mjs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## markdownlint-json-yaml (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## markdownlint-json-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-yaml-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cjs-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-mjs-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-json-mismatch (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## markdownlint-yaml-mismatch (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## markdownlint-cli2-jsonc-mismatch (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-yaml-mismatch (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-json-mismatch-config (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## markdownlint-yaml-mismatch-config (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## markdownlint-cli2-jsonc-mismatch-config (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-yaml-mismatch-config (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-jsonc (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## markdownlint-cli2-jsonc-example (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]`, + stdout: '', + } + +## markdownlint-cli2-jsonc-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-yaml (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## markdownlint-cli2-yaml-example (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]`, + stdout: '', + } + +## markdownlint-cli2-yaml-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-cjs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## markdownlint-cli2-mjs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## markdownlint-cli2-cjs-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-mjs-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## markdownlint-cli2-extends (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + cjs/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + jsonc/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + jsonc/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 8 error(s)`, + } + +## config-option-extends (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## config-overrides-options (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 3 error(s)`, + } + +## ignores (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `alt1/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + alt1/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + alt1/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt1/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt1/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt1/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt1/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + alt2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir4/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]`, + 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)`, + } + +## sibling-directory (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../markdownlint-json/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../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/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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../markdownlint-json/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## sibling-directory-options (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../no-config/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../no-config/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + ../no-config/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + ../no-config/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + ../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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../no-config/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## noInlineConfig (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:7:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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: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)`, + } + +## showFound (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Found:␊ + dir/about.md␊ + dir/subdir/info.md␊ + dir/subdir2/info.md␊ + viewme.md␊ + Linting: 4 file(s)␊ + Summary: 7 error(s)`, + } + +## frontMatter (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 0 error(s)`, + } + +## gitignore (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 2 file(s)␊ + Summary: 9 error(s)`, + } + +## gitignore-root-only (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)`, + } + +## literal-files (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir(1)/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir/view(me).md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/view(me).md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir/view(me).md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir/view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + 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)`, + } + +## literal-files-absolute (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `sentinel/dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + sentinel/dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + sentinel/dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + sentinel/dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + sentinel/dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + sentinel/dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + 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)`, + } + +## fix (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 8 error(s)`, + } + +## fix-scenarios (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `no-fixable-issues.md:3:13 MD033/no-inline-html Inline HTML [Element: br]␊ + no-fixable-issues.md:5 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "\`\`\`"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 6 error(s)`, + } + +## fix-default-true-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/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"]␊ + dir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 7 file(s)␊ + Summary: 19 error(s)`, + } + +## fix-default-true-override-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.jsonc-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.jsonc-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.jsonc-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.yaml-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.yaml-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.yaml-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.cjs-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.cjs-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.cjs-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.mjs-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.mjs-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint-cli2.mjs-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.jsonc-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.jsonc-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.jsonc-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.json-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.json-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.json-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yaml-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yaml-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yaml-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yml-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yml-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.yml-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.cjs-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.cjs-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.cjs-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.mjs-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.mjs-alternate-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-.markdownlint.mjs-absolute-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)`, + } + +## config-files-invalid.markdownlint-cli2.jsonc-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint-cli2.cjs-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint-cli2.mjs-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint.json-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint.yaml-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint.cjs-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-invalid.markdownlint.mjs-invalid-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-files-.markdownlint-cli2.jsonc-redundant-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## config-files-.markdownlint.json-redundant-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## config-files-.markdownlint.cjs-redundant-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)`, + } + +## config-file-unrecognized-arg (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## config-relative-commonjs-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md link.md␊ + Linting: 2 file(s)␊ + Summary: 7 error(s)`, + } + +## config-relative-module-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md link.md␊ + Linting: 2 file(s)␊ + Summary: 7 error(s)`, + } + +## config-with-fix-arg (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md info.md␊ + Linting: 2 file(s)␊ + Summary: 0 error(s)`, + } + +## package-json (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## package-json-fix (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)`, + } + +## package-json-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: 'markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)', + } + +## package-json-nested (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)`, + } + +## customRules (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir/about.md:1 first-line Rule that reports an error for the first line␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/hr.md:1:6 extended-ascii Only extended ASCII characters are allowed [Blocked character: '✅']␊ + dir/subdir/hr.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir/subdir/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir/subdir/info.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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]␊ + dir/subdir3/info.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir/subdir3/info.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir3/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir3/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir2/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir2/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir3/hr.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir3/hr.md:1 first-line Rule that reports an error for the first line␊ + dir3/hr.md:2 second-line Rule that reports an error for the second line␊ + dir3/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir3/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir4/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + viewme.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + viewme.md:1 first-line Rule that reports an error for the first line␊ + viewme.md:3 any-blockquote Rule that reports an error for any blockquote [Blockquote spans 1 line(s).] [Context: "> Tagli"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 9 file(s)␊ + Summary: 44 error(s)`, + } + +## customRules-pre-imported (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3 any-blockquote Rule that reports an error for any blockquote [Blockquote spans 1 line(s).] [Context: "> Tagli"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 6 error(s)`, + } + +## customRules-missing (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*`, + } + +## customRules-invalid (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + Linting: 1 file(s)`, + } + +## customRules-throws (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:1 throws Rule that throws during execution [This rule threw an exception: Simulated bug]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 6 error(s)`, + } + +## markdownItPlugins (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `file/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + file/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + multiple/emoji.md:3:15 MD044/proper-names Proper names should have the correct capitalization [Expected: SMILE; Actual: smile]␊ + multiple/emoji.md:5:13 MD044/proper-names Proper names should have the correct capitalization [Expected: FROWNING; Actual: frowning]␊ + 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]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 12 error(s)`, + } + +## markdownItPlugins-missing (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*`, + } + +## outputFormatters (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8a07df476b805f34574121021e7b9bafb39f201c8aff448fb2f0dcd44a71b16c",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8db764109451f15469798953956669835f36446059a4b6c686918f6eb10c6f49",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD032/blanks-around-lists",␊ + "description": "MD032/blanks-around-lists: Lists should be surrounded by blank lines",␊ + "severity": "minor",␊ + "fingerprint": "6ddd22f64c0a48e6b536677a9283be74fb75ad61a988efc543c1cbe6b0b3a3bb",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD029/ol-prefix",␊ + "description": "MD029/ol-prefix: Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]",␊ + "severity": "minor",␊ + "fingerprint": "e072e957ba3f9e58988e049ed727269c61b5da8f768edd0608e5d54f48564531",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD022/blanks-around-headings",␊ + "description": "MD022/blanks-around-headings: Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below]",␊ + "severity": "minor",␊ + "fingerprint": "5161c78dcdb7c171057c40cdeb5d6c26f317475e1e8c549dd25c8d1ecd805b18",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD041/first-line-heading/first-line-h1",␊ + "description": "MD041/first-line-heading/first-line-h1: First line in a file should be a top-level heading",␊ + "severity": "minor",␊ + "fingerprint": "f6b546238b859746049d2548037a56ec760d1bb1631b15528ef74777976f0029",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "801b456e1aebf4ccfff95bf885b0716ca6167de5634950351d43b84e74e6593a",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "74fd34146155d3a0377743f7db5967724770c076198dc10d19657518a624b064",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "df47d6f9b7697c6afabe8ca956d32b96f083d63b5f98003e7ee07ac1139b3fa3",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 3,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 3,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD032",␊ + "blanks-around-lists"␊ + ],␊ + "ruleDescription": "Lists should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md",␊ + "errorDetail": null,␊ + "errorContext": "1. List",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD029",␊ + "ol-prefix"␊ + ],␊ + "ruleDescription": "Ordered list item prefix",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md",␊ + "errorDetail": "Expected: 2; Actual: 3; Style: 1/2/3",␊ + "errorContext": null,␊ + "errorRange": [␊ + 1,␊ + 3␊ + ],␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD022",␊ + "blanks-around-headings"␊ + ],␊ + "ruleDescription": "Headings should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md",␊ + "errorDetail": "Expected: 1; Actual: 0; Below",␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "lineNumber": 2,␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD041",␊ + "first-line-heading",␊ + "first-line-h1"␊ + ],␊ + "ruleDescription": "First line in a file should be a top-level heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md",␊ + "errorDetail": null,␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\` code1\`",␊ + "errorRange": [␊ + 6,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 7,␊ + "deleteCount": 6,␊ + "insertText": "code1"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\`code2 \`",␊ + "errorRange": [␊ + 20,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 21,␊ + "deleteCount": 6,␊ + "insertText": "code2"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD021",␊ + "name": "Md021NoMultipleSpaceClosedAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md"␊ + },␊ + {␊ + "id": "MD032",␊ + "name": "Md032BlanksAroundLists",␊ + "shortDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md"␊ + },␊ + {␊ + "id": "MD029",␊ + "name": "Md029OlPrefix",␊ + "shortDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "fullDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md"␊ + },␊ + {␊ + "id": "MD022",␊ + "name": "Md022BlanksAroundHeadings",␊ + "shortDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md"␊ + },␊ + {␊ + "id": "MD041",␊ + "name": "Md041FirstLineHeadingFirstLineH1",␊ + "shortDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "fullDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md"␊ + },␊ + {␊ + "id": "MD038",␊ + "name": "Md038NoSpaceInCode",␊ + "shortDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "fullDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 3,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD032",␊ + "message": {␊ + "text": "Lists should be surrounded by blank lines, Context: \\"1. List\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD029",␊ + "message": {␊ + "text": "Ordered list item prefix, Expected: 2; Actual: 3; Style: 1/2/3"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5,␊ + "startColumn": 1,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD022",␊ + "message": {␊ + "text": "Headings should be surrounded by blank lines, Expected: 1; Actual: 0; Below, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD041",␊ + "message": {␊ + "text": "First line in a file should be a top-level heading, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\` code1\`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 6,␊ + "endColumn": 14␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\`code2 \`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 20,␊ + "endColumn": 28␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + fileName="dir/about.md" lineNumber=1 columnNumber=3 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=1 columnNumber=10 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=4 ruleName=MD032/blanks-around-lists ruleDescription="Lists should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md errorContext="1. List" errorDetail=""␊ + fileName="dir/about.md" lineNumber=5 columnNumber=1 ruleName=MD029/ol-prefix ruleDescription="Ordered list item prefix" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md errorContext="" errorDetail="Expected: 2; Actual: 3; Style: 1/2/3"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD022/blanks-around-headings ruleDescription="Headings should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md errorContext="## Information" errorDetail="Expected: 1; Actual: 0; Below"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD041/first-line-heading/first-line-h1 ruleDescription="First line in a file should be a top-level heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md errorContext="## Information" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=6 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\` code1\`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=20 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\`code2 \`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=4 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=3 columnNumber=10 ruleName=MD009/no-trailing-spaces ruleDescription="Trailing spaces" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md errorContext="" errorDetail="Expected: 0 or 2; Actual: 1"␊ + fileName="viewme.md" lineNumber=5 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=6 ruleName=MD025/single-title/single-h1 ruleDescription="Multiple top-level headings in the same document" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md errorContext="Description" errorDetail=""␊ + fileName="viewme.md" lineNumber=12 columnNumber=4 ruleName=MD019/no-multiple-space-atx ruleDescription="Multiple spaces after hash on atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md errorContext="## Summary" errorDetail=""␊ + fileName="viewme.md" lineNumber=14 columnNumber=14 ruleName=MD047/single-trailing-newline ruleDescription="Files should end with a single newline character" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md errorContext="" errorDetail=""`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)`, + } + +## outputFormatters-npm (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8a07df476b805f34574121021e7b9bafb39f201c8aff448fb2f0dcd44a71b16c",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8db764109451f15469798953956669835f36446059a4b6c686918f6eb10c6f49",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD032/blanks-around-lists",␊ + "description": "MD032/blanks-around-lists: Lists should be surrounded by blank lines",␊ + "severity": "minor",␊ + "fingerprint": "6ddd22f64c0a48e6b536677a9283be74fb75ad61a988efc543c1cbe6b0b3a3bb",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD029/ol-prefix",␊ + "description": "MD029/ol-prefix: Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]",␊ + "severity": "minor",␊ + "fingerprint": "e072e957ba3f9e58988e049ed727269c61b5da8f768edd0608e5d54f48564531",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD022/blanks-around-headings",␊ + "description": "MD022/blanks-around-headings: Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below]",␊ + "severity": "minor",␊ + "fingerprint": "5161c78dcdb7c171057c40cdeb5d6c26f317475e1e8c549dd25c8d1ecd805b18",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD041/first-line-heading/first-line-h1",␊ + "description": "MD041/first-line-heading/first-line-h1: First line in a file should be a top-level heading",␊ + "severity": "minor",␊ + "fingerprint": "f6b546238b859746049d2548037a56ec760d1bb1631b15528ef74777976f0029",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "801b456e1aebf4ccfff95bf885b0716ca6167de5634950351d43b84e74e6593a",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "74fd34146155d3a0377743f7db5967724770c076198dc10d19657518a624b064",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "df47d6f9b7697c6afabe8ca956d32b96f083d63b5f98003e7ee07ac1139b3fa3",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 3,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 3,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD032",␊ + "blanks-around-lists"␊ + ],␊ + "ruleDescription": "Lists should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md",␊ + "errorDetail": null,␊ + "errorContext": "1. List",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD029",␊ + "ol-prefix"␊ + ],␊ + "ruleDescription": "Ordered list item prefix",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md",␊ + "errorDetail": "Expected: 2; Actual: 3; Style: 1/2/3",␊ + "errorContext": null,␊ + "errorRange": [␊ + 1,␊ + 3␊ + ],␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD022",␊ + "blanks-around-headings"␊ + ],␊ + "ruleDescription": "Headings should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md",␊ + "errorDetail": "Expected: 1; Actual: 0; Below",␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "lineNumber": 2,␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD041",␊ + "first-line-heading",␊ + "first-line-h1"␊ + ],␊ + "ruleDescription": "First line in a file should be a top-level heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md",␊ + "errorDetail": null,␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\` code1\`",␊ + "errorRange": [␊ + 6,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 7,␊ + "deleteCount": 6,␊ + "insertText": "code1"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\`code2 \`",␊ + "errorRange": [␊ + 20,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 21,␊ + "deleteCount": 6,␊ + "insertText": "code2"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD021",␊ + "name": "Md021NoMultipleSpaceClosedAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md"␊ + },␊ + {␊ + "id": "MD032",␊ + "name": "Md032BlanksAroundLists",␊ + "shortDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md"␊ + },␊ + {␊ + "id": "MD029",␊ + "name": "Md029OlPrefix",␊ + "shortDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "fullDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md"␊ + },␊ + {␊ + "id": "MD022",␊ + "name": "Md022BlanksAroundHeadings",␊ + "shortDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md"␊ + },␊ + {␊ + "id": "MD041",␊ + "name": "Md041FirstLineHeadingFirstLineH1",␊ + "shortDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "fullDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md"␊ + },␊ + {␊ + "id": "MD038",␊ + "name": "Md038NoSpaceInCode",␊ + "shortDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "fullDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 3,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD032",␊ + "message": {␊ + "text": "Lists should be surrounded by blank lines, Context: \\"1. List\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD029",␊ + "message": {␊ + "text": "Ordered list item prefix, Expected: 2; Actual: 3; Style: 1/2/3"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5,␊ + "startColumn": 1,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD022",␊ + "message": {␊ + "text": "Headings should be surrounded by blank lines, Expected: 1; Actual: 0; Below, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD041",␊ + "message": {␊ + "text": "First line in a file should be a top-level heading, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\` code1\`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 6,␊ + "endColumn": 14␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\`code2 \`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 20,␊ + "endColumn": 28␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + fileName="dir/about.md" lineNumber=1 columnNumber=3 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=1 columnNumber=10 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=4 ruleName=MD032/blanks-around-lists ruleDescription="Lists should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md errorContext="1. List" errorDetail=""␊ + fileName="dir/about.md" lineNumber=5 columnNumber=1 ruleName=MD029/ol-prefix ruleDescription="Ordered list item prefix" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md errorContext="" errorDetail="Expected: 2; Actual: 3; Style: 1/2/3"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD022/blanks-around-headings ruleDescription="Headings should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md errorContext="## Information" errorDetail="Expected: 1; Actual: 0; Below"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD041/first-line-heading/first-line-h1 ruleDescription="First line in a file should be a top-level heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md errorContext="## Information" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=6 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\` code1\`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=20 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\`code2 \`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=4 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=3 columnNumber=10 ruleName=MD009/no-trailing-spaces ruleDescription="Trailing spaces" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md errorContext="" errorDetail="Expected: 0 or 2; Actual: 1"␊ + fileName="viewme.md" lineNumber=5 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=6 ruleName=MD025/single-title/single-h1 ruleDescription="Multiple top-level headings in the same document" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md errorContext="Description" errorDetail=""␊ + fileName="viewme.md" lineNumber=12 columnNumber=4 ruleName=MD019/no-multiple-space-atx ruleDescription="Multiple spaces after hash on atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md errorContext="## Summary" errorDetail=""␊ + fileName="viewme.md" lineNumber=14 columnNumber=14 ruleName=MD047/single-trailing-newline ruleDescription="Files should end with a single newline character" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md errorContext="" errorDetail=""␊ + dir/about.md:1:3 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.mdMD021/no-multiple-space-closed-atx]8;; Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.mdMD021/no-multiple-space-closed-atx]8;; Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.mdMD032/blanks-around-lists]8;; Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.mdMD029/ol-prefix]8;; Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.mdMD022/blanks-around-headings]8;; Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.mdMD041/first-line-heading/first-line-h1]8;; First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir/info.md:2:6 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.mdMD038/no-space-in-code]8;; Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.mdMD038/no-space-in-code]8;; Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir/info.md:4 ]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:3:10 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.mdMD009/no-trailing-spaces]8;; Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + Count File␊ + 4 dir/about.md␊ + 5 dir/subdir/info.md␊ + 5 viewme.md␊ + 14 [Total]`, + } + +## outputFormatters-params (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: `##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=3;columnumber=10;code=MD009/no-trailing-spaces]Trailing spaces␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=5;code=MD012/no-multiple-blanks]Multiple consecutive blank lines␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=6;code=MD025/single-title/single-h1]Multiple top-level headings in the same document␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=12;columnumber=4;code=MD019/no-multiple-space-atx]Multiple spaces after hash on atx style heading␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=14;columnumber=14;code=MD047/single-trailing-newline]Files should end with a single newline character␊ + #Undefined=${undefined}#Column=10#Column=10##Column=10#␊ + #Undefined=${undefined}#Column=##No column number#No column number#␊ + #Undefined=${undefined}#Column=##No column number#No column number#␊ + #Undefined=${undefined}#Column=4#Column=4##Column=4#␊ + #Undefined=${undefined}#Column=14#Column=14##Column=14#`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## outputFormatters-params-absolute (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## outputFormatters-pre-imported (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## outputFormatters-clean (exec) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '[]', + formatterJson: '[]', + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": []␊ + }␊ + },␊ + "results": []␊ + }␊ + ]␊ + }`, + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)`, + } + +## outputFormatters-file (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md 3 MD009/no-trailing-spaces␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## outputFormatters-module (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + mjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)`, + } + +## outputFormatters-missing (exec) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)`, + } + +## formatter-summarize (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + Count File␊ + 4 dir/about.md␊ + 5 dir/subdir/info.md␊ + 5 viewme.md␊ + 14 [Total]␊ + Count Rule␊ + 1 MD009/no-trailing-spaces␊ + 2 MD012/no-multiple-blanks␊ + 1 MD019/no-multiple-space-atx␊ + 2 MD021/no-multiple-space-closed-atx␊ + 1 MD022/blanks-around-headings␊ + 1 MD025/single-title/single-h1␊ + 1 MD029/ol-prefix␊ + 1 MD032/blanks-around-lists␊ + 2 MD038/no-space-in-code␊ + 1 MD041/first-line-heading/first-line-h1␊ + 1 MD047/single-trailing-newline␊ + 14 [Total]␊ + dir/about.md␊ + Count Rule␊ + 2 MD021/no-multiple-space-closed-atx␊ + 1 MD029/ol-prefix␊ + 1 MD032/blanks-around-lists␊ + 4 [Total]␊ + dir/subdir/info.md␊ + Count Rule␊ + 1 MD012/no-multiple-blanks␊ + 1 MD022/blanks-around-headings␊ + 2 MD038/no-space-in-code␊ + 1 MD041/first-line-heading/first-line-h1␊ + 5 [Total]␊ + viewme.md␊ + Count Rule␊ + 1 MD009/no-trailing-spaces␊ + 1 MD012/no-multiple-blanks␊ + 1 MD019/no-multiple-space-atx␊ + 1 MD025/single-title/single-h1␊ + 1 MD047/single-trailing-newline␊ + 5 [Total]␊ + MD009/no-trailing-spaces␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD012/no-multiple-blanks␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 viewme.md␊ + 2 [Total]␊ + MD019/no-multiple-space-atx␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD021/no-multiple-space-closed-atx␊ + Count File␊ + 2 dir/about.md␊ + 2 [Total]␊ + MD022/blanks-around-headings␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 [Total]␊ + MD025/single-title/single-h1␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD029/ol-prefix␊ + Count File␊ + 1 dir/about.md␊ + 1 [Total]␊ + MD032/blanks-around-lists␊ + Count File␊ + 1 dir/about.md␊ + 1 [Total]␊ + MD038/no-space-in-code␊ + Count File␊ + 2 dir/subdir/info.md␊ + 2 [Total]␊ + MD041/first-line-heading/first-line-h1␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 [Total]␊ + MD047/single-trailing-newline␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]`, + } + +## formatter-pretty (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.mdMD021/no-multiple-space-closed-atx]8;; Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.mdMD021/no-multiple-space-closed-atx]8;; Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.mdMD032/blanks-around-lists]8;; Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.mdMD029/ol-prefix]8;; Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.mdMD022/blanks-around-headings]8;; Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:1 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.mdMD041/first-line-heading/first-line-h1]8;; First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir/info.md:2:6 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.mdMD038/no-space-in-code]8;; Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.mdMD038/no-space-in-code]8;; Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir/info.md:4 ]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:3:10 ]8;;https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.mdMD009/no-trailing-spaces]8;; Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)`, + } + +## formatter-pretty-appendLink (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md␊ + 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"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md␊ + dir/subdir/info.md:4 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:1:9 extended-ascii Only extended ASCII characters are allowed [Blocked character: '✅']␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 15 error(s)`, + } + +## formatter-template (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `${invalid}␊ + simple.md␊ + simple.mdsimple.mdsimple.md␊ + text{text}text␊ + text{text␊ + texttext}␊ + text${invalid}text␊ + textsimple.mdtext␊ + simple.md␊ + ${fileName}`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 1 error(s)`, + } + +## nested-files (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `markdownlint-cli2-jsonc/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)`, + } + +## nested-directories (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `a/b/c/d/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/c/d/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/c/d/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/c/d/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/c/d/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + a/b/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + 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)`, + } + +## nested-options-config (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `config-options-disjoint-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint-empty/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint-empty/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap-empty/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap/dir/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint-empty/dir/dir/dir/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-disjoint-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint-empty/dir/dir/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-disjoint-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/dir/dir/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-disjoint/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/dir/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-disjoint/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-disjoint/dir/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-disjoint/dir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + options-config-disjoint/dir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + options-config-disjoint/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-disjoint/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-disjoint/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + options-config-disjoint/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + options-config-disjoint/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap-empty/dir/dir/dir/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-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap-empty/dir/dir/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-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/dir/dir/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/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/dir/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/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-overlap/dir/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/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 24 file(s)␊ + Summary: 80 error(s)`, + } + +## tilde-paths-commonjs (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `hr.md 3 sample-rule-commonjs␊ + link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + cjs: hr.md 3 sample-rule-commonjs␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: viewme.md 3 any-blockquote␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 3 file(s)␊ + Summary: 9 error(s)`, + } + +## tilde-paths-module (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `hr.md 3 sample-rule-commonjs␊ + link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + cjs: hr.md 3 sample-rule-commonjs␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: viewme.md 3 any-blockquote␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 3 file(s)␊ + Summary: 9 error(s)`, + } + +## no-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)`, + } + +## config-first-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## config-last-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## config-last-used-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)`, + } + +## fix-first-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)`, + } + +## fix-last-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)`, + } + +## fix-multiple-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)`, + } + +## fix-and-config-arg (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)`, + } + +## modulePaths (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs: dir/about.md 1 MD021/no-multiple-space-closed-atx␊ + cjs: dir/about.md 1 MD021/no-multiple-space-closed-atx␊ + cjs: dir/about.md 4 MD032/blanks-around-lists␊ + cjs: dir/about.md 5 MD029/ol-prefix␊ + cjs: dir/hr.md 3 sample-rule-commonjs␊ + cjs: dir/link.md 3 MD039/no-space-in-links␊ + cjs: dir/link.md 3 MD039/no-space-in-links␊ + cjs: dir/subdir/info.md 1 MD022/blanks-around-headings␊ + cjs: dir/subdir/info.md 1 MD041/first-line-heading/first-line-h1␊ + cjs: dir/subdir/info.md 2 MD038/no-space-in-code␊ + cjs: dir/subdir/info.md 2 MD038/no-space-in-code␊ + cjs: dir/subdir/info.md 4 MD012/no-multiple-blanks␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 5 file(s)␊ + Summary: 17 error(s)`, + } + +## modulePaths-non-root (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir2/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir2/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 19 error(s)`, + } + +## jsonc-trailing-comma (exec) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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`, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)`, + } diff --git a/test/snapshots/markdownlint-cli2-test-exec.mjs.snap b/test/snapshots/markdownlint-cli2-test-exec.mjs.snap new file mode 100644 index 0000000000000000000000000000000000000000..3c13475f84445bd08d527a13fbd45f14ac661a22 GIT binary patch literal 18517 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 Vnc0!d+)%yg{|`~wTp!_u1ON Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## no-arguments-config-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## missing-argument-config-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## one-argument-config-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## no-files (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: nothing-matches␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-files-exclamation (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-files-octothorpe (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## all-ok (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown␊ + Linting: 5 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-config (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 4 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## no-config-ignore (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## no-config-unignore (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir dir/subdir␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## no-config-ignore-hash (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## file-paths-as-args (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## dot (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + info.markdown:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + info.markdown:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + info.markdown:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.{md,markdown}␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## dotfiles (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 14 file(s)␊ + Summary: 66 error(s)␊ + `, + } + +## dotfiles-exclude (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !.dir !**/.info.md␊ + Linting: 6 file(s)␊ + Summary: 28 error(s)␊ + `, + } + +## globs (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md !dir/about.md **/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## globs-and-args (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.markdown **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## no-globs-and-args (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: dir/about.md dir/**/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 9 error(s)␊ + `, + } + +## no-globs-and-empty-args (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## globs-and-ignores (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown !dir/about.md␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-json (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-json-extends (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-jsonc (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-yaml (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-yml (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-json-yaml (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-json-invalid (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-yaml-invalid (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-json-mismatch (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-yaml-mismatch (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-mismatch (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml-mismatch (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-json-mismatch-config (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-yaml-mismatch-config (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-mismatch-config (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml-mismatch-config (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-jsonc (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-invalid (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-yaml-invalid (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-option-extends (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## config-overrides-options (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 3 error(s)␊ + `, + } + +## ignores (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `alt1/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + alt1/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + alt1/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt1/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt1/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt1/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt1/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + alt2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir4/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + `, + 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)␊ + `, + } + +## sibling-directory (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../markdownlint-json/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../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/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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../markdownlint-json/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## sibling-directory-options (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../no-config/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../no-config/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + ../no-config/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + ../no-config/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + ../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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../no-config/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## noInlineConfig (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:7:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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: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)␊ + `, + } + +## showFound (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Found:␊ + dir/about.md␊ + dir/subdir/info.md␊ + dir/subdir2/info.md␊ + viewme.md␊ + Linting: 4 file(s)␊ + Summary: 7 error(s)␊ + `, + } + +## frontMatter (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## gitignore (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 4 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## gitignore-root-only (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 4 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## literal-files (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir(1)/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir/view(me).md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/view(me).md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir/view(me).md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir/view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## literal-files-absolute (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `sentinel/dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + sentinel/dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + sentinel/dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + sentinel/dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + sentinel/dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + sentinel/dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## fix (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 8 error(s)␊ + `, + } + +## fix-scenarios (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `no-fixable-issues.md:3:13 MD033/no-inline-html Inline HTML [Element: br]␊ + no-fixable-issues.md:5 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "\`\`\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 6 error(s)␊ + `, + } + +## fix-default-true-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/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"]␊ + dir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 7 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## fix-default-true-override-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.yaml-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.yaml-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.jsonc-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.jsonc-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.json-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.json-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yaml-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yaml-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yml-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yml-alternate-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-invalid.markdownlint-cli2.jsonc-invalid-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.json-invalid-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.yaml-invalid-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-redundant-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## config-files-.markdownlint.json-redundant-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## config-file-unrecognized-arg (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-with-fix-arg (fs) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md info.md␊ + Linting: 2 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## package-json (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## package-json-fix (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)␊ + `, + } + +## package-json-invalid (fs) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## package-json-nested (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## nested-files (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `markdownlint-cli2-jsonc/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)␊ + `, + } + +## nested-directories (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `a/b/c/d/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/c/d/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/c/d/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/c/d/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/c/d/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + a/b/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## markdownlint-cjs-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-mjs-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-cli2-cjs-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-cli2-mjs-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## customRules-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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]␊ + dir/subdir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir3/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir3/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 9 file(s)␊ + Summary: 24 error(s)␊ + `, + } + +## markdownItPlugins-no-require (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `file/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + file/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + multiple/emoji.md:3:15 MD044/proper-names Proper names should have the correct capitalization [Expected: SMILE; Actual: smile]␊ + multiple/emoji.md:5:13 MD044/proper-names Proper names should have the correct capitalization [Expected: FROWNING; Actual: frowning]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 12 error(s)␊ + `, + } + +## no-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## config-first-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## config-last-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## config-last-used-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## fix-first-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-last-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-multiple-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-and-config-arg (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)␊ + `, + } + +## jsonc-trailing-comma (fs) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)␊ + `, + } diff --git a/test/snapshots/markdownlint-cli2-test-fs.mjs.snap b/test/snapshots/markdownlint-cli2-test-fs.mjs.snap new file mode 100644 index 0000000000000000000000000000000000000000..ad8442e0801cdc4fde1fa4fa49e7a6867f8dff08 GIT binary patch literal 6282 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 literal 0 HcmV?d00001 diff --git a/test/snapshots/markdownlint-cli2-test-main.mjs.md b/test/snapshots/markdownlint-cli2-test-main.mjs.md new file mode 100644 index 00000000..d5683840 --- /dev/null +++ b/test/snapshots/markdownlint-cli2-test-main.mjs.md @@ -0,0 +1,5836 @@ +# Snapshot report for `test/markdownlint-cli2-test-main.mjs` + +The actual snapshot is saved in `markdownlint-cli2-test-main.mjs.snap`. + +Generated by [AVA](https://avajs.dev). + +## no-arguments (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## no-arguments-config-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## missing-argument-config-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## one-argument-config-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## no-files (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: nothing-matches␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-files-exclamation (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-files-octothorpe (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: !␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## all-ok (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown␊ + Linting: 5 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## no-config (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 4 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## no-config-ignore (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## no-config-unignore (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir dir/subdir␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## no-config-ignore-hash (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !dir␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## file-paths-as-args (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## dot (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + info.markdown:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + info.markdown:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + info.markdown:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + info.markdown:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.{md,markdown}␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## dotfiles (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + .dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + .dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + .dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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]␊ + .dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + .dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + .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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/.info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/.info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **␊ + Linting: 14 file(s)␊ + Summary: 66 error(s)␊ + `, + } + +## dotfiles-exclude (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `.viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + .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␊ + dir/.about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/.about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/.about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/.subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/.subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ** !.dir !**/.info.md␊ + Linting: 6 file(s)␊ + Summary: 28 error(s)␊ + `, + } + +## globs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md !dir/about.md **/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## globs-and-args (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.markdown **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## no-globs-and-args (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: dir/about.md dir/**/*.markdown␊ + Linting: 2 file(s)␊ + Summary: 9 error(s)␊ + `, + } + +## no-globs-and-empty-args (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + https://github.com/DavidAnson/markdownlint-cli2␊ + ␊ + Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊ + ␊ + Glob expressions (from the globby library):␊ + - * matches any number of characters, but not /␊ + - ? matches a single character, but not /␊ + - ** matches any number of characters, including /␊ + - {} allows for a comma-separated list of "or" expressions␊ + - ! or # at the beginning of a pattern negate the match␊ + - : at the beginning identifies a literal file path␊ + - - as a glob represents standard input (stdin)␊ + ␊ + Dot-only glob:␊ + - The command "markdownlint-cli2 ." would lint every file in the current directory tree which is probably not intended␊ + - Instead, it is mapped to "markdownlint-cli2 *.{md,markdown}" which lints all Markdown files in the current directory␊ + - To lint every file in the current directory tree, the command "markdownlint-cli2 **" can be used instead␊ + ␊ + Optional parameters:␊ + - --config specifies the path to a configuration file to define the base configuration␊ + - --fix updates files to resolve fixable issues (can be overridden in configuration)␊ + - --help writes this message to the console and exits without doing anything else␊ + - --no-globs ignores the "globs" property if present in the top-level options object␊ + ␊ + Configuration via:␊ + - .markdownlint-cli2.jsonc␊ + - .markdownlint-cli2.yaml␊ + - .markdownlint-cli2.cjs or .markdownlint-cli2.mjs␊ + - .markdownlint.jsonc or .markdownlint.json␊ + - .markdownlint.yaml or .markdownlint.yml␊ + - .markdownlint.cjs or .markdownlint.mjs␊ + - package.json␊ + ␊ + Cross-platform compatibility:␊ + - UNIX and Windows shells expand globs according to different rules; quoting arguments is recommended␊ + - Some Windows shells don't handle single-quoted (') arguments well; double-quote (") is recommended␊ + - Shells that expand globs do not support negated patterns (!node_modules); quoting is required here␊ + - Some UNIX shells parse exclamation (!) in double-quotes; hashtag (#) is recommended in these cases␊ + - The path separator is forward slash (/) on all platforms; backslash (\\) is automatically converted␊ + - 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"␊ + `, + } + +## globs-and-ignores (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md **/*.markdown !dir/about.md␊ + Linting: 2 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-json (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-json-extends (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-jsonc (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-yaml (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-yml (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-cjs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-mjs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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: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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## markdownlint-json-yaml (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## markdownlint-json-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-yaml-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cjs-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-mjs-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-json-mismatch (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-yaml-mismatch (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-mismatch (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml-mismatch (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-json-mismatch-config (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-yaml-mismatch-config (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-mismatch-config (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml-mismatch-config (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-jsonc (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-jsonc-example (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: '', + } + +## markdownlint-cli2-jsonc-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-yaml (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-yaml-example (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: '', + } + +## markdownlint-cli2-yaml-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-cjs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-mjs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## markdownlint-cli2-cjs-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-mjs-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## markdownlint-cli2-extends (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + cjs/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + jsonc/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + jsonc/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 8 error(s)␊ + `, + } + +## config-option-extends (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## config-overrides-options (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md␊ + Linting: 1 file(s)␊ + Summary: 3 error(s)␊ + `, + } + +## ignores (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `alt1/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + alt1/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + alt1/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + alt1/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt1/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt1/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt1/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt1/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + alt2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + alt2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + alt2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + alt2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + alt2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir4/subdir/info.markdown:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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]␊ + `, + 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)␊ + `, + } + +## sibling-directory (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../markdownlint-json/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../markdownlint-json/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../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/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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../markdownlint-json/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## sibling-directory-options (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `../no-config/dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + ../no-config/dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + ../no-config/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + ../no-config/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + ../no-config/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + ../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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: ../no-config/**/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## noInlineConfig (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:7:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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: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)␊ + `, + } + +## showFound (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Found:␊ + dir/about.md␊ + dir/subdir/info.md␊ + dir/subdir2/info.md␊ + viewme.md␊ + Linting: 4 file(s)␊ + Summary: 7 error(s)␊ + `, + } + +## frontMatter (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## gitignore (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 2 file(s)␊ + Summary: 9 error(s)␊ + `, + } + +## gitignore-root-only (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/UPPER.MD:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.{md,MD}␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## literal-files (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir(1)/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir(1)/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir(1)/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir(1)/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir(1)/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + dir/view(me).md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir/view(me).md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + dir/view(me).md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + dir/view(me).md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## literal-files-absolute (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `sentinel/dir(1)/(view)me.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + sentinel/dir(1)/(view)me.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + sentinel/dir(1)/(view)me.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + sentinel/dir(1)/(view)me.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + sentinel/dir(1)/(view)me.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + sentinel/dir/view(me).md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## fix (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 8 error(s)␊ + `, + } + +## fix-scenarios (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `no-fixable-issues.md:3:13 MD033/no-inline-html Inline HTML [Element: br]␊ + no-fixable-issues.md:5 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "\`\`\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 4 file(s)␊ + Summary: 6 error(s)␊ + `, + } + +## fix-default-true-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/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"]␊ + dir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir2/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir2/subdir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir2/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir2/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir2/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 7 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## fix-default-true-override-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.yaml-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.yaml-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.yaml-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.cjs-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.cjs-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.cjs-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.mjs-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.mjs-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint-cli2.mjs-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.jsonc-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.jsonc-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.jsonc-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.json-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.json-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.json-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yaml-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yaml-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yaml-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yml-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yml-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.yml-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.cjs-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.cjs-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.cjs-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.mjs-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.mjs-alternate-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-.markdownlint.mjs-absolute-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir1/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## config-files-invalid.markdownlint-cli2.jsonc-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint-cli2.cjs-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint-cli2.mjs-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.json-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.yaml-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.cjs-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-invalid.markdownlint.mjs-invalid-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-files-.markdownlint-cli2.jsonc-redundant-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## config-files-.markdownlint.json-redundant-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## config-files-.markdownlint.cjs-redundant-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 4 error(s)␊ + `, + } + +## config-file-unrecognized-arg (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## config-relative-commonjs-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md link.md␊ + Linting: 2 file(s)␊ + Summary: 7 error(s)␊ + `, + } + +## config-relative-module-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md link.md␊ + Linting: 2 file(s)␊ + Summary: 7 error(s)␊ + `, + } + +## config-with-fix-arg (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: viewme.md info.md␊ + Linting: 2 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## package-json (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## package-json-fix (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)␊ + `, + } + +## package-json-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + `, + } + +## package-json-nested (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 10 error(s)␊ + `, + } + +## customRules (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir/about.md:1 first-line Rule that reports an error for the first line␊ + dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/hr.md:1:6 extended-ascii Only extended ASCII characters are allowed [Blocked character: '✅']␊ + dir/subdir/hr.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir/subdir/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir/subdir/info.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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]␊ + dir/subdir3/info.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir/subdir3/info.md:1 first-line Rule that reports an error for the first line␊ + dir/subdir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir3/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir3/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + dir2/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir2/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir3/hr.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + dir3/hr.md:1 first-line Rule that reports an error for the first line␊ + dir3/hr.md:2 second-line Rule that reports an error for the second line␊ + dir3/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir3/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + dir4/hr.md:3 sample-rule-module Sample rule (module) [Sample error for hr]␊ + viewme.md:1 every-n-lines Rule that reports an error every N lines [This rule threw an exception: getLineMetadata is not a function]␊ + viewme.md:1 first-line Rule that reports an error for the first line␊ + viewme.md:3 any-blockquote Rule that reports an error for any blockquote [Blockquote spans 1 line(s).] [Context: "> Tagli"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 9 file(s)␊ + Summary: 44 error(s)␊ + `, + } + +## customRules-pre-imported (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:3 any-blockquote Rule that reports an error for any blockquote [Blockquote spans 1 line(s).] [Context: "> Tagli"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 6 error(s)␊ + `, + } + +## customRules-missing (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + `, + } + +## customRules-invalid (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + Linting: 1 file(s)␊ + `, + } + +## customRules-throws (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md:1 throws Rule that throws during execution [This rule threw an exception: Simulated bug]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 6 error(s)␊ + `, + } + +## markdownItPlugins (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `file/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + file/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + multiple/emoji.md:3:15 MD044/proper-names Proper names should have the correct capitalization [Expected: SMILE; Actual: smile]␊ + multiple/emoji.md:5:13 MD044/proper-names Proper names should have the correct capitalization [Expected: FROWNING; Actual: frowning]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 12 error(s)␊ + `, + } + +## markdownItPlugins-missing (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + `, + } + +## outputFormatters (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8a07df476b805f34574121021e7b9bafb39f201c8aff448fb2f0dcd44a71b16c",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD021/no-multiple-space-closed-atx",␊ + "description": "MD021/no-multiple-space-closed-atx: Multiple spaces inside hashes on closed atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "8db764109451f15469798953956669835f36446059a4b6c686918f6eb10c6f49",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD032/blanks-around-lists",␊ + "description": "MD032/blanks-around-lists: Lists should be surrounded by blank lines",␊ + "severity": "minor",␊ + "fingerprint": "6ddd22f64c0a48e6b536677a9283be74fb75ad61a988efc543c1cbe6b0b3a3bb",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD029/ol-prefix",␊ + "description": "MD029/ol-prefix: Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]",␊ + "severity": "minor",␊ + "fingerprint": "e072e957ba3f9e58988e049ed727269c61b5da8f768edd0608e5d54f48564531",␊ + "location": {␊ + "path": "dir/about.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD022/blanks-around-headings",␊ + "description": "MD022/blanks-around-headings: Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below]",␊ + "severity": "minor",␊ + "fingerprint": "5161c78dcdb7c171057c40cdeb5d6c26f317475e1e8c549dd25c8d1ecd805b18",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD041/first-line-heading/first-line-h1",␊ + "description": "MD041/first-line-heading/first-line-h1: First line in a file should be a top-level heading",␊ + "severity": "minor",␊ + "fingerprint": "f6b546238b859746049d2548037a56ec760d1bb1631b15528ef74777976f0029",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 1␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "801b456e1aebf4ccfff95bf885b0716ca6167de5634950351d43b84e74e6593a",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD038/no-space-in-code",␊ + "description": "MD038/no-space-in-code: Spaces inside code span elements",␊ + "severity": "minor",␊ + "fingerprint": "74fd34146155d3a0377743f7db5967724770c076198dc10d19657518a624b064",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 2␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "df47d6f9b7697c6afabe8ca956d32b96f083d63b5f98003e7ee07ac1139b3fa3",␊ + "location": {␊ + "path": "dir/subdir/info.md",␊ + "lines": {␊ + "begin": 4␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 3,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 3,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD021",␊ + "no-multiple-space-closed-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces inside hashes on closed atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md",␊ + "errorDetail": null,␊ + "errorContext": "# About #",␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD032",␊ + "blanks-around-lists"␊ + ],␊ + "ruleDescription": "Lists should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md",␊ + "errorDetail": null,␊ + "errorContext": "1. List",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/about.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD029",␊ + "ol-prefix"␊ + ],␊ + "ruleDescription": "Ordered list item prefix",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md",␊ + "errorDetail": "Expected: 2; Actual: 3; Style: 1/2/3",␊ + "errorContext": null,␊ + "errorRange": [␊ + 1,␊ + 3␊ + ],␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD022",␊ + "blanks-around-headings"␊ + ],␊ + "ruleDescription": "Headings should be surrounded by blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md",␊ + "errorDetail": "Expected: 1; Actual: 0; Below",␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": {␊ + "lineNumber": 2,␊ + "insertText": "\\n"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 1,␊ + "ruleNames": [␊ + "MD041",␊ + "first-line-heading",␊ + "first-line-h1"␊ + ],␊ + "ruleDescription": "First line in a file should be a top-level heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md",␊ + "errorDetail": null,␊ + "errorContext": "## Information",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\` code1\`",␊ + "errorRange": [␊ + 6,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 7,␊ + "deleteCount": 6,␊ + "insertText": "code1"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 2,␊ + "ruleNames": [␊ + "MD038",␊ + "no-space-in-code"␊ + ],␊ + "ruleDescription": "Spaces inside code span elements",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md",␊ + "errorDetail": null,␊ + "errorContext": "\`code2 \`",␊ + "errorRange": [␊ + 20,␊ + 8␊ + ],␊ + "fixInfo": {␊ + "editColumn": 21,␊ + "deleteCount": 6,␊ + "insertText": "code2"␊ + }␊ + },␊ + {␊ + "fileName": "dir/subdir/info.md",␊ + "lineNumber": 4,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD021",␊ + "name": "Md021NoMultipleSpaceClosedAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md"␊ + },␊ + {␊ + "id": "MD032",␊ + "name": "Md032BlanksAroundLists",␊ + "shortDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Lists should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md"␊ + },␊ + {␊ + "id": "MD029",␊ + "name": "Md029OlPrefix",␊ + "shortDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "fullDescription": {␊ + "text": "Ordered list item prefix"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md"␊ + },␊ + {␊ + "id": "MD022",␊ + "name": "Md022BlanksAroundHeadings",␊ + "shortDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Headings should be surrounded by blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md"␊ + },␊ + {␊ + "id": "MD041",␊ + "name": "Md041FirstLineHeadingFirstLineH1",␊ + "shortDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "fullDescription": {␊ + "text": "First line in a file should be a top-level heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md"␊ + },␊ + {␊ + "id": "MD038",␊ + "name": "Md038NoSpaceInCode",␊ + "shortDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "fullDescription": {␊ + "text": "Spaces inside code span elements"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 3,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD021",␊ + "message": {␊ + "text": "Multiple spaces inside hashes on closed atx style heading, Context: \\"# About #\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD032",␊ + "message": {␊ + "text": "Lists should be surrounded by blank lines, Context: \\"1. List\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD029",␊ + "message": {␊ + "text": "Ordered list item prefix, Expected: 2; Actual: 3; Style: 1/2/3"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/about.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5,␊ + "startColumn": 1,␊ + "endColumn": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD022",␊ + "message": {␊ + "text": "Headings should be surrounded by blank lines, Expected: 1; Actual: 0; Below, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD041",␊ + "message": {␊ + "text": "First line in a file should be a top-level heading, Context: \\"## Information\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 1,␊ + "endLine": 1␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\` code1\`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 6,␊ + "endColumn": 14␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD038",␊ + "message": {␊ + "text": "Spaces inside code span elements, Context: \\"\`code2 \`\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 2,␊ + "endLine": 2,␊ + "startColumn": 20,␊ + "endColumn": 28␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "dir/subdir/info.md"␊ + },␊ + "region": {␊ + "startLine": 4,␊ + "endLine": 4␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + fileName="dir/about.md" lineNumber=1 columnNumber=3 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=1 columnNumber=10 ruleName=MD021/no-multiple-space-closed-atx ruleDescription="Multiple spaces inside hashes on closed atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md021.md errorContext="# About #" errorDetail=""␊ + fileName="dir/about.md" lineNumber=4 ruleName=MD032/blanks-around-lists ruleDescription="Lists should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md032.md errorContext="1. List" errorDetail=""␊ + fileName="dir/about.md" lineNumber=5 columnNumber=1 ruleName=MD029/ol-prefix ruleDescription="Ordered list item prefix" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md029.md errorContext="" errorDetail="Expected: 2; Actual: 3; Style: 1/2/3"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD022/blanks-around-headings ruleDescription="Headings should be surrounded by blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md022.md errorContext="## Information" errorDetail="Expected: 1; Actual: 0; Below"␊ + fileName="dir/subdir/info.md" lineNumber=1 ruleName=MD041/first-line-heading/first-line-h1 ruleDescription="First line in a file should be a top-level heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md041.md errorContext="## Information" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=6 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\` code1\`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=2 columnNumber=20 ruleName=MD038/no-space-in-code ruleDescription="Spaces inside code span elements" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md038.md errorContext="\`code2 \`" errorDetail=""␊ + fileName="dir/subdir/info.md" lineNumber=4 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=3 columnNumber=10 ruleName=MD009/no-trailing-spaces ruleDescription="Trailing spaces" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md errorContext="" errorDetail="Expected: 0 or 2; Actual: 1"␊ + fileName="viewme.md" lineNumber=5 ruleName=MD012/no-multiple-blanks ruleDescription="Multiple consecutive blank lines" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md errorContext="" errorDetail="Expected: 1; Actual: 2"␊ + fileName="viewme.md" lineNumber=6 ruleName=MD025/single-title/single-h1 ruleDescription="Multiple top-level headings in the same document" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md errorContext="Description" errorDetail=""␊ + fileName="viewme.md" lineNumber=12 columnNumber=4 ruleName=MD019/no-multiple-space-atx ruleDescription="Multiple spaces after hash on atx style heading" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md errorContext="## Summary" errorDetail=""␊ + fileName="viewme.md" lineNumber=14 columnNumber=14 ruleName=MD047/single-trailing-newline ruleDescription="Files should end with a single newline character" ruleInformation=https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md errorContext="" errorDetail=""␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## outputFormatters-params (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: `##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=3;columnumber=10;code=MD009/no-trailing-spaces]Trailing spaces␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=5;code=MD012/no-multiple-blanks]Multiple consecutive blank lines␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=6;code=MD025/single-title/single-h1]Multiple top-level headings in the same document␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=12;columnumber=4;code=MD019/no-multiple-space-atx]Multiple spaces after hash on atx style heading␊ + ##vso[task.logissue type=error;sourcepath=viewme.md;linenumber=14;columnumber=14;code=MD047/single-trailing-newline]Files should end with a single newline character␊ + #Undefined=${undefined}#Column=10#Column=10##Column=10#␊ + #Undefined=${undefined}#Column=##No column number#No column number#␊ + #Undefined=${undefined}#Column=##No column number#No column number#␊ + #Undefined=${undefined}#Column=4#Column=4##Column=4#␊ + #Undefined=${undefined}#Column=14#Column=14##Column=14#␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## outputFormatters-params-absolute (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: `[␊ + {␊ + "type": "issue",␊ + "check_name": "MD009/no-trailing-spaces",␊ + "description": "MD009/no-trailing-spaces: Trailing spaces [Expected: 0 or 2; Actual: 1]",␊ + "severity": "minor",␊ + "fingerprint": "f34a01e4a119d7df262993933665d4c97cc601702eeca2814ccad9606a3ccb48",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 3␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD012/no-multiple-blanks",␊ + "description": "MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]",␊ + "severity": "minor",␊ + "fingerprint": "a3d9b647ce8d929904e64fbbb0a47223617e8985d0a4d31e674b22f919f736fb",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 5␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD025/single-title/single-h1",␊ + "description": "MD025/single-title/single-h1: Multiple top-level headings in the same document",␊ + "severity": "minor",␊ + "fingerprint": "47cd7b74ada622add8ce464681102cb50f7fe2a685f3436327ae39c0f13ef1e6",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 6␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD019/no-multiple-space-atx",␊ + "description": "MD019/no-multiple-space-atx: Multiple spaces after hash on atx style heading",␊ + "severity": "minor",␊ + "fingerprint": "399bbfaf6a26399d5927b93a23b6d18705bb380e90b3e3e85956de34a22c9c5b",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 12␊ + }␊ + }␊ + },␊ + {␊ + "type": "issue",␊ + "check_name": "MD047/single-trailing-newline",␊ + "description": "MD047/single-trailing-newline: Files should end with a single newline character",␊ + "severity": "minor",␊ + "fingerprint": "bf74eade0ee3301ccaa826907651e0d6925b60d517e1110c29b081c7b6ce1acf",␊ + "location": {␊ + "path": "viewme.md",␊ + "lines": {␊ + "begin": 14␊ + }␊ + }␊ + }␊ + ]`, + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": [␊ + {␊ + "id": "MD009",␊ + "name": "Md009NoTrailingSpaces",␊ + "shortDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "fullDescription": {␊ + "text": "Trailing spaces"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md"␊ + },␊ + {␊ + "id": "MD012",␊ + "name": "Md012NoMultipleBlanks",␊ + "shortDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple consecutive blank lines"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md"␊ + },␊ + {␊ + "id": "MD025",␊ + "name": "Md025SingleTitleSingleH1",␊ + "shortDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple top-level headings in the same document"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md"␊ + },␊ + {␊ + "id": "MD019",␊ + "name": "Md019NoMultipleSpaceAtx",␊ + "shortDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "fullDescription": {␊ + "text": "Multiple spaces after hash on atx style heading"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md"␊ + },␊ + {␊ + "id": "MD047",␊ + "name": "Md047SingleTrailingNewline",␊ + "shortDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "fullDescription": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "helpUri": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md"␊ + }␊ + ]␊ + }␊ + },␊ + "results": [␊ + {␊ + "ruleId": "MD009",␊ + "message": {␊ + "text": "Trailing spaces, Expected: 0 or 2; Actual: 1"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 3,␊ + "endLine": 3,␊ + "startColumn": 10,␊ + "endColumn": 11␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD012",␊ + "message": {␊ + "text": "Multiple consecutive blank lines, Expected: 1; Actual: 2"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 5,␊ + "endLine": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD025",␊ + "message": {␊ + "text": "Multiple top-level headings in the same document, Context: \\"Description\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 6,␊ + "endLine": 6␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD019",␊ + "message": {␊ + "text": "Multiple spaces after hash on atx style heading, Context: \\"## Summary\\""␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 12,␊ + "endLine": 12,␊ + "startColumn": 4,␊ + "endColumn": 5␊ + }␊ + }␊ + }␊ + ]␊ + },␊ + {␊ + "ruleId": "MD047",␊ + "message": {␊ + "text": "Files should end with a single newline character"␊ + },␊ + "locations": [␊ + {␊ + "physicalLocation": {␊ + "artifactLocation": {␊ + "uri": "viewme.md"␊ + },␊ + "region": {␊ + "startLine": 14,␊ + "endLine": 14,␊ + "startColumn": 14,␊ + "endColumn": 15␊ + }␊ + }␊ + }␊ + ]␊ + }␊ + ]␊ + }␊ + ]␊ + }`, + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## outputFormatters-pre-imported (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: `[␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 3,␊ + "ruleNames": [␊ + "MD009",␊ + "no-trailing-spaces"␊ + ],␊ + "ruleDescription": "Trailing spaces",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md009.md",␊ + "errorDetail": "Expected: 0 or 2; Actual: 1",␊ + "errorContext": null,␊ + "errorRange": [␊ + 10,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 10,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 5,␊ + "ruleNames": [␊ + "MD012",␊ + "no-multiple-blanks"␊ + ],␊ + "ruleDescription": "Multiple consecutive blank lines",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md012.md",␊ + "errorDetail": "Expected: 1; Actual: 2",␊ + "errorContext": null,␊ + "errorRange": null,␊ + "fixInfo": {␊ + "deleteCount": -1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 6,␊ + "ruleNames": [␊ + "MD025",␊ + "single-title",␊ + "single-h1"␊ + ],␊ + "ruleDescription": "Multiple top-level headings in the same document",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md025.md",␊ + "errorDetail": null,␊ + "errorContext": "Description",␊ + "errorRange": null,␊ + "fixInfo": null␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 12,␊ + "ruleNames": [␊ + "MD019",␊ + "no-multiple-space-atx"␊ + ],␊ + "ruleDescription": "Multiple spaces after hash on atx style heading",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md019.md",␊ + "errorDetail": null,␊ + "errorContext": "## Summary",␊ + "errorRange": [␊ + 4,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 4,␊ + "deleteCount": 1␊ + }␊ + },␊ + {␊ + "fileName": "viewme.md",␊ + "lineNumber": 14,␊ + "ruleNames": [␊ + "MD047",␊ + "single-trailing-newline"␊ + ],␊ + "ruleDescription": "Files should end with a single newline character",␊ + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/vX.Y.Z/doc/md047.md",␊ + "errorDetail": null,␊ + "errorContext": null,␊ + "errorRange": [␊ + 14,␊ + 1␊ + ],␊ + "fixInfo": {␊ + "editColumn": 15,␊ + "insertText": "\\n"␊ + }␊ + }␊ + ]`, + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## outputFormatters-clean (main) + +> Snapshot 1 + + { + exitCode: 0, + formatterCodeQuality: '[]', + formatterJson: '[]', + formatterJunit: `␊ + ␊ + ␊ + ␊ + ␊ + `, + formatterSarif: `{␊ + "$schema": "https://json.schemastore.org/sarif-2.1.0.json",␊ + "version": "2.1.0",␊ + "runs": [␊ + {␊ + "tool": {␊ + "driver": {␊ + "name": "markdownlint-cli2-formatter-sarif",␊ + "version": "0.0.2",␊ + "informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊ + "rules": []␊ + }␊ + },␊ + "results": []␊ + }␊ + ]␊ + }`, + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 0 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## outputFormatters-file (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## outputFormatters-module (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + mjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 1 file(s)␊ + Summary: 5 error(s)␊ + `, + } + +## outputFormatters-missing (main) + +> Snapshot 1 + + { + exitCode: 2, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: .*␊ + Linting: 1 file(s)␊ + Summary: 0 error(s)␊ + `, + } + +## formatter-summarize (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: '', + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + Count File␊ + 4 dir/about.md␊ + 5 dir/subdir/info.md␊ + 5 viewme.md␊ + 14 [Total]␊ + Count Rule␊ + 1 MD009/no-trailing-spaces␊ + 2 MD012/no-multiple-blanks␊ + 1 MD019/no-multiple-space-atx␊ + 2 MD021/no-multiple-space-closed-atx␊ + 1 MD022/blanks-around-headings␊ + 1 MD025/single-title/single-h1␊ + 1 MD029/ol-prefix␊ + 1 MD032/blanks-around-lists␊ + 2 MD038/no-space-in-code␊ + 1 MD041/first-line-heading/first-line-h1␊ + 1 MD047/single-trailing-newline␊ + 14 [Total]␊ + dir/about.md␊ + Count Rule␊ + 2 MD021/no-multiple-space-closed-atx␊ + 1 MD029/ol-prefix␊ + 1 MD032/blanks-around-lists␊ + 4 [Total]␊ + dir/subdir/info.md␊ + Count Rule␊ + 1 MD012/no-multiple-blanks␊ + 1 MD022/blanks-around-headings␊ + 2 MD038/no-space-in-code␊ + 1 MD041/first-line-heading/first-line-h1␊ + 5 [Total]␊ + viewme.md␊ + Count Rule␊ + 1 MD009/no-trailing-spaces␊ + 1 MD012/no-multiple-blanks␊ + 1 MD019/no-multiple-space-atx␊ + 1 MD025/single-title/single-h1␊ + 1 MD047/single-trailing-newline␊ + 5 [Total]␊ + MD009/no-trailing-spaces␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD012/no-multiple-blanks␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 viewme.md␊ + 2 [Total]␊ + MD019/no-multiple-space-atx␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD021/no-multiple-space-closed-atx␊ + Count File␊ + 2 dir/about.md␊ + 2 [Total]␊ + MD022/blanks-around-headings␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 [Total]␊ + MD025/single-title/single-h1␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + MD029/ol-prefix␊ + Count File␊ + 1 dir/about.md␊ + 1 [Total]␊ + MD032/blanks-around-lists␊ + Count File␊ + 1 dir/about.md␊ + 1 [Total]␊ + MD038/no-space-in-code␊ + Count File␊ + 2 dir/subdir/info.md␊ + 2 [Total]␊ + MD041/first-line-heading/first-line-h1␊ + Count File␊ + 1 dir/subdir/info.md␊ + 1 [Total]␊ + MD047/single-trailing-newline␊ + Count File␊ + 1 viewme.md␊ + 1 [Total]␊ + `, + } + +## formatter-template (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `${invalid}␊ + simple.md␊ + simple.mdsimple.mdsimple.md␊ + text{text}text␊ + text{text␊ + texttext}␊ + text${invalid}text␊ + textsimple.mdtext␊ + simple.md␊ + ${fileName}␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 1 file(s)␊ + Summary: 1 error(s)␊ + `, + } + +## nested-files (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `markdownlint-cli2-jsonc/dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + markdownlint-cli2-jsonc/dir/subdir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)␊ + `, + } + +## nested-directories (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `a/b/c/d/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/c/d/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/c/d/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/c/d/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/c/d/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + a/b/viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + a/b/viewme.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + a/b/viewme.md:6 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Description"]␊ + a/b/viewme.md:12:4 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: "## Summary"]␊ + a/b/viewme.md:14:14 MD047/single-trailing-newline Files should end with a single newline character␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + 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)␊ + `, + } + +## nested-options-config (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `config-options-disjoint-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint-empty/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint-empty/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-disjoint/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-disjoint/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-disjoint/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap-empty/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap/dir/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap/dir/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + config-options-overlap/dir/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + config-options-overlap/dir/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/dir/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + config-options-overlap/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + config-options-overlap/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint-empty/dir/dir/dir/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-disjoint-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint-empty/dir/dir/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-disjoint-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/dir/dir/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-disjoint/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/dir/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-disjoint/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-disjoint/dir/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-disjoint/dir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + options-config-disjoint/dir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + options-config-disjoint/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-disjoint/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-disjoint/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-disjoint/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-disjoint/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + options-config-disjoint/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + options-config-disjoint/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap-empty/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap-empty/dir/dir/dir/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-empty/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap-empty/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap-empty/dir/dir/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-empty/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/dir/dir/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/dir/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/dir/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/dir/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + options-config-overlap/dir/info.md:1 first-line Rule that reports an error for the first line␊ + options-config-overlap/dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + options-config-overlap/dir/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/dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 24 file(s)␊ + Summary: 80 error(s)␊ + `, + } + +## markdownlint-cjs-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-mjs-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-cli2-cjs-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## markdownlint-cli2-mjs-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## customRules-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir/subdir2/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir2/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + 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]␊ + dir/subdir3/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/subdir3/info.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Information"]␊ + dir/subdir3/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/subdir3/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/subdir3/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 9 file(s)␊ + Summary: 24 error(s)␊ + `, + } + +## markdownItPlugins-no-require (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `file/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + file/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + function/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + module/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + multiple/emoji.md:3:15 MD044/proper-names Proper names should have the correct capitalization [Expected: SMILE; Actual: smile]␊ + multiple/emoji.md:5:13 MD044/proper-names Proper names should have the correct capitalization [Expected: FROWNING; Actual: frowning]␊ + 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]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 12 error(s)␊ + `, + } + +## tilde-paths-commonjs (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `hr.md 3 sample-rule-commonjs␊ + link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + cjs: hr.md 3 sample-rule-commonjs␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: viewme.md 3 any-blockquote␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 3 file(s)␊ + Summary: 9 error(s)␊ + `, + } + +## tilde-paths-module (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `hr.md 3 sample-rule-commonjs␊ + link.md 3 MD039/no-space-in-links␊ + link.md 3 MD039/no-space-in-links␊ + viewme.md 3 any-blockquote␊ + viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + cjs: hr.md 3 sample-rule-commonjs␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: link.md 3 MD039/no-space-in-links␊ + cjs: viewme.md 3 any-blockquote␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: *.md␊ + Linting: 3 file(s)␊ + Summary: 9 error(s)␊ + `, + } + +## no-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 14 error(s)␊ + `, + } + +## config-first-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## config-last-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## config-last-used-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 11 error(s)␊ + `, + } + +## fix-first-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-last-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-multiple-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + 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)␊ + `, + } + +## fix-and-config-arg (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + 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"]␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 3 file(s)␊ + Summary: 2 error(s)␊ + `, + } + +## modulePaths (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `cjs: dir/about.md 1 MD021/no-multiple-space-closed-atx␊ + cjs: dir/about.md 1 MD021/no-multiple-space-closed-atx␊ + cjs: dir/about.md 4 MD032/blanks-around-lists␊ + cjs: dir/about.md 5 MD029/ol-prefix␊ + cjs: dir/hr.md 3 sample-rule-commonjs␊ + cjs: dir/link.md 3 MD039/no-space-in-links␊ + cjs: dir/link.md 3 MD039/no-space-in-links␊ + cjs: dir/subdir/info.md 1 MD022/blanks-around-headings␊ + cjs: dir/subdir/info.md 1 MD041/first-line-heading/first-line-h1␊ + cjs: dir/subdir/info.md 2 MD038/no-space-in-code␊ + cjs: dir/subdir/info.md 2 MD038/no-space-in-code␊ + cjs: dir/subdir/info.md 4 MD012/no-multiple-blanks␊ + cjs: viewme.md 3 MD009/no-trailing-spaces␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 5 file(s)␊ + Summary: 17 error(s)␊ + `, + } + +## modulePaths-non-root (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/about.md:1:3 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:1:10 MD021/no-multiple-space-closed-atx Multiple spaces inside hashes on closed atx style heading [Context: "# About #"]␊ + dir/about.md:4 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. List"]␊ + dir/about.md:5:1 MD029/ol-prefix Ordered list item prefix [Expected: 2; Actual: 3; Style: 1/2/3]␊ + dir/hr.md:3 sample-rule-commonjs Sample rule (commonjs) [Sample error for hr]␊ + dir/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir/subdir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [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"]␊ + dir/subdir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + 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]␊ + dir2/link.md:3:7 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + dir2/link.md:3:12 MD039/no-space-in-links Spaces inside link text [Context: "[ link ]"]␊ + viewme.md:3:10 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 6 file(s)␊ + Summary: 19 error(s)␊ + `, + } + +## jsonc-trailing-comma (main) + +> Snapshot 1 + + { + exitCode: 1, + formatterCodeQuality: '', + formatterJson: '', + formatterJunit: '', + formatterSarif: '', + stderr: `dir/info.md:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Information"]␊ + dir/info.md:2:6 MD038/no-space-in-code Spaces inside code span elements [Context: "\` code1\`"]␊ + dir/info.md:2:20 MD038/no-space-in-code Spaces inside code span elements [Context: "\`code2 \`"]␊ + dir/info.md:4 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]␊ + 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␊ + `, + stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊ + Finding: **/*.md␊ + Linting: 2 file(s)␊ + Summary: 8 error(s)␊ + `, + } diff --git a/test/snapshots/markdownlint-cli2-test-main.mjs.snap b/test/snapshots/markdownlint-cli2-test-main.mjs.snap new file mode 100644 index 0000000000000000000000000000000000000000..798533a3c6a3cd9798b6b081c68c6baf064e28dd GIT binary patch literal 14374 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