diff --git a/.github/dictionary.txt b/.github/dictionary.txt index 68e1e5e9..8cd8589c 100644 --- a/.github/dictionary.txt +++ b/.github/dictionary.txt @@ -21,6 +21,7 @@ changelog Changelog changelogs Changelogs +CJK CLI coc-markdownlint CodeQL @@ -67,6 +68,7 @@ mdl MDN minified MkDocs +monospaced MSBuild namespace Neovim @@ -111,6 +113,7 @@ ul-start-left ul-style unhandled unreferenced +URI-encode url v12 V8 diff --git a/.github/workflows/checkers.yml b/.github/workflows/checkers.yml index 252fa997..d5591a5a 100644 --- a/.github/workflows/checkers.yml +++ b/.github/workflows/checkers.yml @@ -12,8 +12,8 @@ jobs: linkcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: JustinBeckwith/linkinator-action@v1.11.0 + - uses: actions/checkout@v6 + - uses: JustinBeckwith/linkinator-action@v2 with: linksToSkip: '^https://github.com/ ^https://www.jwz.org/ ^https://www.npmjs.com/ ^https://opensource.org/ ^https://unix.stackexchange.com/' paths: '*.md doc/*.md helpers/*.md' @@ -21,7 +21,7 @@ jobs: spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: tbroadley/spellchecker-cli-action@v1 with: dictionaries: '.github/dictionary.txt' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8df97677..dd303a36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,9 +20,9 @@ jobs: node-version: [ 20, 22, 24 ] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies @@ -34,13 +34,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use pnpm latest uses: pnpm/action-setup@v4 with: version: latest - name: Use Node.js latest - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: latest - name: Install dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 42b7c2c8..d61691fb 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Initialize CodeQL uses: github/codeql-action/init@v4 diff --git a/.github/workflows/test-repos.yml b/.github/workflows/test-repos.yml index 9ed81350..097bf68c 100644 --- a/.github/workflows/test-repos.yml +++ b/.github/workflows/test-repos.yml @@ -18,9 +18,9 @@ jobs: node-version: [ latest ] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies diff --git a/.github/workflows/update-test-repos.yml b/.github/workflows/update-test-repos.yml index 0dd3b39e..fa9d41d9 100644 --- a/.github/workflows/update-test-repos.yml +++ b/.github/workflows/update-test-repos.yml @@ -15,10 +15,10 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: next - - uses: actions/setup-node@v5 + - uses: actions/setup-node@v6 - run: git config user.email "david@dlaa.me" - run: git config user.name "David Anson" - run: git checkout -b update-test-repos-$GITHUB_RUN_ID diff --git a/CHANGELOG.md b/CHANGELOG.md index 2103c7f3..e1c1a159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.40.0 + +- Improve MD011/MD013/MD051/MD060 +- Update dependencies + ## 0.39.0 - Add MD060/table-column-style diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a64c6279..71415738 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,7 +83,7 @@ Thank you! [ava-snapshots]: https://github.com/avajs/ava/blob/main/docs/04-snapshot-testing.md [closing-keywords]: https://help.github.com/articles/closing-issues-using-keywords/ [custom-rules]: doc/CustomRules.md -[dependencies]: https://docs.npmjs.com/files/package.json#dependencies +[dependencies]: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#dependencies [example-com]: https://en.wikipedia.org/wiki/Example.com [micromark]: https://www.npmjs.com/package/micromark [new-rule]: https://github.com/DavidAnson/markdownlint/labels/new%20rule diff --git a/README.md b/README.md index bcd45297..69afa8c8 100644 --- a/README.md +++ b/README.md @@ -206,11 +206,10 @@ issues reported. Two kinds of text are ignored by most rules: - [Front matter](https://jekyllrb.com/docs/frontmatter/) (see `options.frontMatter` below) -Rules can be enabled, disabled, and configured via `options.config` -(described below) to define the expected behavior for a set of inputs. -To enable or disable rules at a particular location within a file, add -one of these markers to the appropriate place (HTML comments don't -appear in the final markup): +All rules are enabled by default. Rules can be enabled, disabled, and configured +for each call to the `lint` API by passing an `options.config` object (described +below). To enable or disable rules within a file, use one of the following HTML +comments (which are not rendered): - Disable all rules: `` - Enable all rules: `` @@ -980,7 +979,7 @@ All of which return an object like: { "lineNumber": 3, "ruleNames": [ "MD010", "no-hard-tabs" ], "ruleDescription": "Hard tabs", - "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md", + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "errorDetail": "Column: 17", "errorContext": null, "errorRange": [ 17, 1 ], @@ -989,7 +988,7 @@ All of which return an object like: { "lineNumber": 1, "ruleNames": [ "MD018", "no-missing-space-atx" ], "ruleDescription": "No space after hash on atx style heading", - "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md", + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "errorDetail": null, "errorContext": "#bad.md", "errorRange": [ 1, 2 ], @@ -998,7 +997,7 @@ All of which return an object like: { "lineNumber": 3, "ruleNames": [ "MD018", "no-missing-space-atx" ], "ruleDescription": "No space after hash on atx style heading", - "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md", + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "errorDetail": null, "errorContext": "#This file fails\tsome rules.", "errorRange": [ 1, 2 ], @@ -1007,7 +1006,7 @@ All of which return an object like: { "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/v0.0.0/doc/md041.md", + "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "errorDetail": null, "errorContext": "#bad.md", "errorRange": null, diff --git a/doc-build/build-rules.mjs b/doc-build/build-rules.mjs index 5f5d234a..274fe5a5 100644 --- a/doc-build/build-rules.mjs +++ b/doc-build/build-rules.mjs @@ -43,11 +43,10 @@ for (const rule of rules) { ``, "" ); - const section = []; - section.push( + const section = [ `## ${decorator}\`${name}\` - ${rule.description}${decorator}`, "" - ); + ]; if (deprecated) { section.push( "> This rule is deprecated and provided for backward-compatibility", diff --git a/doc-build/md051.md b/doc-build/md051.md index 1ed47537..9584bfd5 100644 --- a/doc-build/md051.md +++ b/doc-build/md051.md @@ -86,13 +86,18 @@ This makes it easy to link directly to different sections within a document. However, section links change if headings are renamed or removed. This rule helps identify broken section links within a document. -Section links are **not** part of the CommonMark specification. This rule -enforces the [GitHub heading algorithm][github-heading-algorithm] which is: -convert heading to lowercase, remove punctuation, convert spaces to dashes, -append an incrementing integer as needed for uniqueness. +Note: Section links are **not** part of the CommonMark specification; this rule +enforces the [GitHub heading algorithm][github-heading-algorithm]: +1. Convert text to lowercase +2. Remove punctuation characters +3. Convert spaces to dashes +4. Append an incrementing integer (as needed for uniqueness) +5. [URI-encode][encodeURIComponent] the result + +[encodeURIComponent]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent [github-section-links]: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#section-links [github-heading-algorithm]: https://github.com/gjtorikian/html-pipeline/blob/f13a1534cb650ba17af400d1acd3a22c28004c09/lib/html/pipeline/toc_filter.rb -[github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown#linking-to-markdown +[github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown [html-top-fragment]: https://html.spec.whatwg.org/multipage/browsing-the-web.html#scrolling-to-a-fragment [RegEx]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions diff --git a/doc-build/md060.md b/doc-build/md060.md index 4adc754e..34a92708 100644 --- a/doc-build/md060.md +++ b/doc-build/md060.md @@ -1,9 +1,9 @@ -This rule is triggered when the column separators of a +This rule is triggered when the column separator pipe characters (`|`) of a [GitHub Flavored Markdown table][gfm-table-060] are used inconsistently. -This rule recognizes three table column styles based on popular use: +This rule recognizes three table column styles based on popular use. -Style `aligned` looks the most like a table: +Style `aligned` ensures pipe characters are vertically aligned: ```markdown | Character | Meaning | @@ -12,7 +12,16 @@ Style `aligned` looks the most like a table: | N | No | ``` -Style `compact` uses a single space to pad cell content: +The `aligned` style ignores cell content, so the following is also valid: + +```markdown +| Character | Meaning | +|-----------|---------| +| Y | Yes | +| N | No | +``` + +Style `compact` avoids extra padding with a single space around cell content: ```markdown | Character | Meaning | @@ -21,7 +30,7 @@ Style `compact` uses a single space to pad cell content: | N | No | ``` -Style `tight` uses no padding for cell content: +Style `tight` uses no padding at all for cell content: ```markdown |Character|Meaning| @@ -31,16 +40,51 @@ Style `tight` uses no padding for cell content: ``` When this rule's `style` parameter is set to `aligned`, `compact`, or `tight`, -every table must match the corresponding pattern and errors will be reported for -any violations. By default, or when the `any` style is used, each table is -analyzed to see if it satisfies any supported style. If so, no errors are -reported. If not, errors are be reported for whichever style would produce the -*fewest* errors (i.e., whichever style is the closest match). +every table must match the corresponding pattern and any violations will be +reported. By default, or when the `any` style is used, each table is analyzed to +see if it satisfies any supported style. If so, no violations are reported. If +not, violations are be reported for whichever style would produce the *fewest* +issues (i.e., whichever style is the closest match). -Note: Pipe alignment for the `aligned` style is based on character count, so -wide characters and multi-character encodings can produce unexpected results. -The following table is correctly aligned based on character count, though some -editors render the emoji wider: +Setting the `aligned_delimiter` parameter to `true` requires pipe characters in +the delimiter row to align with those in the header row. This can be used with +`compact` and `tight` tables to make the header text more obvious. (It's already +required for tables with style `aligned`.) + +Style `compact` with `aligned_delimiter`: + +```markdown +| Character | Meaning | +| --------- | ------- | +| Y | Yes | +| N | No | +``` + +Style `tight` with `aligned_delimiter`: + +```markdown +|Character|Meaning| +|---------|-------| +|Y|Yes| +|N|No| +``` + +**Note**: This rule does not require leading/trailing pipe characters, so this +is also a valid table for style `compact`: + +```markdown +Character | Meaning +--- | --- +Y | Yes +N | No +``` + +**Note**: Pipe alignment for the `aligned` style is based on visual appearance +and not character count. Because editors typically render [emoji][emoji] and +[CJK characters][cjk-characters] at *twice* the width of +[Latin characters][latin-script], this rule takes that into account for tables +using the `aligned` style. The following table is correctly formatted and will +appear aligned in most editors and monospaced fonts: @@ -48,12 +92,15 @@ editors render the emoji wider: ```markdown | Response | Emoji | | -------- | ----- | -| Yes | ✅ | -| No | ❎ | +| Yes | ✅ | +| No | ❎ | ``` Rationale: Consistent formatting makes it easier to understand a document. +[cjk-characters]: https://en.wikipedia.org/wiki/CJK_characters +[emoji]: https://en.wikipedia.org/wiki/Emoji [gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables +[latin-script]: https://en.wikipedia.org/wiki/Latin_script diff --git a/doc/Rules.md b/doc/Rules.md index a9a675b3..43f7f972 100644 --- a/doc/Rules.md +++ b/doc/Rules.md @@ -2284,14 +2284,19 @@ This makes it easy to link directly to different sections within a document. However, section links change if headings are renamed or removed. This rule helps identify broken section links within a document. -Section links are **not** part of the CommonMark specification. This rule -enforces the [GitHub heading algorithm][github-heading-algorithm] which is: -convert heading to lowercase, remove punctuation, convert spaces to dashes, -append an incrementing integer as needed for uniqueness. +Note: Section links are **not** part of the CommonMark specification; this rule +enforces the [GitHub heading algorithm][github-heading-algorithm]: +1. Convert text to lowercase +2. Remove punctuation characters +3. Convert spaces to dashes +4. Append an incrementing integer (as needed for uniqueness) +5. [URI-encode][encodeURIComponent] the result + +[encodeURIComponent]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent [github-section-links]: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#section-links [github-heading-algorithm]: https://github.com/gjtorikian/html-pipeline/blob/f13a1534cb650ba17af400d1acd3a22c28004c09/lib/html/pipeline/toc_filter.rb -[github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown#linking-to-markdown +[github-linking-to-content]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet#linking-to-markdown [html-top-fragment]: https://html.spec.whatwg.org/multipage/browsing-the-web.html#scrolling-to-a-fragment [RegEx]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions @@ -2689,15 +2694,16 @@ Aliases: `table-column-style` Parameters: +- `aligned_delimiter`: Aligned delimiter columns (`boolean`, default `false`) - `style`: Table column style (`string`, default `any`, values `aligned` / `any` / `compact` / `tight`) -This rule is triggered when the column separators of a +This rule is triggered when the column separator pipe characters (`|`) of a [GitHub Flavored Markdown table][gfm-table-060] are used inconsistently. -This rule recognizes three table column styles based on popular use: +This rule recognizes three table column styles based on popular use. -Style `aligned` looks the most like a table: +Style `aligned` ensures pipe characters are vertically aligned: ```markdown | Character | Meaning | @@ -2706,7 +2712,16 @@ Style `aligned` looks the most like a table: | N | No | ``` -Style `compact` uses a single space to pad cell content: +The `aligned` style ignores cell content, so the following is also valid: + +```markdown +| Character | Meaning | +|-----------|---------| +| Y | Yes | +| N | No | +``` + +Style `compact` avoids extra padding with a single space around cell content: ```markdown | Character | Meaning | @@ -2715,7 +2730,7 @@ Style `compact` uses a single space to pad cell content: | N | No | ``` -Style `tight` uses no padding for cell content: +Style `tight` uses no padding at all for cell content: ```markdown |Character|Meaning| @@ -2725,16 +2740,51 @@ Style `tight` uses no padding for cell content: ``` When this rule's `style` parameter is set to `aligned`, `compact`, or `tight`, -every table must match the corresponding pattern and errors will be reported for -any violations. By default, or when the `any` style is used, each table is -analyzed to see if it satisfies any supported style. If so, no errors are -reported. If not, errors are be reported for whichever style would produce the -*fewest* errors (i.e., whichever style is the closest match). +every table must match the corresponding pattern and any violations will be +reported. By default, or when the `any` style is used, each table is analyzed to +see if it satisfies any supported style. If so, no violations are reported. If +not, violations are be reported for whichever style would produce the *fewest* +issues (i.e., whichever style is the closest match). -Note: Pipe alignment for the `aligned` style is based on character count, so -wide characters and multi-character encodings can produce unexpected results. -The following table is correctly aligned based on character count, though some -editors render the emoji wider: +Setting the `aligned_delimiter` parameter to `true` requires pipe characters in +the delimiter row to align with those in the header row. This can be used with +`compact` and `tight` tables to make the header text more obvious. (It's already +required for tables with style `aligned`.) + +Style `compact` with `aligned_delimiter`: + +```markdown +| Character | Meaning | +| --------- | ------- | +| Y | Yes | +| N | No | +``` + +Style `tight` with `aligned_delimiter`: + +```markdown +|Character|Meaning| +|---------|-------| +|Y|Yes| +|N|No| +``` + +**Note**: This rule does not require leading/trailing pipe characters, so this +is also a valid table for style `compact`: + +```markdown +Character | Meaning +--- | --- +Y | Yes +N | No +``` + +**Note**: Pipe alignment for the `aligned` style is based on visual appearance +and not character count. Because editors typically render [emoji][emoji] and +[CJK characters][cjk-characters] at *twice* the width of +[Latin characters][latin-script], this rule takes that into account for tables +using the `aligned` style. The following table is correctly formatted and will +appear aligned in most editors and monospaced fonts: @@ -2742,15 +2792,18 @@ editors render the emoji wider: ```markdown | Response | Emoji | | -------- | ----- | -| Yes | ✅ | -| No | ❎ | +| Yes | ✅ | +| No | ❎ | ``` Rationale: Consistent formatting makes it easier to understand a document. +[cjk-characters]: https://en.wikipedia.org/wiki/CJK_characters +[emoji]: https://en.wikipedia.org/wiki/Emoji [gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables +[latin-script]: https://en.wikipedia.org/wiki/Latin_script @@ -59,12 +104,15 @@ editors render the emoji wider: ```markdown | Response | Emoji | | -------- | ----- | -| Yes | ✅ | -| No | ❎ | +| Yes | ✅ | +| No | ❎ | ``` Rationale: Consistent formatting makes it easier to understand a document. +[cjk-characters]: https://en.wikipedia.org/wiki/CJK_characters +[emoji]: https://en.wikipedia.org/wiki/Emoji [gfm-table-060]: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables +[latin-script]: https://en.wikipedia.org/wiki/Latin_script diff --git a/helpers/README.md b/helpers/README.md index 7070bb2c..cbc3d72c 100644 --- a/helpers/README.md +++ b/helpers/README.md @@ -22,8 +22,8 @@ be useful to custom rule authors and may avoid duplicating code. *None* - The entire body of code is tested to 100% coverage by the core `markdownlint` project, so there are no additional tests here. -[custom-rules]: https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/CustomRules.md +[custom-rules]: https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/CustomRules.md [jsdoc]: https://en.m.wikipedia.org/wiki/JSDoc [markdown]: https://en.wikipedia.org/wiki/Markdown [markdownlint]: https://github.com/DavidAnson/markdownlint -[rules]: https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/Rules.md +[rules]: https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/Rules.md diff --git a/lib/configuration-strict.d.ts b/lib/configuration-strict.d.ts index 563e22ed..774a8360 100644 --- a/lib/configuration-strict.d.ts +++ b/lib/configuration-strict.d.ts @@ -19,7 +19,7 @@ export interface ConfigurationStrict { */ extends?: string | null; /** - * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md + * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md */ MD001?: | boolean @@ -39,7 +39,7 @@ export interface ConfigurationStrict { front_matter_title?: string; }; /** - * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md + * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md */ "heading-increment"?: | boolean @@ -59,7 +59,7 @@ export interface ConfigurationStrict { front_matter_title?: string; }; /** - * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md + * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md */ MD003?: | boolean @@ -79,7 +79,7 @@ export interface ConfigurationStrict { style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed"; }; /** - * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md + * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md */ "heading-style"?: | boolean @@ -99,7 +99,7 @@ export interface ConfigurationStrict { style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed"; }; /** - * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md + * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md */ MD004?: | boolean @@ -119,7 +119,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist"; }; /** - * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md + * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md */ "ul-style"?: | boolean @@ -139,7 +139,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist"; }; /** - * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md + * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md */ MD005?: | boolean @@ -155,7 +155,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md + * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md */ "list-indent"?: | boolean @@ -171,7 +171,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md + * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md */ MD007?: | boolean @@ -199,7 +199,7 @@ export interface ConfigurationStrict { start_indent?: number; }; /** - * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md + * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md */ "ul-indent"?: | boolean @@ -227,7 +227,7 @@ export interface ConfigurationStrict { start_indent?: number; }; /** - * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md + * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md */ MD009?: | boolean @@ -259,7 +259,7 @@ export interface ConfigurationStrict { strict?: boolean; }; /** - * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md + * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md */ "no-trailing-spaces"?: | boolean @@ -291,7 +291,7 @@ export interface ConfigurationStrict { strict?: boolean; }; /** - * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md + * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md */ MD010?: | boolean @@ -319,7 +319,7 @@ export interface ConfigurationStrict { spaces_per_tab?: number; }; /** - * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md + * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md */ "no-hard-tabs"?: | boolean @@ -347,7 +347,7 @@ export interface ConfigurationStrict { spaces_per_tab?: number; }; /** - * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md + * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md */ MD011?: | boolean @@ -363,7 +363,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md + * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md */ "no-reversed-links"?: | boolean @@ -379,7 +379,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md + * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md */ MD012?: | boolean @@ -399,7 +399,7 @@ export interface ConfigurationStrict { maximum?: number; }; /** - * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md + * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md */ "no-multiple-blanks"?: | boolean @@ -419,7 +419,7 @@ export interface ConfigurationStrict { maximum?: number; }; /** - * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md + * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md */ MD013?: | boolean @@ -467,7 +467,7 @@ export interface ConfigurationStrict { stern?: boolean; }; /** - * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md + * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md */ "line-length"?: | boolean @@ -515,7 +515,7 @@ export interface ConfigurationStrict { stern?: boolean; }; /** - * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md + * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md */ MD014?: | boolean @@ -531,7 +531,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md + * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md */ "commands-show-output"?: | boolean @@ -547,7 +547,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md + * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md */ MD018?: | boolean @@ -563,7 +563,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md + * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md */ "no-missing-space-atx"?: | boolean @@ -579,7 +579,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md + * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md */ MD019?: | boolean @@ -595,7 +595,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md + * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md */ "no-multiple-space-atx"?: | boolean @@ -611,7 +611,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md + * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md */ MD020?: | boolean @@ -627,7 +627,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md + * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md */ "no-missing-space-closed-atx"?: | boolean @@ -643,7 +643,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md + * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md */ MD021?: | boolean @@ -659,7 +659,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md + * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md */ "no-multiple-space-closed-atx"?: | boolean @@ -675,7 +675,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md + * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md */ MD022?: | boolean @@ -699,7 +699,7 @@ export interface ConfigurationStrict { lines_below?: number | number[]; }; /** - * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md + * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md */ "blanks-around-headings"?: | boolean @@ -723,7 +723,7 @@ export interface ConfigurationStrict { lines_below?: number | number[]; }; /** - * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md + * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md */ MD023?: | boolean @@ -739,7 +739,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md + * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md */ "heading-start-left"?: | boolean @@ -755,7 +755,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md + * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md */ MD024?: | boolean @@ -775,7 +775,7 @@ export interface ConfigurationStrict { siblings_only?: boolean; }; /** - * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md + * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md */ "no-duplicate-heading"?: | boolean @@ -795,7 +795,7 @@ export interface ConfigurationStrict { siblings_only?: boolean; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md */ MD025?: | boolean @@ -819,7 +819,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md */ "single-title"?: | boolean @@ -843,7 +843,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md + * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md */ "single-h1"?: | boolean @@ -867,7 +867,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md + * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md */ MD026?: | boolean @@ -887,7 +887,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md + * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md */ "no-trailing-punctuation"?: | boolean @@ -907,7 +907,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md + * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md */ MD027?: | boolean @@ -927,7 +927,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md + * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md */ "no-multiple-space-blockquote"?: | boolean @@ -947,7 +947,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md + * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md */ MD028?: | boolean @@ -963,7 +963,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md + * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md */ "no-blanks-blockquote"?: | boolean @@ -979,7 +979,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md + * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md */ MD029?: | boolean @@ -999,7 +999,7 @@ export interface ConfigurationStrict { style?: "one" | "ordered" | "one_or_ordered" | "zero"; }; /** - * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md + * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md */ "ol-prefix"?: | boolean @@ -1019,7 +1019,7 @@ export interface ConfigurationStrict { style?: "one" | "ordered" | "one_or_ordered" | "zero"; }; /** - * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md + * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md */ MD030?: | boolean @@ -1051,7 +1051,7 @@ export interface ConfigurationStrict { ol_multi?: number; }; /** - * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md + * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md */ "list-marker-space"?: | boolean @@ -1083,7 +1083,7 @@ export interface ConfigurationStrict { ol_multi?: number; }; /** - * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md + * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md */ MD031?: | boolean @@ -1103,7 +1103,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md + * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md */ "blanks-around-fences"?: | boolean @@ -1123,7 +1123,7 @@ export interface ConfigurationStrict { list_items?: boolean; }; /** - * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md + * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md */ MD032?: | boolean @@ -1139,7 +1139,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md + * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md */ "blanks-around-lists"?: | boolean @@ -1155,7 +1155,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md + * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md */ MD033?: | boolean @@ -1179,7 +1179,7 @@ export interface ConfigurationStrict { table_allowed_elements?: string[]; }; /** - * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md + * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md */ "no-inline-html"?: | boolean @@ -1203,7 +1203,7 @@ export interface ConfigurationStrict { table_allowed_elements?: string[]; }; /** - * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md + * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md */ MD034?: | boolean @@ -1219,7 +1219,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md + * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md */ "no-bare-urls"?: | boolean @@ -1235,7 +1235,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md + * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md */ MD035?: | boolean @@ -1255,7 +1255,7 @@ export interface ConfigurationStrict { style?: string; }; /** - * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md + * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md */ "hr-style"?: | boolean @@ -1275,7 +1275,7 @@ export interface ConfigurationStrict { style?: string; }; /** - * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md + * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md */ MD036?: | boolean @@ -1295,7 +1295,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md + * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md */ "no-emphasis-as-heading"?: | boolean @@ -1315,7 +1315,7 @@ export interface ConfigurationStrict { punctuation?: string; }; /** - * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md + * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md */ MD037?: | boolean @@ -1331,7 +1331,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md + * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md */ "no-space-in-emphasis"?: | boolean @@ -1347,7 +1347,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md + * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md */ MD038?: | boolean @@ -1363,7 +1363,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md + * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md */ "no-space-in-code"?: | boolean @@ -1379,7 +1379,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md + * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md */ MD039?: | boolean @@ -1395,7 +1395,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md + * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md */ "no-space-in-links"?: | boolean @@ -1411,7 +1411,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md + * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md */ MD040?: | boolean @@ -1435,7 +1435,7 @@ export interface ConfigurationStrict { language_only?: boolean; }; /** - * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md + * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md */ "fenced-code-language"?: | boolean @@ -1459,7 +1459,7 @@ export interface ConfigurationStrict { language_only?: boolean; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md */ MD041?: | boolean @@ -1487,7 +1487,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md */ "first-line-heading"?: | boolean @@ -1515,7 +1515,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md + * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md */ "first-line-h1"?: | boolean @@ -1543,7 +1543,7 @@ export interface ConfigurationStrict { level?: number; }; /** - * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md + * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md */ MD042?: | boolean @@ -1559,7 +1559,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md + * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md */ "no-empty-links"?: | boolean @@ -1575,7 +1575,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md + * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md */ MD043?: | boolean @@ -1599,7 +1599,7 @@ export interface ConfigurationStrict { match_case?: boolean; }; /** - * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md + * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md */ "required-headings"?: | boolean @@ -1623,7 +1623,7 @@ export interface ConfigurationStrict { match_case?: boolean; }; /** - * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md + * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md */ MD044?: | boolean @@ -1651,7 +1651,7 @@ export interface ConfigurationStrict { html_elements?: boolean; }; /** - * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md + * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md */ "proper-names"?: | boolean @@ -1679,7 +1679,7 @@ export interface ConfigurationStrict { html_elements?: boolean; }; /** - * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md + * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md */ MD045?: | boolean @@ -1695,7 +1695,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md + * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md */ "no-alt-text"?: | boolean @@ -1711,7 +1711,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md + * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md */ MD046?: | boolean @@ -1731,7 +1731,7 @@ export interface ConfigurationStrict { style?: "consistent" | "fenced" | "indented"; }; /** - * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md + * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md */ "code-block-style"?: | boolean @@ -1751,7 +1751,7 @@ export interface ConfigurationStrict { style?: "consistent" | "fenced" | "indented"; }; /** - * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md + * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md */ MD047?: | boolean @@ -1767,7 +1767,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md + * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md */ "single-trailing-newline"?: | boolean @@ -1783,7 +1783,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md + * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md */ MD048?: | boolean @@ -1803,7 +1803,7 @@ export interface ConfigurationStrict { style?: "consistent" | "backtick" | "tilde"; }; /** - * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md + * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md */ "code-fence-style"?: | boolean @@ -1823,7 +1823,7 @@ export interface ConfigurationStrict { style?: "consistent" | "backtick" | "tilde"; }; /** - * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md + * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md */ MD049?: | boolean @@ -1843,7 +1843,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md + * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md */ "emphasis-style"?: | boolean @@ -1863,7 +1863,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md + * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md */ MD050?: | boolean @@ -1883,7 +1883,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md + * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md */ "strong-style"?: | boolean @@ -1903,7 +1903,7 @@ export interface ConfigurationStrict { style?: "consistent" | "asterisk" | "underscore"; }; /** - * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md + * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md */ MD051?: | boolean @@ -1927,7 +1927,7 @@ export interface ConfigurationStrict { ignored_pattern?: string; }; /** - * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md + * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md */ "link-fragments"?: | boolean @@ -1951,7 +1951,7 @@ export interface ConfigurationStrict { ignored_pattern?: string; }; /** - * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md + * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md */ MD052?: | boolean @@ -1975,7 +1975,7 @@ export interface ConfigurationStrict { shortcut_syntax?: boolean; }; /** - * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md + * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md */ "reference-links-images"?: | boolean @@ -1999,7 +1999,7 @@ export interface ConfigurationStrict { shortcut_syntax?: boolean; }; /** - * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md + * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md */ MD053?: | boolean @@ -2019,7 +2019,7 @@ export interface ConfigurationStrict { ignored_definitions?: string[]; }; /** - * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md + * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md */ "link-image-reference-definitions"?: | boolean @@ -2039,7 +2039,7 @@ export interface ConfigurationStrict { ignored_definitions?: string[]; }; /** - * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md + * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md */ MD054?: | boolean @@ -2079,7 +2079,7 @@ export interface ConfigurationStrict { url_inline?: boolean; }; /** - * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md + * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md */ "link-image-style"?: | boolean @@ -2119,7 +2119,7 @@ export interface ConfigurationStrict { url_inline?: boolean; }; /** - * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md + * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md */ MD055?: | boolean @@ -2139,7 +2139,7 @@ export interface ConfigurationStrict { style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing"; }; /** - * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md + * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md */ "table-pipe-style"?: | boolean @@ -2159,7 +2159,7 @@ export interface ConfigurationStrict { style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing"; }; /** - * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md + * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md */ MD056?: | boolean @@ -2175,7 +2175,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md + * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md */ "table-column-count"?: | boolean @@ -2191,7 +2191,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md + * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md */ MD058?: | boolean @@ -2207,7 +2207,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md + * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md */ "blanks-around-tables"?: | boolean @@ -2223,7 +2223,7 @@ export interface ConfigurationStrict { severity?: "error" | "warning"; }; /** - * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md + * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md */ MD059?: | boolean @@ -2243,7 +2243,7 @@ export interface ConfigurationStrict { prohibited_texts?: string[]; }; /** - * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md + * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md */ "descriptive-link-text"?: | boolean @@ -2263,7 +2263,7 @@ export interface ConfigurationStrict { prohibited_texts?: string[]; }; /** - * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md + * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md */ MD060?: | boolean @@ -2281,9 +2281,13 @@ export interface ConfigurationStrict { * Table column style */ style?: "any" | "aligned" | "compact" | "tight"; + /** + * Aligned delimiter columns + */ + aligned_delimiter?: boolean; }; /** - * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md + * MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md */ "table-column-style"?: | boolean @@ -2301,6 +2305,10 @@ export interface ConfigurationStrict { * Table column style */ style?: "any" | "aligned" | "compact" | "tight"; + /** + * Aligned delimiter columns + */ + aligned_delimiter?: boolean; }; /** * headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043 diff --git a/lib/constants.mjs b/lib/constants.mjs index 337a00be..3d61ad68 100644 --- a/lib/constants.mjs +++ b/lib/constants.mjs @@ -11,4 +11,4 @@ export const fixableRuleNames = [ "MD054", "MD058" ]; export const homepage = "https://github.com/DavidAnson/markdownlint"; -export const version = "0.39.0"; +export const version = "0.40.0"; diff --git a/lib/md011.mjs b/lib/md011.mjs index 32df13d6..f9cce643 100644 --- a/lib/md011.mjs +++ b/lib/md011.mjs @@ -4,6 +4,8 @@ import { addError, hasOverlap } from "../helpers/helpers.cjs"; import { addRangeToSet } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; +/** @typedef {import("micromark-extension-math")} */ + const reversedLinkRe = /(^|[^\\])\(([^()]+)\)\[([^\]^][^\]]*)\](?!\()/g; /** @type {import("markdownlint").Rule} */ @@ -13,14 +15,14 @@ export default { "tags": [ "links" ], "parser": "micromark", "function": function MD011(params, onError) { - const codeBlockLineNumbers = new Set(); - for (const codeBlock of filterByTypesCached([ "codeFenced", "codeIndented" ])) { - addRangeToSet(codeBlockLineNumbers, codeBlock.startLine, codeBlock.endLine); + const ignoreBlockLineNumbers = new Set(); + for (const ignoreBlock of filterByTypesCached([ "codeFenced", "codeIndented", "mathFlow" ])) { + addRangeToSet(ignoreBlockLineNumbers, ignoreBlock.startLine, ignoreBlock.endLine); } - const codeTexts = filterByTypesCached([ "codeText" ]); + const ignoreTexts = filterByTypesCached([ "codeText", "mathText" ]); for (const [ lineIndex, line ] of params.lines.entries()) { const lineNumber = lineIndex + 1; - if (!codeBlockLineNumbers.has(lineNumber)) { + if (!ignoreBlockLineNumbers.has(lineNumber)) { let match = null; while ((match = reversedLinkRe.exec(line)) !== null) { const [ reversedLink, preChar, linkText, linkDestination ] = match; @@ -32,7 +34,7 @@ export default { const length = match[0].length - preChar.length; /** @type {import("../helpers/helpers.cjs").FileRange} */ const range = { "startLine": lineNumber, "startColumn": column, "endLine": lineNumber, "endColumn": column + length - 1 }; - if (!codeTexts.some((codeText) => hasOverlap(codeText, range))) { + if (!ignoreTexts.some((ignoreText) => hasOverlap(ignoreText, range))) { addError( onError, lineNumber, diff --git a/lib/md013.mjs b/lib/md013.mjs index 0d1b24ea..9d8792d6 100644 --- a/lib/md013.mjs +++ b/lib/md013.mjs @@ -4,10 +4,8 @@ import { addErrorDetailIf } from "../helpers/helpers.cjs"; import { filterByTypesCached, getReferenceLinkImageData } from "./cache.mjs"; import { addRangeToSet, getDescendantsByType } from "../helpers/micromark-helpers.cjs"; -const longLineRePrefix = "^.{"; -const longLineRePostfixRelaxed = "}.*\\s.*$"; -const longLineRePostfixStrict = "}.+$"; -const sternModeRe = /^(?:[#>\s]*\s)?\S*$/; +// Regular expression for a line that is not wrappable +const notWrappableRe = /^(?:[#>\s]*\s)?\S*$/; /** @typedef {import("micromark-extension-gfm-autolink-literal")} */ /** @typedef {import("micromark-extension-gfm-table")} */ @@ -20,20 +18,10 @@ export default { "parser": "micromark", "function": function MD013(params, onError) { const lineLength = Number(params.config.line_length || 80); - const headingLineLength = - Number(params.config.heading_line_length || lineLength); - const codeLineLength = - Number(params.config.code_block_line_length || lineLength); + const headingLineLength = Number(params.config.heading_line_length || lineLength); + const codeLineLength = Number(params.config.code_block_line_length || lineLength); const strict = !!params.config.strict; const stern = !!params.config.stern; - const longLineRePostfix = - (strict || stern) ? longLineRePostfixStrict : longLineRePostfixRelaxed; - const longLineRe = - new RegExp(longLineRePrefix + lineLength + longLineRePostfix); - const longHeadingLineRe = - new RegExp(longLineRePrefix + headingLineLength + longLineRePostfix); - const longCodeLineRe = - new RegExp(longLineRePrefix + codeLineLength + longLineRePostfix); const codeBlocks = params.config.code_blocks; const includeCodeBlocks = (codeBlocks === undefined) ? true : !!codeBlocks; const tables = params.config.tables; @@ -75,28 +63,27 @@ export default { const isHeading = headingLineNumbers.has(lineNumber); const inCode = codeBlockLineNumbers.has(lineNumber); const inTable = tableLineNumbers.has(lineNumber); - const length = inCode ? - codeLineLength : - (isHeading ? headingLineLength : lineLength); - const lengthRe = inCode ? - longCodeLineRe : - (isHeading ? longHeadingLineRe : longLineRe); - if ((includeCodeBlocks || !inCode) && + const maxLength = inCode ? codeLineLength : (isHeading ? headingLineLength : lineLength); + // If not strict/stern, the last run of non-whitespace is allowed to go + // beyond the limit as long as it begins within the limit + const text = (strict || stern) ? line : line.replace(/\S*$/u, "#"); + if ((maxLength > 0) && + (includeCodeBlocks || !inCode) && (includeTables || !inTable) && (includeHeadings || !isHeading) && !definitionLineIndices.has(lineIndex) && (strict || - (!(stern && sternModeRe.test(line)) && + (!(stern && notWrappableRe.test(line)) && !linkOnlyLineNumbers.has(lineNumber))) && - lengthRe.test(line)) { + (text.length > maxLength)) { addErrorDetailIf( onError, lineNumber, - length, + maxLength, line.length, undefined, undefined, - [ length + 1, line.length - length ] + [ maxLength + 1, line.length - maxLength ] ); } } diff --git a/lib/md060.mjs b/lib/md060.mjs index f6b95785..07cc5a57 100644 --- a/lib/md060.mjs +++ b/lib/md060.mjs @@ -2,8 +2,10 @@ import { filterByTypes } from "../helpers/micromark-helpers.cjs"; import { filterByTypesCached } from "./cache.mjs"; +import stringWidth from "string-width"; /** @typedef {import("micromark-extension-gfm-table")} */ +/** @typedef {import("markdownlint").MicromarkToken} MicromarkToken */ /** @typedef {import("markdownlint").RuleOnErrorInfo} RuleOnErrorInfo */ /** @@ -22,6 +24,56 @@ function addError(errors, lineNumber, column, detail) { }); } +/** + * @typedef Column + * @property {number} actual Actual column (1-based). + * @property {number} effective Effective column (1-based). + */ + +/** + * Gets a list of table cell divider columns. + * + * @param {readonly string[]} lines File/string lines. + * @param {MicromarkToken} row Micromark row token. + * @returns {Column[]} Divider columns. + */ +function getTableDividerColumns(lines, row) { + return filterByTypes( + row.children, + [ "tableCellDivider" ] + ).map( + (divider) => ({ + "actual": divider.startColumn, + "effective": stringWidth(lines[row.startLine - 1].slice(0, divider.startColumn - 1)) + }) + ); +} + +/** + * Checks the specified table rows for consistency with the "aligned" style. + * + * @param {readonly string[]} lines File/string lines. + * @param {MicromarkToken[]} rows Micromark row tokens. + * @param {string} detail Detail message. + * @returns {RuleOnErrorInfo[]} List of errors. + */ +function checkStyleAligned(lines, rows, detail) { + /** @type {RuleOnErrorInfo[]} */ + const errorInfos = []; + const headerRow = rows[0]; + const headerDividerColumns = getTableDividerColumns(lines, headerRow); + for (const row of rows.slice(1)) { + const remainingHeaderDividerColumns = new Set(headerDividerColumns.map((column) => column.effective)); + const rowDividerColumns = getTableDividerColumns(lines, row); + for (const dividerColumn of rowDividerColumns) { + if ((remainingHeaderDividerColumns.size > 0) && !remainingHeaderDividerColumns.delete(dividerColumn.effective)) { + addError(errorInfos, row.startLine, dividerColumn.actual, detail); + } + } + } + return errorInfos; +} + /** @type {import("markdownlint").Rule} */ export default { "names": [ "MD060", "table-column-style" ], @@ -33,27 +85,19 @@ export default { const styleAlignedAllowed = (style === "any") || (style === "aligned"); const styleCompactAllowed = (style === "any") || (style === "compact"); const styleTightAllowed = (style === "any") || (style === "tight"); + const alignedDelimiter = !!params.config.aligned_delimiter; + const lines = params.lines; // Scan all tables/rows const tables = filterByTypesCached([ "table" ]); for (const table of tables) { const rows = filterByTypes(table.children, [ "tableDelimiterRow", "tableRow" ]); - const headingRow = rows[0]; // Determine errors for style "aligned" /** @type {RuleOnErrorInfo[]} */ const errorsIfAligned = []; if (styleAlignedAllowed) { - const headingDividerColumns = filterByTypes(headingRow.children, [ "tableCellDivider" ]).map((divider) => divider.startColumn); - for (const row of rows.slice(1)) { - const remainingHeadingDividerColumns = new Set(headingDividerColumns); - const rowDividerColumns = filterByTypes(row.children, [ "tableCellDivider" ]).map((divider) => divider.startColumn); - for (const dividerColumn of rowDividerColumns) { - if ((remainingHeadingDividerColumns.size > 0) && !remainingHeadingDividerColumns.delete(dividerColumn)) { - addError(errorsIfAligned, row.startLine, dividerColumn, "Table pipe does not align with heading for style \"aligned\""); - } - } - } + errorsIfAligned.push(...checkStyleAligned(lines, rows, "Table pipe does not align with header for style \"aligned\"")); } // Determine errors for styles "compact" and "tight" @@ -65,6 +109,11 @@ export default { (styleCompactAllowed || styleTightAllowed) && !(styleAlignedAllowed && (errorsIfAligned.length === 0)) ) { + if (alignedDelimiter) { + const errorInfos = checkStyleAligned(lines, rows.slice(0, 2), "Table pipe does not align with header for option \"aligned_delimiter\""); + errorsIfCompact.push(...errorInfos); + errorsIfTight.push(...errorInfos); + } for (const row of rows) { const tokensOfInterest = filterByTypes(row.children, [ "tableCellDivider", "tableContent", "whitespace" ]); for (let i = 0; i < tokensOfInterest.length; i++) { diff --git a/lib/micromark-parse.mjs b/lib/micromark-parse.mjs index 14a4d0d6..e960b3c4 100644 --- a/lib/micromark-parse.mjs +++ b/lib/micromark-parse.mjs @@ -142,11 +142,10 @@ export function getEvents( .trim(); if ((text.length > 0) && !text.includes("]")) { /** @type {Event[]} */ - const artificialEvents = []; - artificialEvents.push( + const artificialEvents = [ [ "enter", undefinedReferenceType, tokenizeContext ], [ "enter", undefinedReference, tokenizeContext ] - ); + ]; for (const event of eventsToReplicate) { const [ kind, token ] = event; // Copy token because the current object will get modified by the parser diff --git a/package.json b/package.json index 767062ef..c6195bd9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint", - "version": "0.39.0", + "version": "0.40.0", "description": "A Node.js style checker and lint tool for Markdown/CommonMark files.", "type": "module", "exports": { @@ -80,23 +80,24 @@ "micromark-extension-gfm-footnote": "2.1.0", "micromark-extension-gfm-table": "2.1.1", "micromark-extension-math": "3.1.0", - "micromark-util-types": "2.0.2" + "micromark-util-types": "2.0.2", + "string-width": "8.1.0" }, "devDependencies": { - "@eslint/js": "9.37.0", - "@stylistic/eslint-plugin": "5.4.0", + "@eslint/js": "9.39.1", + "@stylistic/eslint-plugin": "5.6.1", "ajv": "8.17.1", "ava": "6.4.1", "c8": "10.1.3", "character-entities": "2.0.2", - "eslint": "9.37.0", - "eslint-plugin-jsdoc": "61.1.1", + "eslint": "9.39.1", + "eslint-plugin-jsdoc": "61.4.1", "eslint-plugin-n": "17.23.1", "eslint-plugin-regexp": "2.10.0", - "eslint-plugin-unicorn": "61.0.2", + "eslint-plugin-unicorn": "62.0.0", "gemoji": "8.1.0", - "globby": "15.0.0", - "js-yaml": "4.1.0", + "globby": "16.0.0", + "js-yaml": "4.1.1", "json-schema-to-typescript": "15.0.4", "jsonc-parser": "3.3.1", "markdown-it": "14.1.0", @@ -109,7 +110,7 @@ "terser-webpack-plugin": "5.3.14", "toml": "3.0.0", "typescript": "5.9.3", - "webpack": "5.102.1", + "webpack": "5.103.0", "webpack-cli": "6.0.1" }, "keywords": [ diff --git a/schema/.markdownlint.jsonc b/schema/.markdownlint.jsonc index 831440ad..c4fe6661 100644 --- a/schema/.markdownlint.jsonc +++ b/schema/.markdownlint.jsonc @@ -7,28 +7,28 @@ // Path to configuration file to extend "extends": null, - // MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md + // MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md "MD001": { // RegExp for matching title in front matter "front_matter_title": "^\\s*title\\s*[:=]" }, - // MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md + // MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md "MD003": { // Heading style "style": "consistent" }, - // MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md + // MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md "MD004": { // List style "style": "consistent" }, - // MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md + // MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md "MD005": true, - // MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md + // MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md "MD007": { // Spaces for indent "indent": 2, @@ -38,7 +38,7 @@ "start_indent": 2 }, - // MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md + // MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md "MD009": { // Spaces for line break "br_spaces": 2, @@ -50,7 +50,7 @@ "strict": false }, - // MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md + // MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md "MD010": { // Include code blocks "code_blocks": true, @@ -60,16 +60,16 @@ "spaces_per_tab": 1 }, - // MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md + // MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md "MD011": true, - // MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md + // MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md "MD012": { // Consecutive blank lines "maximum": 1 }, - // MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md + // MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md "MD013": { // Number of characters "line_length": 80, @@ -89,22 +89,22 @@ "stern": false }, - // MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md + // MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md "MD014": true, - // MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md + // MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md "MD018": true, - // MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md + // MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md "MD019": true, - // MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md + // MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md "MD020": true, - // MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md + // MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md "MD021": true, - // MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md + // MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md "MD022": { // Blank lines above heading "lines_above": 1, @@ -112,16 +112,16 @@ "lines_below": 1 }, - // MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md + // MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md "MD023": true, - // MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md + // MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md "MD024": { // Only check sibling headings "siblings_only": false }, - // MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md + // MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md "MD025": { // RegExp for matching title in front matter "front_matter_title": "^\\s*title\\s*[:=]", @@ -129,28 +129,28 @@ "level": 1 }, - // MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md + // MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md "MD026": { // Punctuation characters "punctuation": ".,;:!。,;:!" }, - // MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md + // MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md "MD027": { // Include list items "list_items": true }, - // MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md + // MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md "MD028": true, - // MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md + // MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md "MD029": { // List style "style": "one_or_ordered" }, - // MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md + // MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md "MD030": { // Spaces for single-line unordered list items "ul_single": 1, @@ -162,16 +162,16 @@ "ol_multi": 1 }, - // MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md + // MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md "MD031": { // Include list items "list_items": true }, - // MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md + // MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md "MD032": true, - // MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md + // MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md "MD033": { // Allowed elements "allowed_elements": [], @@ -179,31 +179,31 @@ "table_allowed_elements": [] }, - // MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md + // MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md "MD034": true, - // MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md + // MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md "MD035": { // Horizontal rule style "style": "consistent" }, - // MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md + // MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md "MD036": { // Punctuation characters "punctuation": ".,;:!?。,;:!?" }, - // MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md + // MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md "MD037": true, - // MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md + // MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md "MD038": true, - // MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md + // MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md "MD039": true, - // MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md + // MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md "MD040": { // List of languages "allowed_languages": [], @@ -211,7 +211,7 @@ "language_only": false }, - // MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md + // MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md "MD041": { // Allow content before first heading "allow_preamble": false, @@ -221,10 +221,10 @@ "level": 1 }, - // MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md + // MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md "MD042": true, - // MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md + // MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md "MD043": { // List of headings "headings": [], @@ -232,7 +232,7 @@ "match_case": false }, - // MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md + // MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md "MD044": { // List of proper names "names": [], @@ -242,37 +242,37 @@ "html_elements": true }, - // MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md + // MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md "MD045": true, - // MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md + // MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md "MD046": { // Block style "style": "consistent" }, - // MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md + // MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md "MD047": true, - // MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md + // MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md "MD048": { // Code fence style "style": "consistent" }, - // MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md + // MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md "MD049": { // Emphasis style "style": "consistent" }, - // MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md + // MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md "MD050": { // Strong style "style": "consistent" }, - // MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md + // MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md "MD051": { // Ignore case of fragments "ignore_case": false, @@ -280,7 +280,7 @@ "ignored_pattern": "" }, - // MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md + // MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md "MD052": { // Ignored link labels "ignored_labels": [ @@ -290,7 +290,7 @@ "shortcut_syntax": false }, - // MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md + // MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md "MD053": { // Ignored definitions "ignored_definitions": [ @@ -298,7 +298,7 @@ ] }, - // MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md + // MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md "MD054": { // Allow autolinks "autolink": true, @@ -314,19 +314,19 @@ "url_inline": true }, - // MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md + // MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md "MD055": { // Table pipe style "style": "consistent" }, - // MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md + // MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md "MD056": true, - // MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md + // MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md "MD058": true, - // MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md + // MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md "MD059": { // Prohibited link texts "prohibited_texts": [ @@ -337,9 +337,11 @@ ] }, - // MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md + // MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md "MD060": { // Table column style - "style": "any" + "style": "any", + // Aligned delimiter columns + "aligned_delimiter": false } } \ No newline at end of file diff --git a/schema/.markdownlint.yaml b/schema/.markdownlint.yaml index e769041e..fe3b6e57 100644 --- a/schema/.markdownlint.yaml +++ b/schema/.markdownlint.yaml @@ -6,25 +6,25 @@ default: true # Path to configuration file to extend extends: null -# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md +# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md MD001: # RegExp for matching title in front matter front_matter_title: "^\\s*title\\s*[:=]" -# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md +# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md MD003: # Heading style style: "consistent" -# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md +# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md MD004: # List style style: "consistent" -# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md +# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md MD005: true -# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md +# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md MD007: # Spaces for indent indent: 2 @@ -33,7 +33,7 @@ MD007: # Spaces for first level indent (when start_indented is set) start_indent: 2 -# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md +# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md MD009: # Spaces for line break br_spaces: 2 @@ -44,7 +44,7 @@ MD009: # Include unnecessary breaks strict: false -# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md +# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md MD010: # Include code blocks code_blocks: true @@ -53,15 +53,15 @@ MD010: # Number of spaces for each hard tab spaces_per_tab: 1 -# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md +# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md MD011: true -# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md +# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md MD012: # Consecutive blank lines maximum: 1 -# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md +# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md MD013: # Number of characters line_length: 80 @@ -80,62 +80,62 @@ MD013: # Stern length checking stern: false -# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md +# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md MD014: true -# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md +# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md MD018: true -# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md +# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md MD019: true -# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md +# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md MD020: true -# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md +# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md MD021: true -# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md +# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md MD022: # Blank lines above heading lines_above: 1 # Blank lines below heading lines_below: 1 -# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md +# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md MD023: true -# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md +# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md MD024: # Only check sibling headings siblings_only: false -# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md +# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md MD025: # RegExp for matching title in front matter front_matter_title: "^\\s*title\\s*[:=]" # Heading level level: 1 -# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md +# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md MD026: # Punctuation characters punctuation: ".,;:!。,;:!" -# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md +# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md MD027: # Include list items list_items: true -# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md +# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md MD028: true -# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md +# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md MD029: # List style style: "one_or_ordered" -# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md +# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md MD030: # Spaces for single-line unordered list items ul_single: 1 @@ -146,51 +146,51 @@ MD030: # Spaces for multi-line ordered list items ol_multi: 1 -# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md +# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md MD031: # Include list items list_items: true -# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md +# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md MD032: true -# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md +# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md MD033: # Allowed elements allowed_elements: [] # Allowed elements in tables table_allowed_elements: [] -# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md +# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md MD034: true -# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md +# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md MD035: # Horizontal rule style style: "consistent" -# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md +# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md MD036: # Punctuation characters punctuation: ".,;:!?。,;:!?" -# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md +# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md MD037: true -# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md +# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md MD038: true -# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md +# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md MD039: true -# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md +# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md MD040: # List of languages allowed_languages: [] # Require language only language_only: false -# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md +# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md MD041: # Allow content before first heading allow_preamble: false @@ -199,17 +199,17 @@ MD041: # Heading level level: 1 -# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md +# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md MD042: true -# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md +# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md MD043: # List of headings headings: [] # Match case of headings match_case: false -# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md +# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md MD044: # List of proper names names: [] @@ -218,40 +218,40 @@ MD044: # Include HTML elements html_elements: true -# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md +# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md MD045: true -# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md +# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md MD046: # Block style style: "consistent" -# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md +# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md MD047: true -# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md +# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md MD048: # Code fence style style: "consistent" -# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md +# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md MD049: # Emphasis style style: "consistent" -# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md +# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md MD050: # Strong style style: "consistent" -# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md +# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md MD051: # Ignore case of fragments ignore_case: false # Pattern for ignoring additional fragments ignored_pattern: "" -# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md +# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md MD052: # Ignored link labels ignored_labels: @@ -259,13 +259,13 @@ MD052: # Include shortcut syntax shortcut_syntax: false -# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md +# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md MD053: # Ignored definitions ignored_definitions: - "//" -# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md +# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md MD054: # Allow autolinks autolink: true @@ -280,18 +280,18 @@ MD054: # Allow URLs as inline links url_inline: true -# MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md +# MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md MD055: # Table pipe style style: "consistent" -# MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md +# MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md MD056: true -# MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md +# MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md MD058: true -# MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md +# MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md MD059: # Prohibited link texts prohibited_texts: @@ -300,7 +300,9 @@ MD059: - "link" - "more" -# MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md +# MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md MD060: # Table column style style: "any" + # Aligned delimiter columns + aligned_delimiter: false diff --git a/schema/build-config-schema.mjs b/schema/build-config-schema.mjs index 3b5a7c2b..0c44c872 100644 --- a/schema/build-config-schema.mjs +++ b/schema/build-config-schema.mjs @@ -645,6 +645,12 @@ for (const rule of rules) { ], "default": "any" }; + // @ts-ignore + subscheme.properties.aligned_delimiter = { + "description": "Aligned delimiter columns", + "type": "boolean", + "default": false + }; break; default: break; diff --git a/schema/markdownlint-config-schema-strict.json b/schema/markdownlint-config-schema-strict.json index f9c0a250..d211feb6 100644 --- a/schema/markdownlint-config-schema-strict.json +++ b/schema/markdownlint-config-schema-strict.json @@ -1,13 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.39.0/schema/markdownlint-config-schema-strict.json", + "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema-strict.json", "title": "markdownlint configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", - "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.39.0/schema/markdownlint-config-schema.json" + "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema.json" }, "default": { "description": "Default state for all rules", @@ -33,7 +33,7 @@ "default": null }, "MD001": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md", + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" @@ -73,7 +73,7 @@ "default": true }, "heading-increment": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md", + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" @@ -113,7 +113,7 @@ "default": true }, "MD003": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" @@ -161,7 +161,7 @@ "default": true }, "heading-style": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" @@ -209,7 +209,7 @@ "default": true }, "MD004": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" @@ -256,7 +256,7 @@ "default": true }, "ul-style": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" @@ -303,7 +303,7 @@ "default": true }, "MD005": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" @@ -338,7 +338,7 @@ "default": true }, "list-indent": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" @@ -373,7 +373,7 @@ "default": true }, "MD007": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" @@ -425,7 +425,7 @@ "default": true }, "ul-indent": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" @@ -477,7 +477,7 @@ "default": true }, "MD009": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" @@ -533,7 +533,7 @@ "default": true }, "no-trailing-spaces": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" @@ -589,7 +589,7 @@ "default": true }, "MD010": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" @@ -643,7 +643,7 @@ "default": true }, "no-hard-tabs": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" @@ -697,7 +697,7 @@ "default": true }, "MD011": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" @@ -732,7 +732,7 @@ "default": true }, "no-reversed-links": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" @@ -767,7 +767,7 @@ "default": true }, "MD012": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" @@ -808,7 +808,7 @@ "default": true }, "no-multiple-blanks": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" @@ -849,7 +849,7 @@ "default": true }, "MD013": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" @@ -927,7 +927,7 @@ "default": true }, "line-length": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" @@ -1005,7 +1005,7 @@ "default": true }, "MD014": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" @@ -1040,7 +1040,7 @@ "default": true }, "commands-show-output": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" @@ -1075,7 +1075,7 @@ "default": true }, "MD018": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" @@ -1110,7 +1110,7 @@ "default": true }, "no-missing-space-atx": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" @@ -1145,7 +1145,7 @@ "default": true }, "MD019": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" @@ -1180,7 +1180,7 @@ "default": true }, "no-multiple-space-atx": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" @@ -1215,7 +1215,7 @@ "default": true }, "MD020": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" @@ -1250,7 +1250,7 @@ "default": true }, "no-missing-space-closed-atx": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" @@ -1285,7 +1285,7 @@ "default": true }, "MD021": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" @@ -1320,7 +1320,7 @@ "default": true }, "no-multiple-space-closed-atx": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" @@ -1355,7 +1355,7 @@ "default": true }, "MD022": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" @@ -1414,7 +1414,7 @@ "default": true }, "blanks-around-headings": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" @@ -1473,7 +1473,7 @@ "default": true }, "MD023": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" @@ -1508,7 +1508,7 @@ "default": true }, "heading-start-left": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" @@ -1543,7 +1543,7 @@ "default": true }, "MD024": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" @@ -1583,7 +1583,7 @@ "default": true }, "no-duplicate-heading": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" @@ -1623,7 +1623,7 @@ "default": true }, "MD025": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1670,7 +1670,7 @@ "default": true }, "single-title": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1717,7 +1717,7 @@ "default": true }, "single-h1": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1764,7 +1764,7 @@ "default": true }, "MD026": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" @@ -1804,7 +1804,7 @@ "default": true }, "no-trailing-punctuation": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" @@ -1844,7 +1844,7 @@ "default": true }, "MD027": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md", "oneOf": [ { "type": "boolean" @@ -1884,7 +1884,7 @@ "default": true }, "no-multiple-space-blockquote": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md", "oneOf": [ { "type": "boolean" @@ -1924,7 +1924,7 @@ "default": true }, "MD028": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md", "oneOf": [ { "type": "boolean" @@ -1959,7 +1959,7 @@ "default": true }, "no-blanks-blockquote": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md", "oneOf": [ { "type": "boolean" @@ -1994,7 +1994,7 @@ "default": true }, "MD029": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md", "oneOf": [ { "type": "boolean" @@ -2040,7 +2040,7 @@ "default": true }, "ol-prefix": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md", "oneOf": [ { "type": "boolean" @@ -2086,7 +2086,7 @@ "default": true }, "MD030": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md", "oneOf": [ { "type": "boolean" @@ -2145,7 +2145,7 @@ "default": true }, "list-marker-space": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md", "oneOf": [ { "type": "boolean" @@ -2204,7 +2204,7 @@ "default": true }, "MD031": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md", "oneOf": [ { "type": "boolean" @@ -2244,7 +2244,7 @@ "default": true }, "blanks-around-fences": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md", "oneOf": [ { "type": "boolean" @@ -2284,7 +2284,7 @@ "default": true }, "MD032": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md", "oneOf": [ { "type": "boolean" @@ -2319,7 +2319,7 @@ "default": true }, "blanks-around-lists": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md", "oneOf": [ { "type": "boolean" @@ -2354,7 +2354,7 @@ "default": true }, "MD033": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md", "oneOf": [ { "type": "boolean" @@ -2405,7 +2405,7 @@ "default": true }, "no-inline-html": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md", "oneOf": [ { "type": "boolean" @@ -2456,7 +2456,7 @@ "default": true }, "MD034": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md", "oneOf": [ { "type": "boolean" @@ -2491,7 +2491,7 @@ "default": true }, "no-bare-urls": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md", "oneOf": [ { "type": "boolean" @@ -2526,7 +2526,7 @@ "default": true }, "MD035": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md", "oneOf": [ { "type": "boolean" @@ -2566,7 +2566,7 @@ "default": true }, "hr-style": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md", "oneOf": [ { "type": "boolean" @@ -2606,7 +2606,7 @@ "default": true }, "MD036": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md", "oneOf": [ { "type": "boolean" @@ -2646,7 +2646,7 @@ "default": true }, "no-emphasis-as-heading": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md", "oneOf": [ { "type": "boolean" @@ -2686,7 +2686,7 @@ "default": true }, "MD037": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md", "oneOf": [ { "type": "boolean" @@ -2721,7 +2721,7 @@ "default": true }, "no-space-in-emphasis": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md", "oneOf": [ { "type": "boolean" @@ -2756,7 +2756,7 @@ "default": true }, "MD038": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md", "oneOf": [ { "type": "boolean" @@ -2791,7 +2791,7 @@ "default": true }, "no-space-in-code": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md", "oneOf": [ { "type": "boolean" @@ -2826,7 +2826,7 @@ "default": true }, "MD039": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md", "oneOf": [ { "type": "boolean" @@ -2861,7 +2861,7 @@ "default": true }, "no-space-in-links": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md", "oneOf": [ { "type": "boolean" @@ -2896,7 +2896,7 @@ "default": true }, "MD040": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md", "oneOf": [ { "type": "boolean" @@ -2944,7 +2944,7 @@ "default": true }, "fenced-code-language": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md", "oneOf": [ { "type": "boolean" @@ -2992,7 +2992,7 @@ "default": true }, "MD041": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3044,7 +3044,7 @@ "default": true }, "first-line-heading": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3096,7 +3096,7 @@ "default": true }, "first-line-h1": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3148,7 +3148,7 @@ "default": true }, "MD042": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md", "oneOf": [ { "type": "boolean" @@ -3183,7 +3183,7 @@ "default": true }, "no-empty-links": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md", "oneOf": [ { "type": "boolean" @@ -3218,7 +3218,7 @@ "default": true }, "MD043": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md", "oneOf": [ { "type": "boolean" @@ -3267,7 +3267,7 @@ "default": true }, "required-headings": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md", "oneOf": [ { "type": "boolean" @@ -3316,7 +3316,7 @@ "default": true }, "MD044": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md", "oneOf": [ { "type": "boolean" @@ -3369,7 +3369,7 @@ "default": true }, "proper-names": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md", "oneOf": [ { "type": "boolean" @@ -3422,7 +3422,7 @@ "default": true }, "MD045": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md", "oneOf": [ { "type": "boolean" @@ -3457,7 +3457,7 @@ "default": true }, "no-alt-text": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md", "oneOf": [ { "type": "boolean" @@ -3492,7 +3492,7 @@ "default": true }, "MD046": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md", "oneOf": [ { "type": "boolean" @@ -3537,7 +3537,7 @@ "default": true }, "code-block-style": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md", "oneOf": [ { "type": "boolean" @@ -3582,7 +3582,7 @@ "default": true }, "MD047": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md", "oneOf": [ { "type": "boolean" @@ -3617,7 +3617,7 @@ "default": true }, "single-trailing-newline": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md", "oneOf": [ { "type": "boolean" @@ -3652,7 +3652,7 @@ "default": true }, "MD048": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md", "oneOf": [ { "type": "boolean" @@ -3697,7 +3697,7 @@ "default": true }, "code-fence-style": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md", "oneOf": [ { "type": "boolean" @@ -3742,7 +3742,7 @@ "default": true }, "MD049": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md", "oneOf": [ { "type": "boolean" @@ -3787,7 +3787,7 @@ "default": true }, "emphasis-style": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md", "oneOf": [ { "type": "boolean" @@ -3832,7 +3832,7 @@ "default": true }, "MD050": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md", "oneOf": [ { "type": "boolean" @@ -3877,7 +3877,7 @@ "default": true }, "strong-style": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md", "oneOf": [ { "type": "boolean" @@ -3922,7 +3922,7 @@ "default": true }, "MD051": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md", "oneOf": [ { "type": "boolean" @@ -3967,7 +3967,7 @@ "default": true }, "link-fragments": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md", "oneOf": [ { "type": "boolean" @@ -4012,7 +4012,7 @@ "default": true }, "MD052": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md", "oneOf": [ { "type": "boolean" @@ -4062,7 +4062,7 @@ "default": true }, "reference-links-images": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md", "oneOf": [ { "type": "boolean" @@ -4112,7 +4112,7 @@ "default": true }, "MD053": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md", "oneOf": [ { "type": "boolean" @@ -4157,7 +4157,7 @@ "default": true }, "link-image-reference-definitions": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md", "oneOf": [ { "type": "boolean" @@ -4202,7 +4202,7 @@ "default": true }, "MD054": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md", "oneOf": [ { "type": "boolean" @@ -4267,7 +4267,7 @@ "default": true }, "link-image-style": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md", "oneOf": [ { "type": "boolean" @@ -4332,7 +4332,7 @@ "default": true }, "MD055": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md", "oneOf": [ { "type": "boolean" @@ -4379,7 +4379,7 @@ "default": true }, "table-pipe-style": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md", "oneOf": [ { "type": "boolean" @@ -4426,7 +4426,7 @@ "default": true }, "MD056": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md", "oneOf": [ { "type": "boolean" @@ -4461,7 +4461,7 @@ "default": true }, "table-column-count": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md", "oneOf": [ { "type": "boolean" @@ -4496,7 +4496,7 @@ "default": true }, "MD058": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md", "oneOf": [ { "type": "boolean" @@ -4531,7 +4531,7 @@ "default": true }, "blanks-around-tables": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md", "oneOf": [ { "type": "boolean" @@ -4566,7 +4566,7 @@ "default": true }, "MD059": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md", "oneOf": [ { "type": "boolean" @@ -4614,7 +4614,7 @@ "default": true }, "descriptive-link-text": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md", "oneOf": [ { "type": "boolean" @@ -4662,7 +4662,7 @@ "default": true }, "MD060": { - "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md", + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md", "oneOf": [ { "type": "boolean" @@ -4701,6 +4701,11 @@ "tight" ], "default": "any" + }, + "aligned_delimiter": { + "description": "Aligned delimiter columns", + "type": "boolean", + "default": false } } } @@ -4708,7 +4713,7 @@ "default": true }, "table-column-style": { - "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md", + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md", "oneOf": [ { "type": "boolean" @@ -4747,6 +4752,11 @@ "tight" ], "default": "any" + }, + "aligned_delimiter": { + "description": "Aligned delimiter columns", + "type": "boolean", + "default": false } } } diff --git a/schema/markdownlint-config-schema.json b/schema/markdownlint-config-schema.json index 91b2bc2f..8a76a313 100644 --- a/schema/markdownlint-config-schema.json +++ b/schema/markdownlint-config-schema.json @@ -1,13 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.39.0/schema/markdownlint-config-schema.json", + "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema.json", "title": "markdownlint configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", - "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.39.0/schema/markdownlint-config-schema.json" + "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema.json" }, "default": { "description": "Default state for all rules", @@ -33,7 +33,7 @@ "default": null }, "MD001": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md", + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" @@ -73,7 +73,7 @@ "default": true }, "heading-increment": { - "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md", + "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" @@ -113,7 +113,7 @@ "default": true }, "MD003": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" @@ -161,7 +161,7 @@ "default": true }, "heading-style": { - "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md", + "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" @@ -209,7 +209,7 @@ "default": true }, "MD004": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" @@ -256,7 +256,7 @@ "default": true }, "ul-style": { - "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md", + "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" @@ -303,7 +303,7 @@ "default": true }, "MD005": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" @@ -338,7 +338,7 @@ "default": true }, "list-indent": { - "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md", + "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" @@ -373,7 +373,7 @@ "default": true }, "MD007": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" @@ -425,7 +425,7 @@ "default": true }, "ul-indent": { - "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md", + "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" @@ -477,7 +477,7 @@ "default": true }, "MD009": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" @@ -533,7 +533,7 @@ "default": true }, "no-trailing-spaces": { - "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md", + "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" @@ -589,7 +589,7 @@ "default": true }, "MD010": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" @@ -643,7 +643,7 @@ "default": true }, "no-hard-tabs": { - "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md", + "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" @@ -697,7 +697,7 @@ "default": true }, "MD011": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" @@ -732,7 +732,7 @@ "default": true }, "no-reversed-links": { - "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md", + "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" @@ -767,7 +767,7 @@ "default": true }, "MD012": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" @@ -808,7 +808,7 @@ "default": true }, "no-multiple-blanks": { - "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md", + "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" @@ -849,7 +849,7 @@ "default": true }, "MD013": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" @@ -927,7 +927,7 @@ "default": true }, "line-length": { - "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md", + "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" @@ -1005,7 +1005,7 @@ "default": true }, "MD014": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" @@ -1040,7 +1040,7 @@ "default": true }, "commands-show-output": { - "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md", + "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" @@ -1075,7 +1075,7 @@ "default": true }, "MD018": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" @@ -1110,7 +1110,7 @@ "default": true }, "no-missing-space-atx": { - "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md", + "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" @@ -1145,7 +1145,7 @@ "default": true }, "MD019": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" @@ -1180,7 +1180,7 @@ "default": true }, "no-multiple-space-atx": { - "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md", + "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" @@ -1215,7 +1215,7 @@ "default": true }, "MD020": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" @@ -1250,7 +1250,7 @@ "default": true }, "no-missing-space-closed-atx": { - "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md", + "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" @@ -1285,7 +1285,7 @@ "default": true }, "MD021": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" @@ -1320,7 +1320,7 @@ "default": true }, "no-multiple-space-closed-atx": { - "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md", + "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" @@ -1355,7 +1355,7 @@ "default": true }, "MD022": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" @@ -1414,7 +1414,7 @@ "default": true }, "blanks-around-headings": { - "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md", + "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" @@ -1473,7 +1473,7 @@ "default": true }, "MD023": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" @@ -1508,7 +1508,7 @@ "default": true }, "heading-start-left": { - "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md", + "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" @@ -1543,7 +1543,7 @@ "default": true }, "MD024": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" @@ -1583,7 +1583,7 @@ "default": true }, "no-duplicate-heading": { - "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md", + "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" @@ -1623,7 +1623,7 @@ "default": true }, "MD025": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1670,7 +1670,7 @@ "default": true }, "single-title": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1717,7 +1717,7 @@ "default": true }, "single-h1": { - "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md", + "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" @@ -1764,7 +1764,7 @@ "default": true }, "MD026": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" @@ -1804,7 +1804,7 @@ "default": true }, "no-trailing-punctuation": { - "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md", + "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" @@ -1844,7 +1844,7 @@ "default": true }, "MD027": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md", "oneOf": [ { "type": "boolean" @@ -1884,7 +1884,7 @@ "default": true }, "no-multiple-space-blockquote": { - "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md", + "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md027.md", "oneOf": [ { "type": "boolean" @@ -1924,7 +1924,7 @@ "default": true }, "MD028": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md", "oneOf": [ { "type": "boolean" @@ -1959,7 +1959,7 @@ "default": true }, "no-blanks-blockquote": { - "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md", + "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md028.md", "oneOf": [ { "type": "boolean" @@ -1994,7 +1994,7 @@ "default": true }, "MD029": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md", "oneOf": [ { "type": "boolean" @@ -2040,7 +2040,7 @@ "default": true }, "ol-prefix": { - "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md", + "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md029.md", "oneOf": [ { "type": "boolean" @@ -2086,7 +2086,7 @@ "default": true }, "MD030": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md", "oneOf": [ { "type": "boolean" @@ -2145,7 +2145,7 @@ "default": true }, "list-marker-space": { - "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md", + "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md030.md", "oneOf": [ { "type": "boolean" @@ -2204,7 +2204,7 @@ "default": true }, "MD031": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md", "oneOf": [ { "type": "boolean" @@ -2244,7 +2244,7 @@ "default": true }, "blanks-around-fences": { - "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md", + "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md031.md", "oneOf": [ { "type": "boolean" @@ -2284,7 +2284,7 @@ "default": true }, "MD032": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md", "oneOf": [ { "type": "boolean" @@ -2319,7 +2319,7 @@ "default": true }, "blanks-around-lists": { - "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md", + "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md032.md", "oneOf": [ { "type": "boolean" @@ -2354,7 +2354,7 @@ "default": true }, "MD033": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md", "oneOf": [ { "type": "boolean" @@ -2405,7 +2405,7 @@ "default": true }, "no-inline-html": { - "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md", + "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md033.md", "oneOf": [ { "type": "boolean" @@ -2456,7 +2456,7 @@ "default": true }, "MD034": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md", "oneOf": [ { "type": "boolean" @@ -2491,7 +2491,7 @@ "default": true }, "no-bare-urls": { - "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md", + "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md034.md", "oneOf": [ { "type": "boolean" @@ -2526,7 +2526,7 @@ "default": true }, "MD035": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md", "oneOf": [ { "type": "boolean" @@ -2566,7 +2566,7 @@ "default": true }, "hr-style": { - "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md", + "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md035.md", "oneOf": [ { "type": "boolean" @@ -2606,7 +2606,7 @@ "default": true }, "MD036": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md", "oneOf": [ { "type": "boolean" @@ -2646,7 +2646,7 @@ "default": true }, "no-emphasis-as-heading": { - "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md", + "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md036.md", "oneOf": [ { "type": "boolean" @@ -2686,7 +2686,7 @@ "default": true }, "MD037": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md", "oneOf": [ { "type": "boolean" @@ -2721,7 +2721,7 @@ "default": true }, "no-space-in-emphasis": { - "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md", + "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md037.md", "oneOf": [ { "type": "boolean" @@ -2756,7 +2756,7 @@ "default": true }, "MD038": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md", "oneOf": [ { "type": "boolean" @@ -2791,7 +2791,7 @@ "default": true }, "no-space-in-code": { - "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md", + "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md038.md", "oneOf": [ { "type": "boolean" @@ -2826,7 +2826,7 @@ "default": true }, "MD039": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md", "oneOf": [ { "type": "boolean" @@ -2861,7 +2861,7 @@ "default": true }, "no-space-in-links": { - "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md", + "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md039.md", "oneOf": [ { "type": "boolean" @@ -2896,7 +2896,7 @@ "default": true }, "MD040": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md", "oneOf": [ { "type": "boolean" @@ -2944,7 +2944,7 @@ "default": true }, "fenced-code-language": { - "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md", + "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md040.md", "oneOf": [ { "type": "boolean" @@ -2992,7 +2992,7 @@ "default": true }, "MD041": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3044,7 +3044,7 @@ "default": true }, "first-line-heading": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3096,7 +3096,7 @@ "default": true }, "first-line-h1": { - "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md", + "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md041.md", "oneOf": [ { "type": "boolean" @@ -3148,7 +3148,7 @@ "default": true }, "MD042": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md", "oneOf": [ { "type": "boolean" @@ -3183,7 +3183,7 @@ "default": true }, "no-empty-links": { - "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md", + "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md042.md", "oneOf": [ { "type": "boolean" @@ -3218,7 +3218,7 @@ "default": true }, "MD043": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md", "oneOf": [ { "type": "boolean" @@ -3267,7 +3267,7 @@ "default": true }, "required-headings": { - "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md", + "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md043.md", "oneOf": [ { "type": "boolean" @@ -3316,7 +3316,7 @@ "default": true }, "MD044": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md", "oneOf": [ { "type": "boolean" @@ -3369,7 +3369,7 @@ "default": true }, "proper-names": { - "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md", + "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md044.md", "oneOf": [ { "type": "boolean" @@ -3422,7 +3422,7 @@ "default": true }, "MD045": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md", "oneOf": [ { "type": "boolean" @@ -3457,7 +3457,7 @@ "default": true }, "no-alt-text": { - "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md", + "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md045.md", "oneOf": [ { "type": "boolean" @@ -3492,7 +3492,7 @@ "default": true }, "MD046": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md", "oneOf": [ { "type": "boolean" @@ -3537,7 +3537,7 @@ "default": true }, "code-block-style": { - "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md", + "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md046.md", "oneOf": [ { "type": "boolean" @@ -3582,7 +3582,7 @@ "default": true }, "MD047": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md", "oneOf": [ { "type": "boolean" @@ -3617,7 +3617,7 @@ "default": true }, "single-trailing-newline": { - "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md", + "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md047.md", "oneOf": [ { "type": "boolean" @@ -3652,7 +3652,7 @@ "default": true }, "MD048": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md", "oneOf": [ { "type": "boolean" @@ -3697,7 +3697,7 @@ "default": true }, "code-fence-style": { - "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md", + "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md048.md", "oneOf": [ { "type": "boolean" @@ -3742,7 +3742,7 @@ "default": true }, "MD049": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md", "oneOf": [ { "type": "boolean" @@ -3787,7 +3787,7 @@ "default": true }, "emphasis-style": { - "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md", + "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md049.md", "oneOf": [ { "type": "boolean" @@ -3832,7 +3832,7 @@ "default": true }, "MD050": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md", "oneOf": [ { "type": "boolean" @@ -3877,7 +3877,7 @@ "default": true }, "strong-style": { - "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md", + "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md050.md", "oneOf": [ { "type": "boolean" @@ -3922,7 +3922,7 @@ "default": true }, "MD051": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md", "oneOf": [ { "type": "boolean" @@ -3967,7 +3967,7 @@ "default": true }, "link-fragments": { - "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md", + "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md051.md", "oneOf": [ { "type": "boolean" @@ -4012,7 +4012,7 @@ "default": true }, "MD052": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md", "oneOf": [ { "type": "boolean" @@ -4062,7 +4062,7 @@ "default": true }, "reference-links-images": { - "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md", + "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md052.md", "oneOf": [ { "type": "boolean" @@ -4112,7 +4112,7 @@ "default": true }, "MD053": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md", "oneOf": [ { "type": "boolean" @@ -4157,7 +4157,7 @@ "default": true }, "link-image-reference-definitions": { - "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md", + "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md053.md", "oneOf": [ { "type": "boolean" @@ -4202,7 +4202,7 @@ "default": true }, "MD054": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md", "oneOf": [ { "type": "boolean" @@ -4267,7 +4267,7 @@ "default": true }, "link-image-style": { - "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md", + "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md054.md", "oneOf": [ { "type": "boolean" @@ -4332,7 +4332,7 @@ "default": true }, "MD055": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md", "oneOf": [ { "type": "boolean" @@ -4379,7 +4379,7 @@ "default": true }, "table-pipe-style": { - "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md", + "description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md055.md", "oneOf": [ { "type": "boolean" @@ -4426,7 +4426,7 @@ "default": true }, "MD056": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md", "oneOf": [ { "type": "boolean" @@ -4461,7 +4461,7 @@ "default": true }, "table-column-count": { - "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md", + "description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md056.md", "oneOf": [ { "type": "boolean" @@ -4496,7 +4496,7 @@ "default": true }, "MD058": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md", "oneOf": [ { "type": "boolean" @@ -4531,7 +4531,7 @@ "default": true }, "blanks-around-tables": { - "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md", + "description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md058.md", "oneOf": [ { "type": "boolean" @@ -4566,7 +4566,7 @@ "default": true }, "MD059": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md", "oneOf": [ { "type": "boolean" @@ -4614,7 +4614,7 @@ "default": true }, "descriptive-link-text": { - "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md", + "description": "MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md059.md", "oneOf": [ { "type": "boolean" @@ -4662,7 +4662,7 @@ "default": true }, "MD060": { - "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md", + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md", "oneOf": [ { "type": "boolean" @@ -4701,6 +4701,11 @@ "tight" ], "default": "any" + }, + "aligned_delimiter": { + "description": "Aligned delimiter columns", + "type": "boolean", + "default": false } } } @@ -4708,7 +4713,7 @@ "default": true }, "table-column-style": { - "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md", + "description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md060.md", "oneOf": [ { "type": "boolean" @@ -4747,6 +4752,11 @@ "tight" ], "default": "any" + }, + "aligned_delimiter": { + "description": "Aligned delimiter columns", + "type": "boolean", + "default": false } } } diff --git a/test/long-lines-negative-line-length.md b/test/long-lines-negative-line-length.md new file mode 100644 index 00000000..14f2e335 --- /dev/null +++ b/test/long-lines-negative-line-length.md @@ -0,0 +1,12 @@ +# Long Lines Negative Line Length + +Text text text text text text text text text text text text text text text text text text text text. + +This is an invalid configuration, but present in the wild and (for backward compatibility) disables the rule: + + + diff --git a/test/long-lines-thresholds.md b/test/long-lines-thresholds.md new file mode 100644 index 00000000..39403f52 --- /dev/null +++ b/test/long-lines-thresholds.md @@ -0,0 +1,55 @@ +# Long Lines Thresholds + +00000000011111111112222222222333333333344444444445 +12345678901234567890123456789012345678901234567890 + +Text text text text text text text te text + +Text text text text text text text tex text + +Text text text text text text text text text + +Text text text text text text text textx text + +Text text text text text text text textxe text + +{MD013:-2} {MD013:-4} {MD013:-6} + +## Text text text text text te text + +## Text text text text text tex text + +## Text text text text text text text + +## Text text text text text textx text + +## Text text text text text textxe text + +{MD013:-2} {MD013:-4} {MD013:-6} + +```text +Text text text te text +Text text text tex text +Text text text text text +Text text text textx text +Text text text textxe text +``` + +{MD013:-3} {MD013:-4} {MD013:-5} + + Text text tex text + Text text text text + Text text textx text + Text text textxe text + Text text textxet text + +{MD013:-2} {MD013:-3} {MD013:-4} + + diff --git a/test/markdownlint-test-custom-rules.mjs b/test/markdownlint-test-custom-rules.mjs index fc0723bf..132da729 100644 --- a/test/markdownlint-test-custom-rules.mjs +++ b/test/markdownlint-test-custom-rules.mjs @@ -400,12 +400,12 @@ test("customRulesNpmPackage", (t) => new Promise((resolve) => { }; lintAsync(options, function callback(err, actualResult) { t.falsy(err); - const expectedResult = {}; - expectedResult.string = { - "extended-ascii": [ 5 ], - "sample-rule": [ 3 ] + const expectedResult = { + "string": { + "extended-ascii": [ 5 ], + "sample-rule": [ 3 ] + } }; - // @ts-ignore t.deepEqual(actualResult, expectedResult, "Undetected issues."); resolve(); }); @@ -448,9 +448,10 @@ test("customRulesBadProperty", (t) => { ]) { const { propertyName, propertyValues } = testCase; for (const propertyValue of propertyValues) { - const badRule = { ...customRules.firstLine }; - // @ts-ignore - badRule[propertyName] = propertyValue; + const badRule = { + ...customRules.firstLine, + [propertyName]: propertyValue + }; /** @type {import("markdownlint").Options} */ const options = { "customRules": [ badRule ] @@ -1952,7 +1953,7 @@ test("customRulesValidateJson", (t) => new Promise((resolve) => { ] }; t.true( - actual && (actual["test/validate-json.md"][0].errorDetail.length > 0), + actual && (actual["test/validate-json.md"][0].errorDetail?.length !== 0), "Missing errorDetail" ); // @ts-ignore diff --git a/test/markdownlint-test-repos-dotnet-docs.mjs b/test/markdownlint-test-repos-dotnet-docs.mjs index 11c536f4..a419503a 100644 --- a/test/markdownlint-test-repos-dotnet-docs.mjs +++ b/test/markdownlint-test-repos-dotnet-docs.mjs @@ -9,5 +9,5 @@ test("https://github.com/dotnet/docs", (t) => { const rootDir = "./test-repos/dotnet-docs"; const globPatterns = [ join(rootDir, "**/*.md") ]; const configPath = join(rootDir, ".markdownlint-cli2.jsonc"); - return lintTestRepo(t, globPatterns, configPath, { "table-column-style": false }, true); + return lintTestRepo(t, globPatterns, configPath, undefined, true); }); diff --git a/test/markdownlint-test-repos-mdn-content.mjs b/test/markdownlint-test-repos-mdn-content.mjs index 718a3941..78088e86 100644 --- a/test/markdownlint-test-repos-mdn-content.mjs +++ b/test/markdownlint-test-repos-mdn-content.mjs @@ -9,5 +9,5 @@ test("https://github.com/mdn/content", (t) => { const rootDir = "./test-repos/mdn-content"; const globPatterns = [ join(rootDir, "**/*.md") ]; const configPath = join(rootDir, ".markdownlint-cli2.jsonc"); - return lintTestRepo(t, globPatterns, configPath, { "table-column-style": false }, true); + return lintTestRepo(t, globPatterns, configPath, undefined, true); }); diff --git a/test/markdownlint-test-repos.mjs b/test/markdownlint-test-repos.mjs index 317835ca..13b54c20 100644 --- a/test/markdownlint-test-repos.mjs +++ b/test/markdownlint-test-repos.mjs @@ -14,20 +14,20 @@ import { markdownlintParallel } from "./markdownlint-test-parallel.mjs"; /** * Lints a test repository. * - * @param {Object} t Test instance. + * @param {import("ava").ExecutionContext} t Test instance. * @param {string[]} globPatterns Array of files to in/exclude. * @param {string} configPath Path to config file. * @param {Configuration} [configOverrides] Configuration overrides. * @param {boolean} [parallel] True to lint in parallel. - * @returns {Promise} Test result. + * @returns {Promise} Test result. */ export function lintTestRepo(t, globPatterns, configPath, configOverrides, parallel) { t.plan(1); - const jsoncParse = (json) => { + const jsoncParse = (/** @type {string} */ json) => { const config = jsoncParser.parse(json, [], { "allowTrailingComma": true }); return config.config || config; }; - const yamlParse = (yaml) => jsYaml.load(yaml); + const yamlParse = (/** @type {string} */ yaml) => jsYaml.load(yaml); return Promise.all([ globby(globPatterns), readConfig(configPath, [ jsoncParse, yamlParse ]) diff --git a/test/markdownlint-test.mjs b/test/markdownlint-test.mjs index a10497a9..1696c0f4 100644 --- a/test/markdownlint-test.mjs +++ b/test/markdownlint-test.mjs @@ -1101,7 +1101,7 @@ test("readme", async(t) => { }); test("validateJsonUsingConfigSchemaStrict", async(t) => { - t.plan(218); + t.plan(223); // @ts-ignore const ajv = new Ajv(ajvOptions); const validateSchemaStrict = ajv.compile(configSchemaStrict); @@ -1112,6 +1112,7 @@ test("validateJsonUsingConfigSchemaStrict", async(t) => { "test/inline-configure-file-invalid.md", "test/inline-configure-file-violations.md", "test/invalid-ul-style-style.md", + "test/long-lines-negative-line-length.md", "test/wrong-types-in-config-file.md" ]); const files = await globby([ @@ -1587,3 +1588,35 @@ test("constants", (t) => { // @ts-ignore t.is(constants.version, packageJson.version); }); + +test("version numbers match", async(t) => { + t.plan(441); + const files = [ + // See previous test + // "./package.json", + "./CHANGELOG.md", + "./README.md", + "./helpers/README.md", + "./lib/configuration-strict.d.ts", + // See previous test + // "./lib/constants.mjs", + "./schema/.markdownlint.jsonc", + "./schema/.markdownlint.yaml", + "./schema/markdownlint-config-schema.json", + "./schema/markdownlint-config-schema-strict.json" + ]; + const contents = await Promise.all(files.map((file) => fs.promises.readFile(file, "utf8"))); + for (const content of contents) { + // eslint-disable-next-line init-declarations + let match; + const githubProjectOrFileRe = /(?:DavidAnson\/markdownlint|markdownlint\/blob)\/v(\d+\.\d+\.\d+)/gu; + while ((match = githubProjectOrFileRe.exec(content)) !== null) { + t.is(match[1], packageJson.version); + } + const firstChangelogRe = /## (\d+\.\d+\.\d+)/u; + match = firstChangelogRe.exec(content); + if (match) { + t.is(match[1], packageJson.version); + } + } +}); diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md index 09d15586..ce511ed6 100644 --- a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md +++ b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.md @@ -8,70 +8,4 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/mdn-content/files/en-us/glossary/denial_of_service/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/flex/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/function/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/https_rr/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/parameter/index.md:31 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/prefetch/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/session_hijacking/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/time_to_interactive/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h4]␊ - test-repos/mdn-content/files/en-us/glossary/truthy/index.md:30 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/xhtml/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/glossary/xlink/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/learn_web_development/howto/solve_html_problems/index.md:11 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/add-ons/contact_us/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/externally_connectable/index.md:53 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/host_permissions/index.md:39 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/1.5/what_s_new_in_1.5_alpha/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/dom_improvements/index.md:20 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/full_page_zoom/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/notable_bugs_fixed/index.md:26 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/templates/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/xul_improvements_in_firefox_3/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/canvasrenderingcontext2d/save/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/expectedimprovement/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/presentationarea/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/fetchevent/respondwith/index.md:30 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/htmlelement/dataset/index.md:40 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/htmlelement/editcontext/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/reportbody/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/bytesdiscardedonsend/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/consentrequestssent/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsdiscardedonsend/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsreceived/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetssent/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/foundation/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/priority/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/usernamefragment/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcrtpreceiver/transform/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/rtcrtpsender/transform/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/texttrack/mode/index.md:21 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/css/css_selectors/selector_structure/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/css/font-variant-caps/index.md:54 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/attributes/crossorigin/index.md:63 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/attributes/maxlength/index.md:18 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/attributes/required/index.md:26 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/elements/input/time/index.md:43 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/data-_star_/index.md:73 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/itemscope/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/display_override/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/file_handlers/index.md:22 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/launch_handler/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/note_taking/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/protocol_handlers/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/serviceworker/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/share_target/index.md:20 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/app_structure/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/svg/guides/namespaces_crash_course/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/svg/guides/scripting/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/svg/tutorials/svg_from_scratch/other_content_in_svg/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/webdriver/reference/capabilities/firefoxoptions/index.md:18 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h5]␊ - test-repos/mdn-content/files/en-us/web/xml/xpath/guides/snippets/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/xml/xslt/guides/common_errors/index.md:8 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/xml/xslt/guides/pi_parameters/index.md:8 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/web/xml/xslt/reference/element/stylesheet/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/mdn-content/files/en-us/webassembly/guides/existing_c_to_wasm/index.md:66 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]` + '' diff --git a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap index 2415716c..24d00423 100644 Binary files a/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap and b/test/snapshots/markdownlint-test-repos-mdn-content.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-repos-small.mjs.md b/test/snapshots/markdownlint-test-repos-small.mjs.md index 8bb4d5c7..93530931 100644 --- a/test/snapshots/markdownlint-test-repos-small.mjs.md +++ b/test/snapshots/markdownlint-test-repos-small.mjs.md @@ -8,23 +8,25 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/apache-airflow/clients/python/CHANGELOG.md:38 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v3.0.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:90 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.10.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:110 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:117 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:136 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.8.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:159 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.3"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:170 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.2"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:186 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:209 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.2"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:225 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:241 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:264 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.1"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:280 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:300 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.3.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:318 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.2.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:339 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.1.0"]␊ - test-repos/apache-airflow/clients/python/CHANGELOG.md:360 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.0.0"]␊ + `test-repos/apache-airflow/clients/python/CHANGELOG.md:41 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v3.1.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:77 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v3.0.2"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:95 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v3.0.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:147 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.10.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:167 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:174 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.9.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:193 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.8.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:216 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.3"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:227 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.2"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:243 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.7.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:266 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.2"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:282 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:298 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.6.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:321 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.1"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:337 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.5.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:357 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.3.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:375 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.2.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:396 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.1.0"]␊ + test-repos/apache-airflow/clients/python/CHANGELOG.md:417 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "v2.0.0"]␊ test-repos/apache-airflow/clients/python/README.md:22 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Overview"]␊ test-repos/apache-airflow/clients/python/README.md:135 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Trying the API"]␊ test-repos/apache-airflow/clients/python/README.md:176 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Authentication"]␊ @@ -238,7 +240,6 @@ Generated by [AVA](https://avajs.dev). test-repos/apache-airflow/dev/MANUALLY_BUILDING_IMAGES.md:76:32 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/apache-airflow/dev/MANUALLY_GENERATING_IMAGE_CACHE_AND_CONSTRAINTS.md:114:32 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/apache-airflow/dev/PROJECT_GUIDELINES.md:42:3 error MD059/descriptive-link-text Link text should be descriptive [Context: "[Link]"]␊ - test-repos/apache-airflow/generated/PYPI_README.md:30:532 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ test-repos/apache-airflow/generated/README.md:23:43 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md:30 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Scope"]␊ test-repos/apache-airflow/providers/amazon/tests/system/amazon/CONTRIBUTING.md:38 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Tenants"]␊ @@ -248,7 +249,6 @@ Generated by [AVA](https://avajs.dev). test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md:71 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "External usage, tracking API c..."]␊ test-repos/apache-airflow/providers/common/sql/src/airflow/providers/common/sql/README_API.md:81 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Possible future work"]␊ test-repos/apache-airflow/providers/google/tests/system/google/README.md:77:4 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/apache-airflow/README.md:28:532 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md:29 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Status update"]␊ test-repos/apache-airflow/scripts/in_container/quarantine_issue_header.md:33 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "List of Quarantined issues"]` @@ -256,14 +256,14 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/electron-electron/docs/api/structures/notification-action.md:10:163 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/api/structures/notification-action.md:10:431 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:12 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:12 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:33 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:33 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/electron-electron/docs/breaking-changes.md:2337:47 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + `test-repos/electron-electron/docs/api/structures/notification-action.md:10:163 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/api/structures/notification-action.md:10:431 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:12 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:12 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:33 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:33 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ + test-repos/electron-electron/docs/breaking-changes.md:2356:47 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ test-repos/electron-electron/docs/tutorial/electron-timelines.md:12:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ test-repos/electron-electron/docs/tutorial/electron-timelines.md:13:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ test-repos/electron-electron/docs/tutorial/electron-timelines.md:14:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ @@ -277,30 +277,31 @@ Generated by [AVA](https://avajs.dev). test-repos/electron-electron/docs/tutorial/electron-timelines.md:22:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ test-repos/electron-electron/docs/tutorial/electron-timelines.md:23:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ test-repos/electron-electron/docs/tutorial/electron-timelines.md:24:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:32:208 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:33:182 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:34:45 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:34:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:34:66 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:34:368 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:35:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:35:60 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:35:70 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/esm.md:35:369 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:30:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:30:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:31:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:31:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:32:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:32:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:33:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:33:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:34:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:34:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:35:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:35:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:36:27 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/electron-electron/docs/tutorial/examples.md:36:145 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/electron-timelines.md:25:10 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:32:208 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:33:182 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:45 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:56 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:66 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:34:368 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:60 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:70 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/esm.md:35:369 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:30:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:30:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:31:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:31:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:32:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:32:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:33:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:33:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:34:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:34:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:35:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:35:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:36:27 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/electron-electron/docs/tutorial/examples.md:36:145 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ test-repos/electron-electron/docs/tutorial/menus.md:203:32 error MD052/reference-links-images Reference links and images should use a label that is defined [Missing link or image reference definition: "sharemenu"] [Context: "[share menu][ShareMenu]"]` ## https://github.com/eslint/eslint @@ -308,8 +309,7 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations `test-repos/eslint-eslint/docs/src/extend/custom-rule-tutorial.md:502:58 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/eslint-eslint/docs/src/extend/custom-rules.md:141:65 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/eslint-eslint/docs/src/extend/custom-rules.md:148:148 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/eslint-eslint/docs/src/extend/custom-rules.md:142:65 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/eslint-eslint/docs/src/integrate/integration-tutorial.md:278:2 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]` ## https://github.com/mkdocs/mkdocs @@ -332,26 +332,26 @@ Generated by [AVA](https://avajs.dev). test-repos/mochajs-mocha/docs/index.md:39:3 error MD051/link-fragments Link fragments should be valid [Context: "[node debugger support](#-inspect-inspect-brk-inspect)"]␊ test-repos/mochajs-mocha/docs/index.md:41:3 error MD051/link-fragments Link fragments should be valid [Context: "[source-map support](#-enable-source-maps)"]␊ test-repos/mochajs-mocha/docs/index.md:47:3 error MD051/link-fragments Link fragments should be valid [Context: "[arbitrary transpiler support (coffee-script etc)](#-compilers)"]␊ - test-repos/mochajs-mocha/docs/index.md:1262:32 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md:1280:66 error MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ - test-repos/mochajs-mocha/docs/index.md:1301:80 error MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ - test-repos/mochajs-mocha/docs/index.md:1307:140 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md:1332:8 error MD051/link-fragments Link fragments should be valid [Context: "[\`--grep\`](#-grep-regexp-g-regexp)"]␊ - test-repos/mochajs-mocha/docs/index.md:1332:46 error MD051/link-fragments Link fragments should be valid [Context: "[\`--fgrep\`](#-fgrep-string-f-string)"]␊ - test-repos/mochajs-mocha/docs/index.md:1343:3 error MD051/link-fragments Link fragments should be valid [Context: "[\`--file\`](#-file-file)"]␊ - test-repos/mochajs-mocha/docs/index.md:1344:3 error MD051/link-fragments Link fragments should be valid [Context: "[\`--sort\`](#-sort-s)"]␊ - test-repos/mochajs-mocha/docs/index.md:1350:253 error MD051/link-fragments Link fragments should be valid [Context: "[globally](#-timeout-ms-t-ms)"]␊ - test-repos/mochajs-mocha/docs/index.md:1411:58 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md:1418:115 error MD051/link-fragments Link fragments should be valid [Context: "[\`--timeout\`](#-timeout-ms-t-ms)"]␊ - test-repos/mochajs-mocha/docs/index.md:1428:69 error MD051/link-fragments Link fragments should be valid [Context: "[job count](#-jobs-count-j-count)"]␊ - test-repos/mochajs-mocha/docs/index.md:1442:54 error MD051/link-fragments Link fragments should be valid [Context: "[\`--require\`](#-require-module-r-module)"]␊ - test-repos/mochajs-mocha/docs/index.md:1652:112 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ - test-repos/mochajs-mocha/docs/index.md:2132:3 error MD051/link-fragments Link fragments should be valid [Context: "[Watch mode](#-watch-w)"]␊ - test-repos/mochajs-mocha/docs/index.md:2431:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-notifications"] [Context: "[caniuse-notifications]: https..."]␊ - test-repos/mochajs-mocha/docs/index.md:2432:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-promises"] [Context: "[caniuse-promises]: https://ca..."]␊ - test-repos/mochajs-mocha/docs/index.md:2463:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mocha-website"] [Context: "[mocha-website]: https://mocha..."]␊ - test-repos/mochajs-mocha/docs/index.md:2230:124 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/mochajs-mocha/docs/index.md:2302:81 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/mochajs-mocha/docs/index.md:1268:32 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1286:66 error MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ + test-repos/mochajs-mocha/docs/index.md:1307:80 error MD051/link-fragments Link fragments should be valid [Context: "[\`--node-option\`](#-node-option-name-n-name)"]␊ + test-repos/mochajs-mocha/docs/index.md:1313:140 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1338:8 error MD051/link-fragments Link fragments should be valid [Context: "[\`--grep\`](#-grep-regexp-g-regexp)"]␊ + test-repos/mochajs-mocha/docs/index.md:1338:46 error MD051/link-fragments Link fragments should be valid [Context: "[\`--fgrep\`](#-fgrep-string-f-string)"]␊ + test-repos/mochajs-mocha/docs/index.md:1349:3 error MD051/link-fragments Link fragments should be valid [Context: "[\`--file\`](#-file-file)"]␊ + test-repos/mochajs-mocha/docs/index.md:1350:3 error MD051/link-fragments Link fragments should be valid [Context: "[\`--sort\`](#-sort-s)"]␊ + test-repos/mochajs-mocha/docs/index.md:1356:253 error MD051/link-fragments Link fragments should be valid [Context: "[globally](#-timeout-ms-t-ms)"]␊ + test-repos/mochajs-mocha/docs/index.md:1417:58 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:1424:115 error MD051/link-fragments Link fragments should be valid [Context: "[\`--timeout\`](#-timeout-ms-t-ms)"]␊ + test-repos/mochajs-mocha/docs/index.md:1434:69 error MD051/link-fragments Link fragments should be valid [Context: "[job count](#-jobs-count-j-count)"]␊ + test-repos/mochajs-mocha/docs/index.md:1448:54 error MD051/link-fragments Link fragments should be valid [Context: "[\`--require\`](#-require-module-r-module)"]␊ + test-repos/mochajs-mocha/docs/index.md:1658:112 error MD051/link-fragments Link fragments should be valid [Context: "[\`--parallel\`](#-parallel-p)"]␊ + test-repos/mochajs-mocha/docs/index.md:2138:3 error MD051/link-fragments Link fragments should be valid [Context: "[Watch mode](#-watch-w)"]␊ + test-repos/mochajs-mocha/docs/index.md:2437:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-notifications"] [Context: "[caniuse-notifications]: https..."]␊ + test-repos/mochajs-mocha/docs/index.md:2438:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "caniuse-promises"] [Context: "[caniuse-promises]: https://ca..."]␊ + test-repos/mochajs-mocha/docs/index.md:2469:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mocha-website"] [Context: "[mocha-website]: https://mocha..."]␊ + test-repos/mochajs-mocha/docs/index.md:2236:124 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ + test-repos/mochajs-mocha/docs/index.md:2308:81 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/mochajs-mocha/PROJECT_CHARTER.md:51:153 error MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ test-repos/mochajs-mocha/PROJECT_CHARTER.md:56:93 error MD051/link-fragments Link fragments should be valid [Context: "[§2: Scope](#%c2%a72-scope)"]␊ test-repos/mochajs-mocha/README.md:39:46 error MD045/no-alt-text Images should have alternate text (alt text)` @@ -360,172 +360,7 @@ Generated by [AVA](https://avajs.dev). > Expected linting violations - `test-repos/pi-hole-docs/docs/api/tls.md:28:66 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/api/tls.md:49:64 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/api/tls.md:69:74 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/api/tls.md:70:73 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:1 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:16 error MD060/table-column-style Table column style [Table pipe has space to the left for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:16 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:12:31 error MD060/table-column-style Table column style [Table pipe has space to the left for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:31:15 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:32:14 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:33:12 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:34:15 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:35:18 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:36:17 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:37:13 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/docker/upgrading/v5-v6.md:38:21 error MD060/table-column-style Table column style [Table pipe has space to the right for style "tight"]␊ - test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:119:11 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:119:11 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/ftldns/cache_dump.md:131:8 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:66:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:66:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:67:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:67:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:68:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:68:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:69:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:69:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:70:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:70:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:88:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:88:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:89:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:89:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:90:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:90:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:91:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:91:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:92:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:92:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:116:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:116:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:117:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:117:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:118:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:118:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:119:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:119:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:120:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:120:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:139:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:139:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:140:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:140:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:141:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:141:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:142:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:142:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:143:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:143:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:162:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:162:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:163:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:163:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:164:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:164:46 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:165:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:165:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:166:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:166:56 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:190:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:190:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:191:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:191:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:192:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:192:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:193:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:193:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:194:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:194:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:212:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:212:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:213:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:213:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:214:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:214:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:215:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:215:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:216:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:216:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:235:23 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:235:32 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:236:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:236:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:237:29 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:237:47 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:238:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:238:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:239:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/group_management/example.md:239:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/guides/misc/allowlist-denylist.md:14:96 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/coverage.md:7 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:4:1 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:11:25 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:34:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:36:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:42:1 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:42:4 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:43:1 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:44:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:46:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:61:1 error MD060/table-column-style Table column style [Table pipe has extra space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:62:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:64:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:72:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:74:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:82:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:84:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:96:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:98:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:126:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:128:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:136:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:138:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:152:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:154:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:168:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:170:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:178:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:180:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:188:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:190:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:198:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:200:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:208:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:210:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:220:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:222:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:230:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:232:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:240:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/pihole-command.md:242:19 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:7 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:54:192 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:55:122 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:56:122 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:57:57 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:57:68 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:57:370 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/main/prerequisites.md:58:123 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:84:7 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:84:7 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:85:10 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:85:10 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:86:10 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:86:10 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:137:6 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:142:50 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:143:67 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:143:67 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:144:2 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:144:2 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:144:26 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:144:26 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:145:40 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:146:6 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]␊ - test-repos/pi-hole-docs/docs/regex/tutorial.md:147:68 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]` + '' ## https://github.com/v8/v8.dev @@ -631,19 +466,19 @@ Generated by [AVA](https://avajs.dev). test-repos/v8-v8-dev/src/blog/v8-nodejs.md:29:153 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/v8-v8-dev/src/blog/v8-release-80.md:46 error MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| || Des..."]␊ test-repos/v8-v8-dev/src/blog/v8-release-80.md:53 error MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| ^^ | GC | -7%..."]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:47:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:48:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:49:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:50:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:51:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:52:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/blog/v8-release-80.md:53:15 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:47:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:48:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:49:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:50:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:51:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:52:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/blog/v8-release-80.md:53:15 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ test-repos/v8-v8-dev/src/blog/v8-release-86.md:16:371 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:61 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:206 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/v8-v8-dev/src/blog/wasm-decompile.md:153:413 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ - test-repos/v8-v8-dev/src/docs/become-committer.md:34:141 error MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ - test-repos/v8-v8-dev/src/docs/become-committer.md:44:326 error MD034/no-bare-urls Bare URL used [Context: "v8-committers@googlegroups.com"]␊ + test-repos/v8-v8-dev/src/docs/become-committer.md:34:141 error MD034/no-bare-urls Bare URL used [Context: "v8-committers@chromium.org"]␊ + test-repos/v8-v8-dev/src/docs/become-committer.md:44:326 error MD034/no-bare-urls Bare URL used [Context: "v8-committers@chromium.org"]␊ test-repos/v8-v8-dev/src/docs/blink-layout-tests.md:11:78 error MD059/descriptive-link-text Link text should be descriptive [Context: "[more]"]␊ test-repos/v8-v8-dev/src/docs/contribute.md:23:19 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ test-repos/v8-v8-dev/src/docs/cross-compile-arm.md:21:93 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]␊ @@ -716,10 +551,8 @@ Generated by [AVA](https://avajs.dev). test-repos/v8-v8-dev/src/features/promise-combinators.md:120:1 error MD033/no-inline-html Inline HTML [Element: feature-support]␊ test-repos/v8-v8-dev/src/features/promise-combinators.md:23 error MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| name ..."]␊ test-repos/v8-v8-dev/src/features/promise-combinators.md:28 error MD058/blanks-around-tables Tables should be surrounded by blank lines [Context: "| [\`Promise.any\`](#promise.any..."]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md:25:172 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md:26:162 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md:27:162 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/v8-v8-dev/src/features/promise-combinators.md:28:172 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:25:172 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/v8-v8-dev/src/features/promise-combinators.md:28:172 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ test-repos/v8-v8-dev/src/features/promise-finally.md:82:1 error MD033/no-inline-html Inline HTML [Element: feature-support]␊ test-repos/v8-v8-dev/src/features/regexp-match-indices.md:134:1 error MD033/no-inline-html Inline HTML [Element: feature-support]␊ test-repos/v8-v8-dev/src/features/regexp-v-flag.md:254:1 error MD033/no-inline-html Inline HTML [Element: feature-support]␊ @@ -758,24 +591,24 @@ Generated by [AVA](https://avajs.dev). test-repos/webhintio-hint/packages/hint-no-protocol-relative-urls/README.md:110:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "ie issue"] [Context: "[ie issue]: https://www.steves..."]␊ test-repos/webhintio-hint/packages/hint-performance-budget/README.md:198:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "tcp handshake"] [Context: "[tcp handshake]: https://hpbn...."]␊ test-repos/webhintio-hint/packages/hint-strict-transport-security/README.md:278:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:41 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:50 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:25 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:35 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:48 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:25 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:35 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:39 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:40 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:40 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:40 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:40 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ - test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:49 error MD060/table-column-style Table column style [Table pipe does not align with heading for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:41 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:21:50 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:25 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:35 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:39 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:22:48 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:25 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:35 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:39 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:23:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:40 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:24:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:40 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:25:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:40 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:26:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:40 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ + test-repos/webhintio-hint/packages/hint-typescript-config/docs/target.md:27:49 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]␊ test-repos/webhintio-hint/packages/hint-x-content-type-options/README.md:181:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "fetch spec issue"] [Context: "[fetch spec issue]: https://gi..."]␊ test-repos/webhintio-hint/packages/hint/docs/about/CONTRIBUTORS.md:10:370 error MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊ test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md:218:1 error MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "openjs foundation"] [Context: "[OpenJS Foundation]: https://o..."]␊ diff --git a/test/snapshots/markdownlint-test-repos-small.mjs.snap b/test/snapshots/markdownlint-test-repos-small.mjs.snap index 6e3a4c93..30407cd8 100644 Binary files a/test/snapshots/markdownlint-test-repos-small.mjs.snap and b/test/snapshots/markdownlint-test-repos-small.mjs.snap differ diff --git a/test/snapshots/markdownlint-test-scenarios.mjs.md b/test/snapshots/markdownlint-test-scenarios.mjs.md index dc7c2f22..393300c4 100644 --- a/test/snapshots/markdownlint-test-scenarios.mjs.md +++ b/test/snapshots/markdownlint-test-scenarios.mjs.md @@ -8234,7 +8234,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 18, 1, @@ -42078,6 +42078,27 @@ Generated by [AVA](https://avajs.dev). `, } +## long-lines-negative-line-length.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Long Lines Negative Line Length␊ + ␊ + Text text text text text text text text text text text text text text text text text text text text.␊ + ␊ + This is an invalid configuration, but present in the wild and (for backward compatibility) disables the rule:␊ + ␊ + ␊ + ␊ + `, + } + ## long-lines-short-code.md > Snapshot 1 @@ -42637,6 +42658,275 @@ Generated by [AVA](https://avajs.dev). `, } +## long-lines-thresholds.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Expected: 40; Actual: 44', + errorRange: [ + 41, + 4, + ], + fixInfo: null, + lineNumber: 10, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 40; Actual: 45', + errorRange: [ + 41, + 5, + ], + fixInfo: null, + lineNumber: 12, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 40; Actual: 46', + errorRange: [ + 41, + 6, + ], + fixInfo: null, + lineNumber: 14, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 33; Actual: 37', + errorRange: [ + 34, + 4, + ], + fixInfo: null, + lineNumber: 22, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 33; Actual: 38', + errorRange: [ + 34, + 5, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 33; Actual: 39', + errorRange: [ + 34, + 6, + ], + fixInfo: null, + lineNumber: 26, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 24', + errorRange: [ + 21, + 4, + ], + fixInfo: null, + lineNumber: 33, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 25', + errorRange: [ + 21, + 5, + ], + fixInfo: null, + lineNumber: 34, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 26', + errorRange: [ + 21, + 6, + ], + fixInfo: null, + lineNumber: 35, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 24', + errorRange: [ + 21, + 4, + ], + fixInfo: null, + lineNumber: 42, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 25', + errorRange: [ + 21, + 5, + ], + fixInfo: null, + lineNumber: 43, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Expected: 20; Actual: 26', + errorRange: [ + 21, + 6, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Line length', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md013.md', + ruleNames: [ + 'MD013', + 'line-length', + ], + severity: 'error', + }, + ], + fixed: `# Long Lines Thresholds␊ + ␊ + 00000000011111111112222222222333333333344444444445␊ + 12345678901234567890123456789012345678901234567890␊ + ␊ + Text text text text text text text te text␊ + ␊ + Text text text text text text text tex text␊ + ␊ + Text text text text text text text text text␊ + ␊ + Text text text text text text text textx text␊ + ␊ + Text text text text text text text textxe text␊ + ␊ + {MD013:-2} {MD013:-4} {MD013:-6}␊ + ␊ + ## Text text text text text te text␊ + ␊ + ## Text text text text text tex text␊ + ␊ + ## Text text text text text text text␊ + ␊ + ## Text text text text text textx text␊ + ␊ + ## Text text text text text textxe text␊ + ␊ + {MD013:-2} {MD013:-4} {MD013:-6}␊ + ␊ + \`\`\`text␊ + Text text text te text␊ + Text text text tex text␊ + Text text text text text␊ + Text text text textx text␊ + Text text text textxe text␊ + \`\`\`␊ + ␊ + {MD013:-3} {MD013:-4} {MD013:-5}␊ + ␊ + Text text tex text␊ + Text text text text␊ + Text text textx text␊ + Text text textxe text␊ + Text text textxet text␊ + ␊ + {MD013:-2} {MD013:-3} {MD013:-4}␊ + ␊ + ␊ + `, + } + ## long_lines.md > Snapshot 1 @@ -61778,6 +62068,349 @@ Generated by [AVA](https://avajs.dev). `, } +## table-column-style-aligned-delimiter.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 28, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 9, + 1, + ], + fixInfo: null, + lineNumber: 28, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 13, + 1, + ], + fixInfo: null, + lineNumber: 28, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 22, + 1, + ], + fixInfo: null, + lineNumber: 36, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 50, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 20, + 1, + ], + fixInfo: null, + lineNumber: 58, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 3, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 5, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 7, + 1, + ], + fixInfo: null, + lineNumber: 72, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 18, + 1, + ], + fixInfo: null, + lineNumber: 80, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 2, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 4, + 1, + ], + fixInfo: null, + lineNumber: 94, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for option "aligned_delimiter"', + errorRange: [ + 17, + 1, + ], + fixInfo: null, + lineNumber: 102, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + ], + fixed: `# Table Column Style - Aligned Delimiter␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + ## Compact / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | ------- | ------- |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + | Heading | Heading | Heading |␊ + | - | - | - |␊ + | Text | Text text | Text |␊ + | Text text | Text text text | Text |␊ + | Text | Text | Text |␊ + ␊ + {MD060:-5}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | -------- | ------ |␊ + | Text text | Text text text | Text |␊ + ␊ + {MD060:-3}␊ + ␊ + ## Compact / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | ------- | -------␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + Heading | Heading | Heading␊ + -- | -- | --␊ + Text | Text text | Text␊ + Text text | Text text text | Text␊ + Text | Text | Text␊ + ␊ + {MD060:-5}␊ + ␊ + Heading | Heading | Heading␊ + ------- | -------- | ------␊ + Text text | Text text text | Text␊ + ␊ + {MD060:-3}␊ + ␊ + ## Tight / Edge Pipes␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|-------|-------|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + |Heading|Heading|Heading|␊ + |-|-|-|␊ + |Text|Text text|Text|␊ + |Text text|Text text text|Text|␊ + |Text|Text|Text|␊ + ␊ + {MD060:-5}␊ + ␊ + |Heading|Heading|Heading|␊ + |-------|--------|------|␊ + |Text text|Text text text|Text|␊ + ␊ + {MD060:-3}␊ + ␊ + ## Tight / No Edge Pipes␊ + ␊ + Heading|Heading|Heading␊ + -------|-------|-------␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + Heading|Heading|Heading␊ + -|-|-␊ + Text|Text text|Text␊ + Text text|Text text text|Text␊ + Text|Text|Text␊ + ␊ + {MD060:-5}␊ + ␊ + Heading|Heading|Heading␊ + -------|--------|------␊ + Text text|Text text text|Text␊ + ␊ + {MD060:-3}␊ + ␊ + ␊ + `, + } + ## table-column-style-aligned.md > Snapshot 1 @@ -61786,7 +62419,7 @@ Generated by [AVA](https://avajs.dev). errors: [ { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -61803,7 +62436,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 32, 1, @@ -61820,7 +62453,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 12, 1, @@ -61837,7 +62470,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 24, 1, @@ -61854,7 +62487,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -61871,7 +62504,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 32, 1, @@ -61888,7 +62521,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -61905,7 +62538,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -61922,7 +62555,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -61939,7 +62572,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -61956,7 +62589,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 8, 1, @@ -61973,7 +62606,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -61990,7 +62623,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 27, 1, @@ -62007,7 +62640,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -62024,7 +62657,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 30, 1, @@ -62041,7 +62674,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 37, 1, @@ -62058,7 +62691,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 8, 1, @@ -62075,7 +62708,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 15, 1, @@ -62092,7 +62725,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -62109,7 +62742,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -62126,7 +62759,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 9, 1, @@ -62143,7 +62776,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -62160,7 +62793,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 8, 1, @@ -62177,7 +62810,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -62194,7 +62827,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 27, 1, @@ -62211,7 +62844,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -62228,7 +62861,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 30, 1, @@ -62245,7 +62878,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 37, 1, @@ -62262,7 +62895,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 8, 1, @@ -62279,7 +62912,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 15, 1, @@ -62296,7 +62929,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -62313,7 +62946,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 23, 1, @@ -62330,7 +62963,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -62347,7 +62980,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 9, 1, @@ -62364,7 +62997,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 18, 1, @@ -62381,7 +63014,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 29, 1, @@ -62398,7 +63031,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 9, 1, @@ -62415,7 +63048,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 17, 1, @@ -62432,7 +63065,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -62449,7 +63082,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62466,7 +63099,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 18, 1, @@ -62483,7 +63116,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -62500,7 +63133,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 28, 1, @@ -62517,7 +63150,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62534,7 +63167,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -62551,7 +63184,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 4, 1, @@ -62568,7 +63201,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62585,7 +63218,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 18, 1, @@ -62602,7 +63235,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -62619,7 +63252,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 28, 1, @@ -62636,7 +63269,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62653,7 +63286,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -62670,7 +63303,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 4, 1, @@ -62687,7 +63320,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 12, 1, @@ -62704,7 +63337,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 21, 1, @@ -62721,7 +63354,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -62738,7 +63371,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 28, 1, @@ -62755,7 +63388,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 7, 1, @@ -62772,7 +63405,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 14, 1, @@ -62789,7 +63422,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62806,7 +63439,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -62823,7 +63456,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 21, 1, @@ -62840,7 +63473,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -62857,7 +63490,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 26, 1, @@ -62874,7 +63507,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -62891,7 +63524,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -62908,7 +63541,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -62925,7 +63558,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -62942,7 +63575,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 3, 1, @@ -62959,7 +63592,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -62976,7 +63609,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 7, 1, @@ -62993,7 +63626,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -63010,7 +63643,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -63027,7 +63660,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 21, 1, @@ -63044,7 +63677,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -63061,7 +63694,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 26, 1, @@ -63078,7 +63711,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -63095,7 +63728,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -63112,7 +63745,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 11, 1, @@ -63129,7 +63762,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -63146,7 +63779,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 17, 1, @@ -63163,7 +63796,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 7, 1, @@ -63180,7 +63813,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 23, 1, @@ -63197,7 +63830,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 12, 1, @@ -63214,7 +63847,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 27, 1, @@ -63231,7 +63864,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 32, 1, @@ -63248,7 +63881,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -63265,7 +63898,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 13, 1, @@ -63282,7 +63915,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -63299,7 +63932,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 15, 1, @@ -63316,7 +63949,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -63333,7 +63966,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 25, 1, @@ -63350,7 +63983,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -63367,7 +64000,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -63384,7 +64017,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 2, 1, @@ -63401,7 +64034,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 4, 1, @@ -63418,7 +64051,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -63435,7 +64068,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 15, 1, @@ -63452,7 +64085,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -63469,7 +64102,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 25, 1, @@ -63486,7 +64119,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -63503,7 +64136,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -63520,7 +64153,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -63537,7 +64170,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 6, 1, @@ -63554,7 +64187,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 16, 1, @@ -63571,7 +64204,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -63588,7 +64221,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 25, 1, @@ -63605,7 +64238,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 5, 1, @@ -63622,7 +64255,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 12, 1, @@ -67037,7 +67670,7 @@ Generated by [AVA](https://avajs.dev). errors: [ { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -67054,7 +67687,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 32, 1, @@ -67071,7 +67704,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 12, 1, @@ -67088,7 +67721,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 24, 1, @@ -67105,7 +67738,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -67122,7 +67755,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 32, 1, @@ -67139,7 +67772,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -67156,7 +67789,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 10, 1, @@ -67173,7 +67806,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 22, 1, @@ -67190,7 +67823,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 20, 1, @@ -67207,7 +67840,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 23, 1, @@ -67224,7 +67857,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -67241,7 +67874,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 9, 1, @@ -67258,7 +67891,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 18, 1, @@ -67275,7 +67908,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 29, 1, @@ -67292,7 +67925,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 9, 1, @@ -67309,7 +67942,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 17, 1, @@ -67326,7 +67959,7 @@ Generated by [AVA](https://avajs.dev). }, { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ 31, 1, @@ -67801,9 +68434,9 @@ Generated by [AVA](https://avajs.dev). errors: [ { errorContext: null, - errorDetail: 'Table pipe does not align with heading for style "aligned"', + errorDetail: 'Table pipe does not align with header for style "aligned"', errorRange: [ - 19, + 20, 1, ], fixInfo: null, @@ -67857,9 +68490,9 @@ Generated by [AVA](https://avajs.dev). ␊ | Response | Emoji |␊ | -------- | ----- |␊ - | Yes | ✅ |␊ - | No | ❎ |␊ - | Oops | ❌ |␊ + | Yes | ✅ |␊ + | No | ❎ |␊ + | Oops | ❌ |␊ ␊ {MD060:-2}␊ ␊ @@ -67885,6 +68518,324 @@ Generated by [AVA](https://avajs.dev). `, } +## table-column-style-irregular-trailing-pipe.md + +> Snapshot 1 + + { + errors: [ + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 35, + 1, + ], + fixInfo: null, + lineNumber: 8, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 40, + 1, + ], + fixInfo: null, + lineNumber: 15, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 35, + 1, + ], + fixInfo: null, + lineNumber: 17, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 40, + 1, + ], + fixInfo: null, + lineNumber: 23, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 35, + 1, + ], + fixInfo: null, + lineNumber: 24, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 31, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 37, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 38, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 30, + 1, + ], + fixInfo: null, + lineNumber: 39, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 37, + 1, + ], + fixInfo: null, + lineNumber: 44, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 38, + 1, + ], + fixInfo: null, + lineNumber: 53, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + { + errorContext: null, + errorDetail: 'Table pipe does not align with header for style "aligned"', + errorRange: [ + 38, + 1, + ], + fixInfo: null, + lineNumber: 54, + ruleDescription: 'Table column style', + ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md060.md', + ruleNames: [ + 'MD060', + 'table-column-style', + ], + severity: 'error', + }, + ], + fixed: `# Table Column Style - Irregular Trailing Pipe␊ + ␊ + ## Aligned / Edge Pipes␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text | Text text |␊ + | Text | Text text | Text |␊ + ␊ + {MD060:-3}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text text text |␊ + | Text | Text | Text |␊ + | Text | Text text | Text text |␊ + ␊ + {MD060:-2} {MD060:-4}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text text text |␊ + | Text | Text text | Text text |␊ + ␊ + {MD060:-2} {MD060:-3}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ------- |␊ + | Text | Text text | Text |␊ + | Text | Text | Text |␊ + | Text | Text text | Text |␊ + ␊ + {MD060:-3}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ---- |␊ + | Text | Text text | Text |␊ + | Text | Text text | Text |␊ + ␊ + {MD060:-2} {MD060:-3} {MD060:-4}␊ + ␊ + | Heading | Heading | Heading |␊ + | ------- | --------- | ----------- |␊ + | Text | Text text | Text text |␊ + | Text | Text text | Text text |␊ + ␊ + {MD060:-4}␊ + ␊ + | Heading | Heading |␊ + | ------- | ------- |␊ + | Text | Text |␊ + | Text | Text text text text |␊ + | Text | Text text text text text |␊ + ␊ + {MD060:-2} {MD060:-3}␊ + ␊ + ## Aligned / No Edge Pipes␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text | Text text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text text text␊ + Text | Text | Text␊ + Text | Text text | Text text␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text text text␊ + Text | Text text | Text text␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | -------␊ + Text | Text text | Text␊ + Text | Text | Text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | ----␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading | Heading␊ + ------- | --------- | ---------␊ + Text | Text text | Text␊ + Text | Text text | Text␊ + ␊ + Heading | Heading␊ + ------- | -------␊ + Text | Text␊ + Text | Text text text text␊ + Text | Text text text text text␊ + ␊ + ␊ + `, + } + ## table-column-style-tight.md > Snapshot 1 @@ -72533,6 +73484,72 @@ Generated by [AVA](https://avajs.dev). `, } +## table-column-style-wide-characters.md + +> Snapshot 1 + + { + errors: [], + fixed: `# Table Column Style - Wide Characters␊ + ␊ + ## Emoji␊ + ␊ + | AB | CD |␊ + | -- | -- |␊ + | EF | GH |␊ + | ✅ | KL |␊ + | MN | ✅ |␊ + | ✅ | ✅ |␊ + ␊ + | ✅ | CD |␊ + | -- | -- |␊ + | EF | GH |␊ + | ✅ | KL |␊ + | MN | ✅ |␊ + | ✅ | ✅ |␊ + ␊ + | AB | ✅ |␊ + | -- | -- |␊ + | EF | GH |␊ + | ✅ | KL |␊ + | MN | ✅ |␊ + | ✅ | ✅ |␊ + ␊ + | ✅ | ✅ |␊ + | -- | -- |␊ + | EF | GH |␊ + | ✅ | KL |␊ + | MN | ✅ |␊ + | ✅ | ✅ |␊ + ␊ + ## Hello World␊ + ␊ + | Language | Translation |␊ + |---------------------|----------------|␊ + | Emoji | 👋🌎 |␊ + | Portuguese (Brazil) | Olá mundo |␊ + | Turkish | Merhaba dünya |␊ + | Chinese (Mandarin) | 你好,世界 |␊ + | Japanese | こんにちは世界 |␊ + | Korean | 안녕 세상 |␊ + ␊ + ## ANSI Escape Codes␊ + ␊ + | Style | Escape codes |␊ + | --------- | ------------------------------------------------------- |␊ + | Bold | \\u001B[1m大胆な\\u001B[22m |␊ + | Underline | \\u001B[4mUnderline\\u001B[0m |␊ + | Link | \\u001B]8;;https://example.com\\u0007Link\\u001B]8;;\\u0007 |␊ + ␊ + ␊ + `, + } + ## table-content-with-issues.md > Snapshot 1 @@ -75717,6 +76734,36 @@ Generated by [AVA](https://avajs.dev). $$␊ x * y = x * y␊ $$␊ + ␊ + ## Content␊ + ␊ + $$␊ + ␊ + Text (reversed)[link] text␊ + ␊ + Text [invalid](#link) text␊ + ␊ + Text [link](not-descriptive-link-text) text␊ + ␊ + Text javascript text␊ + ␊ + $$␊ + ␊ + Text $ (reversed)[link] $ text␊ + ␊ + Text $ [invalid](#link) $ text␊ + ␊ + Text $ [link](not-descriptive-link-text) $ text␊ + ␊ + Text $ javascript $ text␊ + ␊ + ␊ `, } diff --git a/test/snapshots/markdownlint-test-scenarios.mjs.snap b/test/snapshots/markdownlint-test-scenarios.mjs.snap index 1a3c8359..7ec9f46c 100644 Binary files a/test/snapshots/markdownlint-test-scenarios.mjs.snap and b/test/snapshots/markdownlint-test-scenarios.mjs.snap differ diff --git a/test/table-column-style-aligned-delimiter.md b/test/table-column-style-aligned-delimiter.md new file mode 100644 index 00000000..dbc37f74 --- /dev/null +++ b/test/table-column-style-aligned-delimiter.md @@ -0,0 +1,112 @@ +# Table Column Style - Aligned Delimiter + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text text | Text | +| Text | Text text | Text | + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text text | Text +Text | Text text | Text + +## Compact / Edge Pipes + +| Heading | Heading | Heading | +| ------- | ------- | ------- | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +| Heading | Heading | Heading | +| - | - | - | +| Text | Text text | Text | +| Text text | Text text text | Text | +| Text | Text | Text | + +{MD060:-5} + +| Heading | Heading | Heading | +| ------- | -------- | ------ | +| Text text | Text text text | Text | + +{MD060:-3} + +## Compact / No Edge Pipes + +Heading | Heading | Heading +------- | ------- | ------- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +Heading | Heading | Heading +-- | -- | -- +Text | Text text | Text +Text text | Text text text | Text +Text | Text | Text + +{MD060:-5} + +Heading | Heading | Heading +------- | -------- | ------ +Text text | Text text text | Text + +{MD060:-3} + +## Tight / Edge Pipes + +|Heading|Heading|Heading| +|-------|-------|-------| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +|Heading|Heading|Heading| +|-|-|-| +|Text|Text text|Text| +|Text text|Text text text|Text| +|Text|Text|Text| + +{MD060:-5} + +|Heading|Heading|Heading| +|-------|--------|------| +|Text text|Text text text|Text| + +{MD060:-3} + +## Tight / No Edge Pipes + +Heading|Heading|Heading +-------|-------|------- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +Heading|Heading|Heading +-|-|- +Text|Text text|Text +Text text|Text text text|Text +Text|Text|Text + +{MD060:-5} + +Heading|Heading|Heading +-------|--------|------ +Text text|Text text text|Text + +{MD060:-3} + + diff --git a/test/table-column-style-emoji.md b/test/table-column-style-emoji.md index 58120159..7fc0ffc5 100644 --- a/test/table-column-style-emoji.md +++ b/test/table-column-style-emoji.md @@ -4,9 +4,9 @@ | Response | Emoji | | -------- | ----- | -| Yes | ✅ | -| No | ❎ | -| Oops | ❌ | +| Yes | ✅ | +| No | ❎ | +| Oops | ❌ | {MD060:-2} diff --git a/test/table-column-style-irregular-trailing-pipe.md b/test/table-column-style-irregular-trailing-pipe.md new file mode 100644 index 00000000..0a36e24d --- /dev/null +++ b/test/table-column-style-irregular-trailing-pipe.md @@ -0,0 +1,104 @@ +# Table Column Style - Irregular Trailing Pipe + +## Aligned / Edge Pipes + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text | Text text | +| Text | Text text | Text | + +{MD060:-3} + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text text text | +| Text | Text | Text | +| Text | Text text | Text text | + +{MD060:-2} {MD060:-4} + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text text text | +| Text | Text text | Text text | + +{MD060:-2} {MD060:-3} + +| Heading | Heading | Heading | +| ------- | --------- | ------- | +| Text | Text text | Text | +| Text | Text | Text | +| Text | Text text | Text | + +{MD060:-3} + +| Heading | Heading | Heading | +| ------- | --------- | ---- | +| Text | Text text | Text | +| Text | Text text | Text | + +{MD060:-2} {MD060:-3} {MD060:-4} + +| Heading | Heading | Heading | +| ------- | --------- | ----------- | +| Text | Text text | Text text | +| Text | Text text | Text text | + +{MD060:-4} + +| Heading | Heading | +| ------- | ------- | +| Text | Text | +| Text | Text text text text | +| Text | Text text text text text | + +{MD060:-2} {MD060:-3} + +## Aligned / No Edge Pipes + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text | Text text +Text | Text text | Text + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text text text +Text | Text | Text +Text | Text text | Text text + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text text text +Text | Text text | Text text + +Heading | Heading | Heading +------- | --------- | ------- +Text | Text text | Text +Text | Text | Text +Text | Text text | Text + +Heading | Heading | Heading +------- | --------- | ---- +Text | Text text | Text +Text | Text text | Text + +Heading | Heading | Heading +------- | --------- | --------- +Text | Text text | Text +Text | Text text | Text + +Heading | Heading +------- | ------- +Text | Text +Text | Text text text text +Text | Text text text text text + + diff --git a/test/table-column-style-wide-characters.md b/test/table-column-style-wide-characters.md new file mode 100644 index 00000000..abb30238 --- /dev/null +++ b/test/table-column-style-wide-characters.md @@ -0,0 +1,57 @@ +# Table Column Style - Wide Characters + +## Emoji + +| AB | CD | +| -- | -- | +| EF | GH | +| ✅ | KL | +| MN | ✅ | +| ✅ | ✅ | + +| ✅ | CD | +| -- | -- | +| EF | GH | +| ✅ | KL | +| MN | ✅ | +| ✅ | ✅ | + +| AB | ✅ | +| -- | -- | +| EF | GH | +| ✅ | KL | +| MN | ✅ | +| ✅ | ✅ | + +| ✅ | ✅ | +| -- | -- | +| EF | GH | +| ✅ | KL | +| MN | ✅ | +| ✅ | ✅ | + +## Hello World + +| Language | Translation | +|---------------------|----------------| +| Emoji | 👋🌎 | +| Portuguese (Brazil) | Olá mundo | +| Turkish | Merhaba dünya | +| Chinese (Mandarin) | 你好,世界 | +| Japanese | こんにちは世界 | +| Korean | 안녕 세상 | + +## ANSI Escape Codes + +| Style | Escape codes | +| --------- | ------------------------------------------------------- | +| Bold | \u001B[1m大胆な\u001B[22m | +| Underline | \u001B[4mUnderline\u001B[0m | +| Link | \u001B]8;;https://example.com\u0007Link\u001B]8;;\u0007 | + + diff --git a/test/texmath-content.md b/test/texmath-content.md index 715a35c1..e27a360c 100644 --- a/test/texmath-content.md +++ b/test/texmath-content.md @@ -17,3 +17,33 @@ text $$ x * y = x * y $$ + +## Content + +$$ + +Text (reversed)[link] text + +Text [invalid](#link) text + +Text [link](not-descriptive-link-text) text + +Text javascript text + +$$ + +Text $ (reversed)[link] $ text + +Text $ [invalid](#link) $ text + +Text $ [link](not-descriptive-link-text) $ text + +Text $ javascript $ text + +