@alexlit/lint-kit 107.1.0 → 107.2.0

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.
Files changed (187) hide show
  1. package/package.json +1 -1
  2. package/packages/config-eslint/package.json +4 -4
  3. package/packages/config-markdownlint/node_modules/markdown-it/LICENSE +22 -0
  4. package/packages/config-markdownlint/node_modules/markdown-it/README.md +309 -0
  5. package/packages/config-markdownlint/node_modules/markdown-it/bin/markdown-it.js +117 -0
  6. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.js +8441 -0
  7. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.min.js +3 -0
  8. package/packages/config-markdownlint/node_modules/markdown-it/index.js +4 -0
  9. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/entities.js +6 -0
  10. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_blocks.js +70 -0
  11. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_re.js +28 -0
  12. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/utils.js +317 -0
  13. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/index.js +7 -0
  14. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_destination.js +80 -0
  15. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_label.js +48 -0
  16. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_title.js +55 -0
  17. package/packages/config-markdownlint/node_modules/markdown-it/lib/index.js +582 -0
  18. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_block.js +131 -0
  19. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_core.js +61 -0
  20. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_inline.js +192 -0
  21. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/commonmark.js +81 -0
  22. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/default.js +41 -0
  23. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/zero.js +63 -0
  24. package/packages/config-markdownlint/node_modules/markdown-it/lib/renderer.js +341 -0
  25. package/packages/config-markdownlint/node_modules/markdown-it/lib/ruler.js +352 -0
  26. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/blockquote.js +226 -0
  27. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/code.js +34 -0
  28. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
  29. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/heading.js +55 -0
  30. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/hr.js +45 -0
  31. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/html_block.js +74 -0
  32. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
  33. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/list.js +362 -0
  34. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/paragraph.js +51 -0
  35. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/reference.js +198 -0
  36. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/state_block.js +231 -0
  37. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/table.js +221 -0
  38. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/block.js +16 -0
  39. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/inline.js +13 -0
  40. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/linkify.js +142 -0
  41. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
  42. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/replacements.js +105 -0
  43. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/smartquotes.js +201 -0
  44. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/state_core.js +20 -0
  45. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/text_join.js +45 -0
  46. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
  47. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
  48. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
  49. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/emphasis.js +130 -0
  50. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/entity.js +55 -0
  51. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/escape.js +71 -0
  52. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/fragments_join.js +41 -0
  53. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/html_inline.js +58 -0
  54. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/image.js +152 -0
  55. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/link.js +150 -0
  56. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/linkify.js +62 -0
  57. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/newline.js +46 -0
  58. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/state_inline.js +158 -0
  59. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/strikethrough.js +130 -0
  60. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/text.js +89 -0
  61. package/packages/config-markdownlint/node_modules/markdown-it/lib/token.js +201 -0
  62. package/packages/config-markdownlint/node_modules/markdown-it/package.json +87 -0
  63. package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +428 -0
  64. package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +92 -0
  65. package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +21 -0
  66. package/packages/config-markdownlint/node_modules/markdownlint/README.md +1026 -0
  67. package/packages/config-markdownlint/node_modules/markdownlint/demo/markdownlint-browser.js +6814 -0
  68. package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +376 -0
  69. package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +27 -0
  70. package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +20 -0
  71. package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +2335 -0
  72. package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +37 -0
  73. package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +59 -0
  74. package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +49 -0
  75. package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +53 -0
  76. package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +52 -0
  77. package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +51 -0
  78. package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +56 -0
  79. package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +30 -0
  80. package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +38 -0
  81. package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +57 -0
  82. package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +54 -0
  83. package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +27 -0
  84. package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +28 -0
  85. package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +29 -0
  86. package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +31 -0
  87. package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +52 -0
  88. package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +33 -0
  89. package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +47 -0
  90. package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +49 -0
  91. package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +40 -0
  92. package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +24 -0
  93. package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +40 -0
  94. package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +98 -0
  95. package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +82 -0
  96. package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +50 -0
  97. package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +55 -0
  98. package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +27 -0
  99. package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +50 -0
  100. package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +42 -0
  101. package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +45 -0
  102. package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +37 -0
  103. package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +40 -0
  104. package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +21 -0
  105. package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +52 -0
  106. package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +49 -0
  107. package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +32 -0
  108. package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +69 -0
  109. package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +35 -0
  110. package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +40 -0
  111. package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +40 -0
  112. package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +34 -0
  113. package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +41 -0
  114. package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +32 -0
  115. package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +32 -0
  116. package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +61 -0
  117. package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +40 -0
  118. package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +38 -0
  119. package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +100 -0
  120. package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +21 -0
  121. package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +70 -0
  122. package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.js +1025 -0
  123. package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark.cjs +426 -0
  124. package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +26 -0
  125. package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.js +10 -0
  126. package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.js +21 -0
  127. package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +1152 -0
  128. package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.js +14 -0
  129. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.ts +406 -0
  130. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.js +1476 -0
  131. package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.js +22 -0
  132. package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.js +42 -0
  133. package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.js +76 -0
  134. package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.js +73 -0
  135. package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.js +86 -0
  136. package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.js +86 -0
  137. package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.js +60 -0
  138. package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.js +46 -0
  139. package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.js +32 -0
  140. package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.js +96 -0
  141. package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.js +53 -0
  142. package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.js +34 -0
  143. package/packages/config-markdownlint/node_modules/markdownlint/lib/md019.js +39 -0
  144. package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.js +62 -0
  145. package/packages/config-markdownlint/node_modules/markdownlint/lib/md021.js +62 -0
  146. package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.js +108 -0
  147. package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.js +38 -0
  148. package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.js +38 -0
  149. package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.js +32 -0
  150. package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.js +50 -0
  151. package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.js +56 -0
  152. package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.js +30 -0
  153. package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.js +67 -0
  154. package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.js +61 -0
  155. package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.js +40 -0
  156. package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.js +78 -0
  157. package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.js +39 -0
  158. package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.js +79 -0
  159. package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.js +24 -0
  160. package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.js +56 -0
  161. package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.js +91 -0
  162. package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.js +97 -0
  163. package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.js +67 -0
  164. package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.js +37 -0
  165. package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.js +42 -0
  166. package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.js +49 -0
  167. package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.js +64 -0
  168. package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.js +107 -0
  169. package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.js +60 -0
  170. package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.js +33 -0
  171. package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.js +28 -0
  172. package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.js +30 -0
  173. package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.js +89 -0
  174. package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.js +172 -0
  175. package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.js +39 -0
  176. package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.js +59 -0
  177. package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.js +125 -0
  178. package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.js +65 -0
  179. package/packages/config-markdownlint/node_modules/markdownlint/package.json +109 -0
  180. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +297 -0
  181. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +266 -0
  182. package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +1762 -0
  183. package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +5 -0
  184. package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +22 -0
  185. package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +26 -0
  186. package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +12 -0
  187. package/packages/config-markdownlint/package.json +3 -3
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "markdown-it",
3
+ "version": "13.0.2",
4
+ "description": "Markdown-it - modern pluggable markdown parser.",
5
+ "keywords": [
6
+ "markdown",
7
+ "parser",
8
+ "commonmark",
9
+ "markdown-it",
10
+ "markdown-it-plugin"
11
+ ],
12
+ "repository": "markdown-it/markdown-it",
13
+ "license": "MIT",
14
+ "main": "index.js",
15
+ "bin": {
16
+ "markdown-it": "bin/markdown-it.js"
17
+ },
18
+ "scripts": {
19
+ "lint": "eslint .",
20
+ "test": "npm run lint && nyc mocha && node support/specsplit.js",
21
+ "coverage": "npm run test && nyc report --reporter html",
22
+ "report-coveralls": "nyc --reporter=lcov mocha",
23
+ "doc": "node support/build_doc.js",
24
+ "gh-doc": "npm run doc && gh-pages -d apidoc -f",
25
+ "demo": "npm run lint && node support/build_demo.js",
26
+ "gh-demo": "npm run demo && gh-pages -d demo -f -b master -r git@github.com:markdown-it/markdown-it.github.io.git",
27
+ "browserify": "rollup -c support/rollup.config.js",
28
+ "benchmark-deps": "npm install --prefix benchmark/extra/ -g marked@0.3.6 commonmark@0.26.0 markdown-it/markdown-it.git#2.2.1",
29
+ "specsplit": "support/specsplit.js good -o test/fixtures/commonmark/good.txt && support/specsplit.js bad -o test/fixtures/commonmark/bad.txt && support/specsplit.js",
30
+ "todo": "grep 'TODO' -n -r ./lib 2>/dev/null",
31
+ "prepublishOnly": "npm run gh-demo && npm run gh-doc"
32
+ },
33
+ "files": [
34
+ "index.js",
35
+ "bin/",
36
+ "lib/",
37
+ "dist/"
38
+ ],
39
+ "dependencies": {
40
+ "argparse": "^2.0.1",
41
+ "entities": "~3.0.1",
42
+ "linkify-it": "^4.0.1",
43
+ "mdurl": "^1.0.1",
44
+ "uc.micro": "^1.0.5"
45
+ },
46
+ "devDependencies": {
47
+ "@rollup/plugin-commonjs": "^16.0.0",
48
+ "@rollup/plugin-json": "^4.1.0",
49
+ "@rollup/plugin-node-resolve": "^10.0.0",
50
+ "ansi": "^0.3.0",
51
+ "autoprefixer-stylus": "^1.0.0",
52
+ "benchmark": "~2.1.0",
53
+ "chai": "^4.2.0",
54
+ "coveralls": "^3.0.4",
55
+ "eslint": "^8.4.1",
56
+ "express": "^4.14.0",
57
+ "gh-pages": "^3.1.0",
58
+ "highlight.js": "^10.7.2",
59
+ "jest-worker": "^26.6.2",
60
+ "markdown-it-abbr": "^1.0.4",
61
+ "markdown-it-container": "^3.0.0",
62
+ "markdown-it-deflist": "^2.0.0",
63
+ "markdown-it-emoji": "^2.0.0",
64
+ "markdown-it-footnote": "^3.0.1",
65
+ "markdown-it-for-inline": "^0.1.0",
66
+ "markdown-it-ins": "^3.0.0",
67
+ "markdown-it-mark": "^3.0.0",
68
+ "markdown-it-sub": "^1.0.0",
69
+ "markdown-it-sup": "^1.0.0",
70
+ "markdown-it-testgen": "^0.1.3",
71
+ "mocha": "^9.1.3",
72
+ "ndoc": "^6.0.0",
73
+ "needle": "^3.0.0",
74
+ "nyc": "^15.0.1",
75
+ "pug-cli": "^1.0.0-alpha6",
76
+ "rollup": "^2.29.0",
77
+ "rollup-plugin-node-polyfills": "^0.2.1",
78
+ "rollup-plugin-terser": "^7.0.2",
79
+ "shelljs": "^0.8.4",
80
+ "stylus": "^0.55.0",
81
+ "supertest": "^6.0.1"
82
+ },
83
+ "mocha": {
84
+ "inline-diffs": true,
85
+ "timeout": 60000
86
+ }
87
+ }
@@ -0,0 +1,428 @@
1
+ # Changelog
2
+
3
+ ## 0.32.1
4
+
5
+ - Fix behavior of MD054
6
+
7
+ ## 0.32.0
8
+
9
+ - Remove deprecated MD002/MD006
10
+ - Remove rule aliases for "header"
11
+ - Add MD054/link-image-style
12
+ - Use `micromark` in MD005/MD007/MD030
13
+ - Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
14
+ - Improve JSON schema and related examples
15
+ - Provide type declaration for Configuration object
16
+ - Update dependencies
17
+
18
+ ## 0.31.1
19
+
20
+ - Improve MD032/MD034
21
+ - Update dependencies
22
+
23
+ ## 0.31.0
24
+
25
+ - Improve MD032/MD037/MD043/MD044/MD051/MD052
26
+ - Improve performance
27
+ - Update dependencies
28
+
29
+ ## 0.30.0
30
+
31
+ - Use `micromark` in MD022/MD026/MD032/MD037/MD045/MD051
32
+ - Incorporate `micromark-extension-math` for math syntax
33
+ - Allow custom rules to override information URL
34
+ - Update dependencies
35
+
36
+ ## 0.29.0
37
+
38
+ - Update `micromark` parser dependencies for better performance
39
+ - Use `micromark` in MD049/MD050
40
+ - Improve MD034/MD037/MD044/MD049/MD050
41
+ - Support multiple parsers in demo page
42
+ - Remove support for end-of-life Node version 14
43
+ - Update dependencies
44
+
45
+ ## 0.28.2
46
+
47
+ - Update dependencies for CVE-2023-2251
48
+
49
+ ## 0.28.1
50
+
51
+ - Update dependencies
52
+
53
+ ## 0.28.0
54
+
55
+ - Introduce `micromark` parser for better positional data (internal only)
56
+ - Use `micromark` in MD013/MD033/MD034/MD035/MD038/MD044/MD052/MD053
57
+ - Simplify file-based test cases
58
+ - Unify browser script for demo page
59
+ - Update dependencies
60
+
61
+ ## 0.27.0
62
+
63
+ - Improve MD011/MD013/MD022/MD031/MD032/MD033/MD034/MD040/MD043/MD051/MD053
64
+ - Generate/separate documentation
65
+ - Improve documentation
66
+ - Update dependencies
67
+
68
+ ## 0.26.2
69
+
70
+ - Improve MD037/MD051/MD053
71
+
72
+ ## 0.26.1
73
+
74
+ - Improve MD051
75
+
76
+ ## 0.26.0
77
+
78
+ - Add MD051/MD052/MD053 for validating link fragments & reference
79
+ links/images & link/image reference definitions (MD053 auto-fixable)
80
+ - Improve MD010/MD031/MD035/MD039/MD042/MD044/MD049/MD050
81
+ - Add `markdownlint-disable-line` inline comment
82
+ - Support `~` paths in `readConfig/Sync`
83
+ - Add `configParsers` option
84
+ - Remove support for end-of-life Node version 12
85
+ - Default `resultVersion` to 3
86
+ - Update browser script to use ES2015
87
+ - Simplify JSON schema
88
+ - Address remaining CodeQL issues
89
+ - Improve performance
90
+ - Update dependencies
91
+
92
+ ## 0.25.1
93
+
94
+ - Update dependencies for CVE-2022-21670
95
+
96
+ ## 0.25.0
97
+
98
+ - Add MD049/MD050 for consistent emphasis/strong style (both auto-fixable)
99
+ - Improve MD007/MD010/MD032/MD033/MD035/MD037/MD039
100
+ - Support asynchronous custom rules
101
+ - Improve performance
102
+ - Improve CI process
103
+ - Reduce dependencies
104
+ - Update dependencies
105
+
106
+ ## 0.24.0
107
+
108
+ - Remove support for end-of-life Node version 10
109
+ - Add support for custom file system module
110
+ - Improve MD010/MD011/MD037/MD043/MD044
111
+ - Improve TypeScript declaration file and JSON schema
112
+ - Update dependencies
113
+
114
+ ## 0.23.1
115
+
116
+ - Work around lack of webpack support for dynamic calls to `require`(`.resolve`)
117
+
118
+ ## 0.23.0
119
+
120
+ - Add comprehensive example `.markdownlint.jsonc`/`.markdownlint.yaml` files
121
+ - Add fix information for MD004/ul-style
122
+ - Improve MD018/MD019/MD020/MD021/MD037/MD041
123
+ - Improve HTML comment handling
124
+ - Update test runner and test suite
125
+ - Update dependencies
126
+
127
+ ## 0.22.0
128
+
129
+ - Allow `extends` in config to reference installed packages by name
130
+ - Add `markdownlint-disable-next-line` inline comment
131
+ - Support JSON front matter
132
+ - Improve MD009/MD026/MD028/MD043
133
+ - Update dependencies (including `markdown-it` to v12)
134
+
135
+ ## 0.21.1
136
+
137
+ - Improve MD011/MD031
138
+ - Export `getVersion` API
139
+
140
+ ## 0.21.0
141
+
142
+ - Lint concurrently for better performance (async only)
143
+ - Add Promise-based APIs
144
+ - Update TypeScript declaration file
145
+ - Hide `toString` on `LintResults`
146
+ - Add ability to fix in browser demo
147
+ - Allow custom rules in `.markdownlint.json` schema
148
+ - Improve MD042/MD044
149
+ - Improve documentation
150
+ - Update dependencies
151
+
152
+ ## 0.20.4
153
+
154
+ - Fix regression in MD037
155
+ - Improve MD034/MD044
156
+ - Improve documentation
157
+
158
+ ## 0.20.3
159
+
160
+ - Fix regression in MD037
161
+ - Improve MD044
162
+ - Add automatic regression testing
163
+
164
+ ## 0.20.2
165
+
166
+ - Fix regression in MD037
167
+ - Improve MD038
168
+
169
+ ## 0.20.1
170
+
171
+ - Fix regression in MD037
172
+
173
+ ## 0.20.0
174
+
175
+ - Add `markdownlint-configure-file` inline comment
176
+ - Reimplement MD037
177
+ - Improve MD005/MD007/MD013/MD018/MD029/MD031/MD034/MD038/MD039
178
+ - Improve HTML comment handling
179
+ - Update dependencies
180
+
181
+ ## 0.19.0
182
+
183
+ - Remove support for end-of-life Node version 8
184
+ - Add fix information for MD005/list-indent
185
+ - Improve MD007/MD013/MD014
186
+ - Deprecate MD006/ul-start-left
187
+ - Add rationale for every rule
188
+ - Update test runner and code coverage
189
+ - Add more JSDoc comments
190
+ - Update dependencies
191
+
192
+ ## 0.18.0
193
+
194
+ - Add MD048/code-fence-style
195
+ - Add fix information for MD007/ul-indent
196
+ - Add `markdownlint-disable-file`/`markdownlint-enable-file` inline comments
197
+ - Add type declaration file (.d.ts) for TypeScript dependents
198
+ - Update schema
199
+ - Improve MD006/MD007/MD009/MD013/MD030
200
+ - Update dependencies
201
+
202
+ ## 0.17.2
203
+
204
+ - Improve MD020/MD033/MD044
205
+
206
+ ## 0.17.1
207
+
208
+ - Fix handling of front matter by fix information
209
+
210
+ ## 0.17.0
211
+
212
+ - Add `resultVersion` 3 to support fix information for default and custom rules
213
+ - Add fix information for 24 rules
214
+ - Update newline handling to match latest CommonMark specification
215
+ - Improve MD014/MD037/MD039
216
+ - Update dependencies
217
+
218
+ ## 0.16.0
219
+
220
+ - Add custom rule sample for linting code
221
+ - Improve MD026/MD031/MD033/MD038
222
+ - Update dependencies
223
+
224
+ ## 0.15.0
225
+
226
+ - Add `markdownlint-capture`/`markdownlint-restore` inline comments
227
+ - Improve MD009/MD013/MD026/MD033/MD036
228
+ - Update dependencies
229
+
230
+ ## 0.14.2
231
+
232
+ - Improve MD047
233
+ - Add `handleRuleFailures` option
234
+
235
+ ## 0.14.1
236
+
237
+ - Improve MD033
238
+
239
+ ## 0.14.0
240
+
241
+ - Remove support for end-of-life Node version 6
242
+ - Introduce `markdownlint-rule-helpers`
243
+ - Add MD046/MD047
244
+ - Improve MD033/MD034/MD039
245
+ - Improve custom rule validation and in-browser demo
246
+ - Update dependencies
247
+
248
+ ## 0.13.0
249
+
250
+ - Improve MD013/MD022/MD025/MD029/MD031/MD032/MD037/MD041
251
+ - Deprecate MD002
252
+ - Improve Pandoc YAML support
253
+ - Update dependencies
254
+
255
+ ## 0.12.0
256
+
257
+ - Add `information` link for custom rules
258
+ - Add `markdownItPlugins` for extensibility
259
+ - Improve MD023/MD032/MD038
260
+ - Update dependencies
261
+
262
+ ## 0.11.0
263
+
264
+ - Improve MD005/MD024/MD029/MD038
265
+ - Improve custom rule example
266
+ - Add `CONTRIBUTING.md`
267
+ - Update dependencies
268
+
269
+ ## 0.10.0
270
+
271
+ - Add support for non-JSON configuration files
272
+ - Pass file/string name to custom rules
273
+ - Update dependencies
274
+
275
+ ## 0.9.0
276
+
277
+ - Remove support for end-of-life Node versions 0.10/0.12/4
278
+ - Change "header" to "heading" per spec (non-breaking)
279
+ - Improve MD003/MD009/MD041
280
+ - Handle uncommon line-break characters
281
+ - Refactor for ES6
282
+ - Update dependencies
283
+
284
+ ## 0.8.1
285
+
286
+ - Update item loop to be iterative
287
+ - Improve MD014
288
+ - Update dependencies
289
+
290
+ ## 0.8.0
291
+
292
+ - Add support for using and authoring custom rules
293
+ - Improve MD004/MD007/MD013
294
+ - Add `engines` to `package.json`
295
+ - Refactor
296
+ - Update dependencies
297
+
298
+ ## 0.7.0
299
+
300
+ - `resultVersion` defaults to 2 (breaking change)
301
+ - Add MD045
302
+ - Improve MD029
303
+ - Remove `trimLeft`/`trimRight`
304
+ - Split rules
305
+ - Refactor
306
+ - Update dependencies
307
+
308
+ ## 0.6.4
309
+
310
+ - Improve MD029/MD042
311
+ - Update dependencies
312
+
313
+ ## 0.6.3
314
+
315
+ - Improve highlighting for MD020
316
+
317
+ ## 0.6.2
318
+
319
+ - Improve MD013/MD027/MD034/MD037/MD038/MD041/MD044
320
+ - Update dependencies
321
+
322
+ ## 0.6.1
323
+
324
+ - Update `markdown-it` versioning
325
+ - Exclude demo/test from publishing
326
+
327
+ ## 0.6.0
328
+
329
+ - `resultVersion` defaults to 1 (breaking change)
330
+ - Ignore HTML comments
331
+ - TOML front matter
332
+ - Fixes for MD044
333
+ - Update dependencies
334
+
335
+ ## 0.5.0
336
+
337
+ - Add shareable configuration
338
+ - Add `noInlineConfig` option
339
+ - Add `README.md` links
340
+ - Fix MD030
341
+ - Improve MD009/MD041
342
+ - Update dependencies
343
+
344
+ ## 0.4.1
345
+
346
+ - Fixes for MD038/front matter
347
+ - Improvements to MD044
348
+ - Update dependencies
349
+
350
+ ## 0.4.0
351
+
352
+ - Add MD044
353
+ - Enhance MD013/MD032/MD041/MD042/MD043
354
+ - Fix for MD038
355
+ - Update dependencies
356
+
357
+ ## 0.3.1
358
+
359
+ - Fix regressions in MD032/MD038
360
+ - Update dependencies
361
+
362
+ ## 0.3.0
363
+
364
+ - More detailed error reporting with `resultVersion`
365
+ - Enhance MD010/MD012/MD036
366
+ - Fixes for MD027/MD029/MD030
367
+ - Include JSON schema dependencies
368
+
369
+ ## 0.2.0
370
+
371
+ - Add MD042/MD043
372
+ - Enhance MD002/MD003/MD004/MD007/MD011/MD025/MD041
373
+ - Update dependencies
374
+
375
+ ## 0.1.1
376
+
377
+ - Fix bug handling HTML in tables
378
+ - Reference `markdownlint-cli`
379
+
380
+ ## 0.1.0
381
+
382
+ - Add aliases
383
+ - Exceptions for MD033
384
+ - Exclusions for MD013
385
+ - Update dependencies
386
+
387
+ ## 0.0.8
388
+
389
+ - Support disabling/enabling rules inline
390
+ - Improve code fence
391
+ - Update dependencies
392
+
393
+ ## 0.0.7
394
+
395
+ - Add MD041
396
+ - Improve MD003
397
+ - Ignore front matter
398
+ - Update dependencies
399
+
400
+ ## 0.0.6
401
+
402
+ - Improve performance
403
+ - Simplify in-browser
404
+ - Update dependencies
405
+
406
+ ## 0.0.5
407
+
408
+ - Add `strings` option to enable file-less scenarios
409
+ - Add in-browser demo
410
+
411
+ ## 0.0.4
412
+
413
+ - Add tests MD033-MD040
414
+ - Update dependencies
415
+
416
+ ## 0.0.3
417
+
418
+ - Add synchronous API
419
+ - Improve documentation and code
420
+
421
+ ## 0.0.2
422
+
423
+ - Improve documentation, tests, and code
424
+
425
+ ## 0.0.1
426
+
427
+ - Initial release
428
+ - Includes tests MD001-MD032
@@ -0,0 +1,92 @@
1
+ # Contributing
2
+
3
+ Interested in contributing? Great! Here are some suggestions to make it a good
4
+ experience:
5
+
6
+ Start by [opening an issue](https://github.com/DavidAnson/markdownlint/issues),
7
+ whether to identify a problem or outline a change. That issue should be used to
8
+ discuss the situation and agree on a plan of action before writing code or
9
+ sending a pull request. Maybe the problem isn't really a problem, or maybe there
10
+ are more things to consider. If so, it's best to realize that before spending
11
+ time and effort writing code that may not get used.
12
+
13
+ Match the coding style of the files you edit. Although everyone has their own
14
+ preferences and opinions, a pull request is not the right forum to debate them.
15
+
16
+ Do not add new [`dependencies` to `package.json`][dependencies]. The Markdown
17
+ parsers [`markdown-it`][markdown-it] and [`micromark`][micromark] are the
18
+ project's only dependencies.
19
+
20
+ Package versions for `dependencies` and `devDependencies` should be specified
21
+ exactly (also known as "pinning"). The short explanation is that doing otherwise
22
+ eventually leads to inconsistent behavior and broken functionality. (See [Pin
23
+ your npm/yarn dependencies][pin-dependencies] for a longer explanation.)
24
+
25
+ If developing a new rule, start by creating a [custom rule][custom-rules] in its
26
+ own project. Once written, published, and tested in real world scenarios, open
27
+ an issue to consider adding it to this project. For rule ideas, see [issues
28
+ tagged with the `new rule` label][new-rule].
29
+
30
+ Add tests for all new/changed functionality. Test positive and negative
31
+ scenarios. Try to break the new code now, or else it will get broken later.
32
+
33
+ Run tests before sending a pull request via `npm test` in the [usual
34
+ manner][npm-scripts]. Tests should all pass on all platforms. The test runner is
35
+ [AVA][ava] and test cases are located in `test/markdownlint-test*.js`. When
36
+ running tests, `test/*.md` files are enumerated, linted, and fail if any
37
+ violations are missing a corresponding `{MD###}` marker in the test file. For
38
+ example, the line `### Heading {MD001}` is expected to trigger the rule `MD001`.
39
+ For cases where the marker text can not be present on the same line, the syntax
40
+ `{MD###:#}` can be used to include a line number. If `some-test.md` needs custom
41
+ configuration, a `some-test.json` is used to provide a custom `options.config`
42
+ for that scenario. Tests run by `markdownlint-test-scenarios.js` use [AVA's
43
+ snapshot feature][ava-snapshots]. To update snapshots (for example, after
44
+ modifying a test file), run `npm run update-snapshots` and include the updated
45
+ files with the pull request.
46
+
47
+ Lint before sending a pull request by running `npm run lint`. There should be no
48
+ issues.
49
+
50
+ Run a full continuous integration pass before sending a pull request via `npm
51
+ run ci`. Code coverage should always be 100%. As part of a continuous
52
+ integration run, generated files may get updated and fail the run - commit them
53
+ to the repository and rerun continuous integration.
54
+
55
+ Pull requests should contain a single commit. If necessary, squash multiple
56
+ commits before creating the pull request and when making changes. (See [Git
57
+ Tools - Rewriting History][rewriting-history] for details.)
58
+
59
+ Open pull requests against the `next` branch. That's where the latest changes
60
+ are staged for the next release. Include the text "(fixes #??)" at the end of
61
+ the commit message so the pull request will be associated with the relevant
62
+ issue. End commit messages with a period (`.`). Once accepted, the tag `fixed in
63
+ next` will be added to the issue. When the commit is merged to the main branch
64
+ during the release process, the issue will be closed automatically. (See
65
+ [Closing issues using keywords][closing-keywords] for details.)
66
+
67
+ Please refrain from using slang or meaningless placeholder words. Sample content
68
+ can be "text", "code", "heading", or the like. Sample URLs should use
69
+ [example.com][example-com] which is safe for this purpose. Profanity is not
70
+ allowed.
71
+
72
+ In order to maintain the permissive MIT license this project uses, all
73
+ contributions must be your own and released under that license. Code you add
74
+ should be an original work and should not be copied from elsewhere. Taking code
75
+ from a different project, Stack Overflow, or the like is not allowed. The use of
76
+ tools such as GitHub Copilot, ChatGPT, LLMs (large language models), etc. that
77
+ incorporate code from other projects is not allowed.
78
+
79
+ Thank you!
80
+
81
+ [ava]: https://github.com/avajs/ava
82
+ [ava-snapshots]: https://github.com/avajs/ava/blob/main/docs/04-snapshot-testing.md
83
+ [closing-keywords]: https://help.github.com/articles/closing-issues-using-keywords/
84
+ [custom-rules]: doc/CustomRules.md
85
+ [dependencies]: https://docs.npmjs.com/files/package.json#dependencies
86
+ [example-com]: https://en.wikipedia.org/wiki/Example.com
87
+ [markdown-it]: https://www.npmjs.com/package/markdown-it
88
+ [micromark]: https://www.npmjs.com/package/micromark
89
+ [new-rule]: https://github.com/DavidAnson/markdownlint/labels/new%20rule
90
+ [npm-scripts]: https://docs.npmjs.com/misc/scripts
91
+ [pin-dependencies]: https://maxleiter.com/blog/pin-dependencies
92
+ [rewriting-history]: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) David Anson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.