@alexlit/lint-kit 112.3.3 → 112.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/config-markdownlint/node_modules/entities/LICENSE +0 -11
- package/packages/config-markdownlint/node_modules/entities/lib/decode.d.ts +0 -211
- package/packages/config-markdownlint/node_modules/entities/lib/decode.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/decode.js +0 -536
- package/packages/config-markdownlint/node_modules/entities/lib/decode.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
- package/packages/config-markdownlint/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/decode_codepoint.js +0 -76
- package/packages/config-markdownlint/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/encode.d.ts +0 -22
- package/packages/config-markdownlint/node_modules/entities/lib/encode.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/encode.js +0 -77
- package/packages/config-markdownlint/node_modules/entities/lib/encode.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/escape.d.ts +0 -43
- package/packages/config-markdownlint/node_modules/entities/lib/escape.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/escape.js +0 -122
- package/packages/config-markdownlint/node_modules/entities/lib/escape.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode.d.ts +0 -211
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode.js +0 -496
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
- package/packages/config-markdownlint/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/encode.d.ts +0 -22
- package/packages/config-markdownlint/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/encode.js +0 -69
- package/packages/config-markdownlint/node_modules/entities/lib/esm/encode.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/escape.d.ts +0 -43
- package/packages/config-markdownlint/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/escape.js +0 -116
- package/packages/config-markdownlint/node_modules/entities/lib/esm/escape.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
- package/packages/config-markdownlint/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/index.d.ts +0 -96
- package/packages/config-markdownlint/node_modules/entities/lib/esm/index.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/index.js +0 -99
- package/packages/config-markdownlint/node_modules/entities/lib/esm/index.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/esm/package.json +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
- package/packages/config-markdownlint/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/packages/config-markdownlint/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/generated/encode-html.js +0 -12
- package/packages/config-markdownlint/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/index.d.ts +0 -96
- package/packages/config-markdownlint/node_modules/entities/lib/index.d.ts.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/lib/index.js +0 -126
- package/packages/config-markdownlint/node_modules/entities/lib/index.js.map +0 -1
- package/packages/config-markdownlint/node_modules/entities/package.json +0 -90
- package/packages/config-markdownlint/node_modules/entities/readme.md +0 -122
- package/packages/config-markdownlint/node_modules/markdown-it/LICENSE +0 -22
- package/packages/config-markdownlint/node_modules/markdown-it/README.md +0 -324
- package/packages/config-markdownlint/node_modules/markdown-it/bin/markdown-it.mjs +0 -107
- package/packages/config-markdownlint/node_modules/markdown-it/dist/index.cjs.js +0 -5540
- package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.js +0 -6963
- package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.min.js +0 -2
- package/packages/config-markdownlint/node_modules/markdown-it/index.mjs +0 -1
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/utils.mjs +0 -304
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
- package/packages/config-markdownlint/node_modules/markdown-it/lib/index.mjs +0 -565
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_block.mjs +0 -134
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_core.mjs +0 -62
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/default.mjs +0 -47
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
- package/packages/config-markdownlint/node_modules/markdown-it/lib/renderer.mjs +0 -322
- package/packages/config-markdownlint/node_modules/markdown-it/lib/ruler.mjs +0 -340
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -69
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -82
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -46
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -193
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -69
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -56
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -123
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
- package/packages/config-markdownlint/node_modules/markdown-it/lib/token.mjs +0 -191
- package/packages/config-markdownlint/node_modules/markdown-it/package.json +0 -92
- package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +0 -446
- package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +0 -93
- package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/README.md +0 -1032
- package/packages/config-markdownlint/node_modules/markdownlint/demo/markdownlint-browser.js +0 -7116
- package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +0 -383
- package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
- package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +0 -2462
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +0 -59
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +0 -53
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +0 -51
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +0 -56
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +0 -30
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +0 -58
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +0 -54
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +0 -28
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +0 -29
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +0 -31
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +0 -33
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +0 -44
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +0 -24
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +0 -98
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +0 -82
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +0 -55
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +0 -45
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +0 -69
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +0 -34
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +0 -41
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +0 -87
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +0 -100
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md055.md +0 -54
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md056.md +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +0 -72
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.js +0 -1025
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark.cjs +0 -445
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +0 -26
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.js +0 -10
- package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.js +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +0 -1178
- package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.js +0 -14
- package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.ts +0 -479
- package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.js +0 -1550
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.js +0 -25
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.js +0 -45
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.js +0 -79
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.js +0 -81
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.js +0 -92
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.js +0 -89
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.js +0 -63
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.js +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.js +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.js +0 -99
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.js +0 -57
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.js +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md019.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.js +0 -65
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md021.js +0 -65
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.js +0 -116
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.js +0 -41
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.js +0 -45
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.js +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.js +0 -54
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.js +0 -47
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.js +0 -70
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.js +0 -66
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.js +0 -43
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.js +0 -76
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.js +0 -46
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.js +0 -105
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.js +0 -31
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.js +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.js +0 -99
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.js +0 -106
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.js +0 -71
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.js +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.js +0 -53
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.js +0 -67
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.js +0 -115
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.js +0 -67
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.js +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.js +0 -31
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.js +0 -43
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.js +0 -108
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.js +0 -176
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.js +0 -62
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.js +0 -130
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md055.js +0 -80
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md056.js +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.js +0 -67
- package/packages/config-markdownlint/node_modules/markdownlint/package.json +0 -103
- package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -304
- package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +0 -272
- package/packages/config-markdownlint/node_modules/markdownlint/schema/ValidatingConfiguration.md +0 -28
- package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -1814
- package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +0 -5
- package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +0 -22
- package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +0 -26
- package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +0 -12
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/LICENSE +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/README.md +0 -10
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/micromark-browser.js +0 -2
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/micromark-html-browser.js +0 -2
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/micromark.cjs +0 -1
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/micromark.d.ts +0 -1751
- package/packages/config-markdownlint/node_modules/markdownlint-micromark/package.json +0 -46
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# `MD001` - Heading levels should only increment by one level at a time
|
|
2
|
-
|
|
3
|
-
Tags: `headings`
|
|
4
|
-
|
|
5
|
-
Aliases: `heading-increment`
|
|
6
|
-
|
|
7
|
-
This rule is triggered when you skip heading levels in a Markdown document, for
|
|
8
|
-
example:
|
|
9
|
-
|
|
10
|
-
```markdown
|
|
11
|
-
# Heading 1
|
|
12
|
-
|
|
13
|
-
### Heading 3
|
|
14
|
-
|
|
15
|
-
We skipped out a 2nd level heading in this document
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
When using multiple heading levels, nested headings should increase by only one
|
|
19
|
-
level at a time:
|
|
20
|
-
|
|
21
|
-
```markdown
|
|
22
|
-
# Heading 1
|
|
23
|
-
|
|
24
|
-
## Heading 2
|
|
25
|
-
|
|
26
|
-
### Heading 3
|
|
27
|
-
|
|
28
|
-
#### Heading 4
|
|
29
|
-
|
|
30
|
-
## Another Heading 2
|
|
31
|
-
|
|
32
|
-
### Another Heading 3
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Rationale: Headings represent the structure of a document and can be confusing
|
|
36
|
-
when skipped - especially for accessibility scenarios. More information:
|
|
37
|
-
<https://www.w3.org/WAI/tutorials/page-structure/headings/>.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# `MD003` - Heading style
|
|
2
|
-
|
|
3
|
-
Tags: `headings`
|
|
4
|
-
|
|
5
|
-
Aliases: `heading-style`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `style`: Heading style (`string`, default `consistent`, values `atx` /
|
|
10
|
-
`atx_closed` / `consistent` / `setext` / `setext_with_atx` /
|
|
11
|
-
`setext_with_atx_closed`)
|
|
12
|
-
|
|
13
|
-
This rule is triggered when different heading styles are used in the same
|
|
14
|
-
document:
|
|
15
|
-
|
|
16
|
-
```markdown
|
|
17
|
-
# ATX style H1
|
|
18
|
-
|
|
19
|
-
## Closed ATX style H2 ##
|
|
20
|
-
|
|
21
|
-
Setext style H1
|
|
22
|
-
===============
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
To fix the issue, use consistent heading styles throughout the document:
|
|
26
|
-
|
|
27
|
-
```markdown
|
|
28
|
-
# ATX style H1
|
|
29
|
-
|
|
30
|
-
## ATX style H2
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
The `setext_with_atx` and `setext_with_atx_closed` settings allow ATX-style
|
|
34
|
-
headings of level 3 or more in documents with setext-style headings (which only
|
|
35
|
-
support level 1 and 2 headings):
|
|
36
|
-
|
|
37
|
-
```markdown
|
|
38
|
-
Setext style H1
|
|
39
|
-
===============
|
|
40
|
-
|
|
41
|
-
Setext style H2
|
|
42
|
-
---------------
|
|
43
|
-
|
|
44
|
-
### ATX style H3
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Note: The configured heading style can be a specific style to require (`atx`,
|
|
48
|
-
`atx_closed`, `setext`, `setext_with_atx`, `setext_with_atx_closed`), or may
|
|
49
|
-
just require that usage is consistent within the document via `consistent`.
|
|
50
|
-
|
|
51
|
-
Note: The placement of a horizontal rule directly below a line of text can
|
|
52
|
-
trigger this rule by turning that text into a level 2 setext-style heading:
|
|
53
|
-
|
|
54
|
-
```markdown
|
|
55
|
-
A line of text followed by a horizontal rule becomes a heading
|
|
56
|
-
---
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Rationale: Consistent formatting makes it easier to understand a document.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# `MD004` - Unordered list style
|
|
2
|
-
|
|
3
|
-
Tags: `bullet`, `ul`
|
|
4
|
-
|
|
5
|
-
Aliases: `ul-style`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `style`: List style (`string`, default `consistent`, values `asterisk` /
|
|
10
|
-
`consistent` / `dash` / `plus` / `sublist`)
|
|
11
|
-
|
|
12
|
-
Fixable: Some violations can be fixed by tooling
|
|
13
|
-
|
|
14
|
-
This rule is triggered when the symbols used in the document for unordered
|
|
15
|
-
list items do not match the configured unordered list style:
|
|
16
|
-
|
|
17
|
-
```markdown
|
|
18
|
-
* Item 1
|
|
19
|
-
+ Item 2
|
|
20
|
-
- Item 3
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
To fix this issue, use the configured style for list items throughout the
|
|
24
|
-
document:
|
|
25
|
-
|
|
26
|
-
```markdown
|
|
27
|
-
* Item 1
|
|
28
|
-
* Item 2
|
|
29
|
-
* Item 3
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
The configured list style can be a specific symbol to use (asterisk, plus,
|
|
33
|
-
dash), to ensure that all list styling is consistent, or to ensure that each
|
|
34
|
-
sublist has a consistent symbol that differs from its parent list.
|
|
35
|
-
|
|
36
|
-
For example, the following is valid for the `sublist` style because the
|
|
37
|
-
outer-most indent uses asterisk, the middle indent uses plus, and the inner-most
|
|
38
|
-
indent uses dash:
|
|
39
|
-
|
|
40
|
-
```markdown
|
|
41
|
-
* Item 1
|
|
42
|
-
+ Item 2
|
|
43
|
-
- Item 3
|
|
44
|
-
+ Item 4
|
|
45
|
-
* Item 4
|
|
46
|
-
+ Item 5
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Rationale: Consistent formatting makes it easier to understand a document.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# `MD005` - Inconsistent indentation for list items at the same level
|
|
2
|
-
|
|
3
|
-
Tags: `bullet`, `indentation`, `ul`
|
|
4
|
-
|
|
5
|
-
Aliases: `list-indent`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when list items are parsed as being at the same level,
|
|
10
|
-
but don't have the same indentation:
|
|
11
|
-
|
|
12
|
-
```markdown
|
|
13
|
-
* Item 1
|
|
14
|
-
* Nested Item 1
|
|
15
|
-
* Nested Item 2
|
|
16
|
-
* A misaligned item
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Usually, this rule will be triggered because of a typo. Correct the indentation
|
|
20
|
-
for the list to fix it:
|
|
21
|
-
|
|
22
|
-
```markdown
|
|
23
|
-
* Item 1
|
|
24
|
-
* Nested Item 1
|
|
25
|
-
* Nested Item 2
|
|
26
|
-
* Nested Item 3
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Sequentially-ordered list markers are usually left-aligned such that all items
|
|
30
|
-
have the same starting column:
|
|
31
|
-
|
|
32
|
-
```markdown
|
|
33
|
-
...
|
|
34
|
-
8. Item
|
|
35
|
-
9. Item
|
|
36
|
-
10. Item
|
|
37
|
-
11. Item
|
|
38
|
-
...
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
This rule also supports right-alignment of list markers such that all items have
|
|
42
|
-
the same ending column:
|
|
43
|
-
|
|
44
|
-
```markdown
|
|
45
|
-
...
|
|
46
|
-
8. Item
|
|
47
|
-
9. Item
|
|
48
|
-
10. Item
|
|
49
|
-
11. Item
|
|
50
|
-
...
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Rationale: Violations of this rule can lead to improperly rendered content.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# `MD007` - Unordered list indentation
|
|
2
|
-
|
|
3
|
-
Tags: `bullet`, `indentation`, `ul`
|
|
4
|
-
|
|
5
|
-
Aliases: `ul-indent`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `indent`: Spaces for indent (`integer`, default `2`)
|
|
10
|
-
- `start_indent`: Spaces for first level indent (when start_indented is set)
|
|
11
|
-
(`integer`, default `2`)
|
|
12
|
-
- `start_indented`: Whether to indent the first level of the list (`boolean`,
|
|
13
|
-
default `false`)
|
|
14
|
-
|
|
15
|
-
Fixable: Some violations can be fixed by tooling
|
|
16
|
-
|
|
17
|
-
This rule is triggered when list items are not indented by the configured
|
|
18
|
-
number of spaces (default: 2).
|
|
19
|
-
|
|
20
|
-
Example:
|
|
21
|
-
|
|
22
|
-
```markdown
|
|
23
|
-
* List item
|
|
24
|
-
* Nested list item indented by 3 spaces
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Corrected Example:
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
* List item
|
|
31
|
-
* Nested list item indented by 2 spaces
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Note: This rule applies to a sublist only if its parent lists are all also
|
|
35
|
-
unordered (otherwise, extra indentation of ordered lists interferes with the
|
|
36
|
-
rule).
|
|
37
|
-
|
|
38
|
-
The `start_indented` parameter allows the first level of lists to be indented by
|
|
39
|
-
the configured number of spaces rather than starting at zero. The `start_indent`
|
|
40
|
-
parameter allows the first level of lists to be indented by a different number
|
|
41
|
-
of spaces than the rest (ignored when `start_indented` is not set).
|
|
42
|
-
|
|
43
|
-
Rationale: Indenting by 2 spaces allows the content of a nested list to be in
|
|
44
|
-
line with the start of the content of the parent list when a single space is
|
|
45
|
-
used after the list marker. Indenting by 4 spaces is consistent with code blocks
|
|
46
|
-
and simpler for editors to implement. Additionally, this can be a compatibility
|
|
47
|
-
issue for other Markdown parsers, which require 4-space indents. More
|
|
48
|
-
information: [Markdown Style Guide][markdown-style-guide].
|
|
49
|
-
|
|
50
|
-
Note: See [Prettier.md](Prettier.md) for compatibility information.
|
|
51
|
-
|
|
52
|
-
[markdown-style-guide]: https://cirosantilli.com/markdown-style-guide#indentation-of-content-inside-lists
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# `MD009` - Trailing spaces
|
|
2
|
-
|
|
3
|
-
Tags: `whitespace`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-trailing-spaces`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `br_spaces`: Spaces for line break (`integer`, default `2`)
|
|
10
|
-
- `list_item_empty_lines`: Allow spaces for empty lines in list items
|
|
11
|
-
(`boolean`, default `false`)
|
|
12
|
-
- `strict`: Include unnecessary breaks (`boolean`, default `false`)
|
|
13
|
-
|
|
14
|
-
Fixable: Some violations can be fixed by tooling
|
|
15
|
-
|
|
16
|
-
This rule is triggered on any lines that end with unexpected whitespace. To fix
|
|
17
|
-
this, remove the trailing space from the end of the line.
|
|
18
|
-
|
|
19
|
-
Note: Trailing space is allowed in indented and fenced code blocks because some
|
|
20
|
-
languages require it.
|
|
21
|
-
|
|
22
|
-
The `br_spaces` parameter allows an exception to this rule for a specific number
|
|
23
|
-
of trailing spaces, typically used to insert an explicit line break. The default
|
|
24
|
-
value allows 2 spaces to indicate a hard break (\<br> element).
|
|
25
|
-
|
|
26
|
-
Note: You must set `br_spaces` to a value >= 2 for this parameter to take
|
|
27
|
-
effect. Setting `br_spaces` to 1 behaves the same as 0, disallowing any trailing
|
|
28
|
-
spaces.
|
|
29
|
-
|
|
30
|
-
By default, this rule will not trigger when the allowed number of spaces is
|
|
31
|
-
used, even when it doesn't create a hard break (for example, at the end of a
|
|
32
|
-
paragraph). To report such instances as well, set the `strict` parameter to
|
|
33
|
-
`true`.
|
|
34
|
-
|
|
35
|
-
```markdown
|
|
36
|
-
Text text text
|
|
37
|
-
text[2 spaces]
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Using spaces to indent blank lines inside a list item is usually not necessary,
|
|
41
|
-
but some parsers require it. Set the `list_item_empty_lines` parameter to `true`
|
|
42
|
-
to allow this (even when `strict` is `true`):
|
|
43
|
-
|
|
44
|
-
```markdown
|
|
45
|
-
- list item text
|
|
46
|
-
[2 spaces]
|
|
47
|
-
list item text
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Rationale: Except when being used to create a line break, trailing whitespace
|
|
51
|
-
has no purpose and does not affect the rendering of content.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# `MD010` - Hard tabs
|
|
2
|
-
|
|
3
|
-
Tags: `hard_tab`, `whitespace`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-hard-tabs`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `code_blocks`: Include code blocks (`boolean`, default `true`)
|
|
10
|
-
- `ignore_code_languages`: Fenced code languages to ignore (`string[]`, default
|
|
11
|
-
`[]`)
|
|
12
|
-
- `spaces_per_tab`: Number of spaces for each hard tab (`integer`, default `1`)
|
|
13
|
-
|
|
14
|
-
Fixable: Some violations can be fixed by tooling
|
|
15
|
-
|
|
16
|
-
This rule is triggered by any lines that contain hard tab characters instead
|
|
17
|
-
of using spaces for indentation. To fix this, replace any hard tab characters
|
|
18
|
-
with spaces instead.
|
|
19
|
-
|
|
20
|
-
Example:
|
|
21
|
-
|
|
22
|
-
<!-- markdownlint-disable no-hard-tabs -->
|
|
23
|
-
|
|
24
|
-
```markdown
|
|
25
|
-
Some text
|
|
26
|
-
|
|
27
|
-
* hard tab character used to indent the list item
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
<!-- markdownlint-restore -->
|
|
31
|
-
|
|
32
|
-
Corrected example:
|
|
33
|
-
|
|
34
|
-
```markdown
|
|
35
|
-
Some text
|
|
36
|
-
|
|
37
|
-
* Spaces used to indent the list item instead
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
You have the option to exclude this rule for code blocks and spans. To do so,
|
|
41
|
-
set the `code_blocks` parameter to `false`. Code blocks and spans are included
|
|
42
|
-
by default since handling of tabs by Markdown tools can be inconsistent (e.g.,
|
|
43
|
-
using 4 vs. 8 spaces).
|
|
44
|
-
|
|
45
|
-
When code blocks are scanned (e.g., by default or if `code_blocks` is `true`),
|
|
46
|
-
the `ignore_code_languages` parameter can be set to a list of languages that
|
|
47
|
-
should be ignored (i.e., hard tabs will be allowed, though not required). This
|
|
48
|
-
makes it easier for documents to include code for languages that require hard
|
|
49
|
-
tabs.
|
|
50
|
-
|
|
51
|
-
By default, violations of this rule are fixed by replacing the tab with 1 space
|
|
52
|
-
character. To use a different number of spaces, set the `spaces_per_tab`
|
|
53
|
-
parameter to the desired value.
|
|
54
|
-
|
|
55
|
-
Rationale: Hard tabs are often rendered inconsistently by different editors and
|
|
56
|
-
can be harder to work with than spaces.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# `MD011` - Reversed link syntax
|
|
2
|
-
|
|
3
|
-
Tags: `links`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-reversed-links`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when text that appears to be a link is encountered, but
|
|
10
|
-
where the syntax appears to have been reversed (the `[]` and `()` are
|
|
11
|
-
reversed):
|
|
12
|
-
|
|
13
|
-
```markdown
|
|
14
|
-
(Incorrect link syntax)[https://www.example.com/]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
To fix this, swap the `[]` and `()` around:
|
|
18
|
-
|
|
19
|
-
```markdown
|
|
20
|
-
[Correct link syntax](https://www.example.com/)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Note: [Markdown Extra](https://en.wikipedia.org/wiki/Markdown_Extra)-style
|
|
24
|
-
footnotes do not trigger this rule:
|
|
25
|
-
|
|
26
|
-
```markdown
|
|
27
|
-
For (example)[^1]
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Rationale: Reversed links are not rendered as usable links.
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# `MD012` - Multiple consecutive blank lines
|
|
2
|
-
|
|
3
|
-
Tags: `blank_lines`, `whitespace`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-multiple-blanks`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `maximum`: Consecutive blank lines (`integer`, default `1`)
|
|
10
|
-
|
|
11
|
-
Fixable: Some violations can be fixed by tooling
|
|
12
|
-
|
|
13
|
-
This rule is triggered when there are multiple consecutive blank lines in the
|
|
14
|
-
document:
|
|
15
|
-
|
|
16
|
-
```markdown
|
|
17
|
-
Some text here
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Some more text here
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
To fix this, delete the offending lines:
|
|
24
|
-
|
|
25
|
-
```markdown
|
|
26
|
-
Some text here
|
|
27
|
-
|
|
28
|
-
Some more text here
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Note: this rule will not be triggered if there are multiple consecutive blank
|
|
32
|
-
lines inside code blocks.
|
|
33
|
-
|
|
34
|
-
Note: The `maximum` parameter can be used to configure the maximum number of
|
|
35
|
-
consecutive blank lines.
|
|
36
|
-
|
|
37
|
-
Rationale: Except in a code block, blank lines serve no purpose and do not
|
|
38
|
-
affect the rendering of content.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# `MD013` - Line length
|
|
2
|
-
|
|
3
|
-
Tags: `line_length`
|
|
4
|
-
|
|
5
|
-
Aliases: `line-length`
|
|
6
|
-
|
|
7
|
-
Parameters:
|
|
8
|
-
|
|
9
|
-
- `code_block_line_length`: Number of characters for code blocks (`integer`,
|
|
10
|
-
default `80`)
|
|
11
|
-
- `code_blocks`: Include code blocks (`boolean`, default `true`)
|
|
12
|
-
- `heading_line_length`: Number of characters for headings (`integer`, default
|
|
13
|
-
`80`)
|
|
14
|
-
- `headings`: Include headings (`boolean`, default `true`)
|
|
15
|
-
- `line_length`: Number of characters (`integer`, default `80`)
|
|
16
|
-
- `stern`: Stern length checking (`boolean`, default `false`)
|
|
17
|
-
- `strict`: Strict length checking (`boolean`, default `false`)
|
|
18
|
-
- `tables`: Include tables (`boolean`, default `true`)
|
|
19
|
-
|
|
20
|
-
This rule is triggered when there are lines that are longer than the
|
|
21
|
-
configured `line_length` (default: 80 characters). To fix this, split the line
|
|
22
|
-
up into multiple lines. To set a different maximum length for headings, use
|
|
23
|
-
`heading_line_length`. To set a different maximum length for code blocks, use
|
|
24
|
-
`code_block_line_length`
|
|
25
|
-
|
|
26
|
-
This rule has an exception when there is no whitespace beyond the configured
|
|
27
|
-
line length. This allows you to include items such as long URLs without being
|
|
28
|
-
forced to break them in the middle. To disable this exception, set the `strict`
|
|
29
|
-
parameter to `true` and an issue will be reported when any line is too long. To
|
|
30
|
-
warn for lines that are too long and could be fixed but allow long lines
|
|
31
|
-
without spaces, set the `stern` parameter to `true`.
|
|
32
|
-
|
|
33
|
-
For example (assuming normal behavior):
|
|
34
|
-
|
|
35
|
-
```markdown
|
|
36
|
-
IF THIS LINE IS THE MAXIMUM LENGTH
|
|
37
|
-
This line is okay because there are-no-spaces-beyond-that-length
|
|
38
|
-
This line is a violation because there are spaces beyond that length
|
|
39
|
-
This-line-is-okay-because-there-are-no-spaces-anywhere-within
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
In `strict` mode, the last three lines above are all violations. In `stern`
|
|
43
|
-
mode, the middle two lines above are both violations, but the last is okay.
|
|
44
|
-
|
|
45
|
-
You have the option to exclude this rule for code blocks, tables, or headings.
|
|
46
|
-
To do so, set the `code_blocks`, `tables`, or `headings` parameter(s) to false.
|
|
47
|
-
|
|
48
|
-
Code blocks are included in this rule by default since it is often a
|
|
49
|
-
requirement for document readability, and tentatively compatible with code
|
|
50
|
-
rules. Still, some languages do not lend themselves to short lines.
|
|
51
|
-
|
|
52
|
-
Lines with link/image reference definitions and standalone lines (i.e., not part
|
|
53
|
-
of a paragraph) with only a link/image (possibly using (strong) emphasis) are
|
|
54
|
-
always exempted from this rule (even in `strict` mode) because there is often no
|
|
55
|
-
way to split such lines without breaking the URL.
|
|
56
|
-
|
|
57
|
-
Rationale: Extremely long lines can be difficult to work with in some editors.
|
|
58
|
-
More information: <https://cirosantilli.com/markdown-style-guide#line-wrapping>.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# `MD014` - Dollar signs used before commands without showing output
|
|
2
|
-
|
|
3
|
-
Tags: `code`
|
|
4
|
-
|
|
5
|
-
Aliases: `commands-show-output`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when there are code blocks showing shell commands to be
|
|
10
|
-
typed, and *all* of the shell commands are preceded by dollar signs ($):
|
|
11
|
-
|
|
12
|
-
<!-- markdownlint-disable commands-show-output -->
|
|
13
|
-
|
|
14
|
-
```markdown
|
|
15
|
-
$ ls
|
|
16
|
-
$ cat foo
|
|
17
|
-
$ less bar
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
<!-- markdownlint-restore -->
|
|
21
|
-
|
|
22
|
-
The dollar signs are unnecessary in this situation, and should not be
|
|
23
|
-
included:
|
|
24
|
-
|
|
25
|
-
```markdown
|
|
26
|
-
ls
|
|
27
|
-
cat foo
|
|
28
|
-
less bar
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Showing output for commands preceded by dollar signs does not trigger this rule:
|
|
32
|
-
|
|
33
|
-
```markdown
|
|
34
|
-
$ ls
|
|
35
|
-
foo bar
|
|
36
|
-
$ cat foo
|
|
37
|
-
Hello world
|
|
38
|
-
$ cat bar
|
|
39
|
-
baz
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Because some commands do not produce output, it is not a violation if *some*
|
|
43
|
-
commands do not have output:
|
|
44
|
-
|
|
45
|
-
```markdown
|
|
46
|
-
$ mkdir test
|
|
47
|
-
mkdir: created directory 'test'
|
|
48
|
-
$ ls test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Rationale: It is easier to copy/paste and less noisy if the dollar signs
|
|
52
|
-
are omitted when they are not needed. See
|
|
53
|
-
<https://cirosantilli.com/markdown-style-guide#dollar-signs-in-shell-code>
|
|
54
|
-
for more information.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# `MD018` - No space after hash on atx style heading
|
|
2
|
-
|
|
3
|
-
Tags: `atx`, `headings`, `spaces`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-missing-space-atx`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when spaces are missing after the hash characters
|
|
10
|
-
in an atx style heading:
|
|
11
|
-
|
|
12
|
-
```markdown
|
|
13
|
-
#Heading 1
|
|
14
|
-
|
|
15
|
-
##Heading 2
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
To fix this, separate the heading text from the hash character by a single
|
|
19
|
-
space:
|
|
20
|
-
|
|
21
|
-
```markdown
|
|
22
|
-
# Heading 1
|
|
23
|
-
|
|
24
|
-
## Heading 2
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Rationale: Violations of this rule can lead to improperly rendered content.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# `MD019` - Multiple spaces after hash on atx style heading
|
|
2
|
-
|
|
3
|
-
Tags: `atx`, `headings`, `spaces`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-multiple-space-atx`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when more than one space is used to separate the
|
|
10
|
-
heading text from the hash characters in an atx style heading:
|
|
11
|
-
|
|
12
|
-
```markdown
|
|
13
|
-
# Heading 1
|
|
14
|
-
|
|
15
|
-
## Heading 2
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
To fix this, separate the heading text from the hash character by a single
|
|
19
|
-
space:
|
|
20
|
-
|
|
21
|
-
```markdown
|
|
22
|
-
# Heading 1
|
|
23
|
-
|
|
24
|
-
## Heading 2
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Rationale: Extra space has no purpose and does not affect the rendering of
|
|
28
|
-
content.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# `MD020` - No space inside hashes on closed atx style heading
|
|
2
|
-
|
|
3
|
-
Tags: `atx_closed`, `headings`, `spaces`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-missing-space-closed-atx`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when spaces are missing inside the hash characters
|
|
10
|
-
in a closed atx style heading:
|
|
11
|
-
|
|
12
|
-
```markdown
|
|
13
|
-
#Heading 1#
|
|
14
|
-
|
|
15
|
-
##Heading 2##
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
To fix this, separate the heading text from the hash character by a single
|
|
19
|
-
space:
|
|
20
|
-
|
|
21
|
-
```markdown
|
|
22
|
-
# Heading 1 #
|
|
23
|
-
|
|
24
|
-
## Heading 2 ##
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Note: this rule will fire if either side of the heading is missing spaces.
|
|
28
|
-
|
|
29
|
-
Rationale: Violations of this rule can lead to improperly rendered content.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# `MD021` - Multiple spaces inside hashes on closed atx style heading
|
|
2
|
-
|
|
3
|
-
Tags: `atx_closed`, `headings`, `spaces`
|
|
4
|
-
|
|
5
|
-
Aliases: `no-multiple-space-closed-atx`
|
|
6
|
-
|
|
7
|
-
Fixable: Some violations can be fixed by tooling
|
|
8
|
-
|
|
9
|
-
This rule is triggered when more than one space is used to separate the
|
|
10
|
-
heading text from the hash characters in a closed atx style heading:
|
|
11
|
-
|
|
12
|
-
```markdown
|
|
13
|
-
# Heading 1 #
|
|
14
|
-
|
|
15
|
-
## Heading 2 ##
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
To fix this, separate the heading text from the hash character by a single
|
|
19
|
-
space:
|
|
20
|
-
|
|
21
|
-
```markdown
|
|
22
|
-
# Heading 1 #
|
|
23
|
-
|
|
24
|
-
## Heading 2 ##
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Note: this rule will fire if either side of the heading contains multiple
|
|
28
|
-
spaces.
|
|
29
|
-
|
|
30
|
-
Rationale: Extra space has no purpose and does not affect the rendering of
|
|
31
|
-
content.
|