@alexlit/lint-kit 190.0.1 → 191.0.1

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 (172) hide show
  1. package/package.json +1 -1
  2. package/packages/config-eslint/package.json +3 -3
  3. package/packages/config-eslint/plugins/unicorn.js +10 -1
  4. package/packages/config-markdownlint/package.json +2 -2
  5. package/packages/config-markdownlint/node_modules/ansi-regex/index.d.ts +0 -33
  6. package/packages/config-markdownlint/node_modules/ansi-regex/index.js +0 -14
  7. package/packages/config-markdownlint/node_modules/ansi-regex/license +0 -9
  8. package/packages/config-markdownlint/node_modules/ansi-regex/package.json +0 -61
  9. package/packages/config-markdownlint/node_modules/ansi-regex/readme.md +0 -66
  10. package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +0 -529
  11. package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +0 -92
  12. package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +0 -21
  13. package/packages/config-markdownlint/node_modules/markdownlint/README.md +0 -1112
  14. package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +0 -194
  15. package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +0 -27
  16. package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
  17. package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +0 -2858
  18. package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +0 -51
  19. package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +0 -59
  20. package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +0 -50
  21. package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +0 -53
  22. package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +0 -52
  23. package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +0 -50
  24. package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +0 -62
  25. package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +0 -30
  26. package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +0 -38
  27. package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +0 -58
  28. package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +0 -54
  29. package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +0 -27
  30. package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +0 -28
  31. package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +0 -29
  32. package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +0 -31
  33. package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +0 -67
  34. package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +0 -33
  35. package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +0 -44
  36. package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +0 -49
  37. package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +0 -40
  38. package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +0 -32
  39. package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +0 -44
  40. package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +0 -100
  41. package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +0 -82
  42. package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +0 -50
  43. package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +0 -55
  44. package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +0 -33
  45. package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +0 -55
  46. package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +0 -44
  47. package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +0 -45
  48. package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +0 -37
  49. package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +0 -52
  50. package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +0 -21
  51. package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +0 -52
  52. package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +0 -64
  53. package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +0 -38
  54. package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +0 -87
  55. package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +0 -45
  56. package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +0 -48
  57. package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +0 -40
  58. package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +0 -34
  59. package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +0 -42
  60. package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +0 -36
  61. package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +0 -35
  62. package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +0 -117
  63. package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +0 -52
  64. package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +0 -38
  65. package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +0 -100
  66. package/packages/config-markdownlint/node_modules/markdownlint/doc/md055.md +0 -55
  67. package/packages/config-markdownlint/node_modules/markdownlint/doc/md056.md +0 -37
  68. package/packages/config-markdownlint/node_modules/markdownlint/doc/md058.md +0 -48
  69. package/packages/config-markdownlint/node_modules/markdownlint/doc/md059.md +0 -33
  70. package/packages/config-markdownlint/node_modules/markdownlint/doc/md060.md +0 -130
  71. package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +0 -21
  72. package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +0 -29
  73. package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.cjs +0 -695
  74. package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark-helpers.cjs +0 -332
  75. package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +0 -26
  76. package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.cjs +0 -16
  77. package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.mjs +0 -80
  78. package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration-strict.d.ts +0 -2417
  79. package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +0 -8
  80. package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.mjs +0 -14
  81. package/packages/config-markdownlint/node_modules/markdownlint/lib/defer-require.cjs +0 -18
  82. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-async.d.mts +0 -1
  83. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-async.mjs +0 -3
  84. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-promise.d.mts +0 -1
  85. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-promise.mjs +0 -3
  86. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-sync.d.mts +0 -1
  87. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports-sync.mjs +0 -3
  88. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports.d.mts +0 -30
  89. package/packages/config-markdownlint/node_modules/markdownlint/lib/exports.mjs +0 -33
  90. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownit.cjs +0 -171
  91. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.mts +0 -615
  92. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.mjs +0 -1592
  93. package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.mjs +0 -32
  94. package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.mjs +0 -47
  95. package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.mjs +0 -72
  96. package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.mjs +0 -69
  97. package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.mjs +0 -84
  98. package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.mjs +0 -96
  99. package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.mjs +0 -78
  100. package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.mjs +0 -56
  101. package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.mjs +0 -40
  102. package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.mjs +0 -91
  103. package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.mjs +0 -47
  104. package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.mjs +0 -43
  105. package/packages/config-markdownlint/node_modules/markdownlint/lib/md019-md021.mjs +0 -77
  106. package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.mjs +0 -68
  107. package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.mjs +0 -103
  108. package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.mjs +0 -37
  109. package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.mjs +0 -45
  110. package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.mjs +0 -45
  111. package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.mjs +0 -46
  112. package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.mjs +0 -50
  113. package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.mjs +0 -39
  114. package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.mjs +0 -84
  115. package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.mjs +0 -57
  116. package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.mjs +0 -61
  117. package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.mjs +0 -78
  118. package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.mjs +0 -46
  119. package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.mjs +0 -92
  120. package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.mjs +0 -23
  121. package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.mjs +0 -55
  122. package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.mjs +0 -94
  123. package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.mjs +0 -73
  124. package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.mjs +0 -59
  125. package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.mjs +0 -32
  126. package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.mjs +0 -71
  127. package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.mjs +0 -58
  128. package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.mjs +0 -72
  129. package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.mjs +0 -110
  130. package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.mjs +0 -61
  131. package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.mjs +0 -31
  132. package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.mjs +0 -28
  133. package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.mjs +0 -47
  134. package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.mjs +0 -115
  135. package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.mjs +0 -173
  136. package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.mjs +0 -40
  137. package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.mjs +0 -60
  138. package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.mjs +0 -122
  139. package/packages/config-markdownlint/node_modules/markdownlint/lib/md055.mjs +0 -72
  140. package/packages/config-markdownlint/node_modules/markdownlint/lib/md056.mjs +0 -50
  141. package/packages/config-markdownlint/node_modules/markdownlint/lib/md058.mjs +0 -57
  142. package/packages/config-markdownlint/node_modules/markdownlint/lib/md059.mjs +0 -71
  143. package/packages/config-markdownlint/node_modules/markdownlint/lib/md060.mjs +0 -209
  144. package/packages/config-markdownlint/node_modules/markdownlint/lib/micromark-parse.mjs +0 -337
  145. package/packages/config-markdownlint/node_modules/markdownlint/lib/micromark-types.d.mts +0 -11
  146. package/packages/config-markdownlint/node_modules/markdownlint/lib/node-imports-browser.mjs +0 -22
  147. package/packages/config-markdownlint/node_modules/markdownlint/lib/node-imports-node.mjs +0 -11
  148. package/packages/config-markdownlint/node_modules/markdownlint/lib/parse-configuration.mjs +0 -47
  149. package/packages/config-markdownlint/node_modules/markdownlint/lib/resolve-module.cjs +0 -52
  150. package/packages/config-markdownlint/node_modules/markdownlint/lib/resolve-module.d.cts +0 -34
  151. package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.mjs +0 -122
  152. package/packages/config-markdownlint/node_modules/markdownlint/lib/types.d.mts +0 -13
  153. package/packages/config-markdownlint/node_modules/markdownlint/package.json +0 -120
  154. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -349
  155. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +0 -310
  156. package/packages/config-markdownlint/node_modules/markdownlint/schema/ValidatingConfiguration.md +0 -26
  157. package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema-strict.json +0 -5138
  158. package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -5143
  159. package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +0 -5
  160. package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +0 -22
  161. package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +0 -27
  162. package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +0 -12
  163. package/packages/config-markdownlint/node_modules/string-width/index.d.ts +0 -39
  164. package/packages/config-markdownlint/node_modules/string-width/index.js +0 -203
  165. package/packages/config-markdownlint/node_modules/string-width/license +0 -9
  166. package/packages/config-markdownlint/node_modules/string-width/package.json +0 -65
  167. package/packages/config-markdownlint/node_modules/string-width/readme.md +0 -66
  168. package/packages/config-markdownlint/node_modules/strip-ansi/index.d.ts +0 -15
  169. package/packages/config-markdownlint/node_modules/strip-ansi/index.js +0 -19
  170. package/packages/config-markdownlint/node_modules/strip-ansi/license +0 -9
  171. package/packages/config-markdownlint/node_modules/strip-ansi/package.json +0 -59
  172. package/packages/config-markdownlint/node_modules/strip-ansi/readme.md +0 -37
@@ -1,529 +0,0 @@
1
- # Changelog
2
-
3
- ## 0.41.0
4
-
5
- - Improve MD022/MD028/MD035/MD042/MD051/MD060
6
- - Remove handling of inline directive syntax (frequent false positives)
7
- - Remove deprecated `Options.resultVersion` (breaking change)
8
- - Remove deprecated `LintResults.toString` (breaking change)
9
- - Remove support for end-of-life Node version 20
10
- - Update dependencies
11
-
12
- ## 0.40.0
13
-
14
- - Improve MD011/MD013/MD051/MD060
15
- - Update dependencies
16
-
17
- ## 0.39.0
18
-
19
- - Add MD060/table-column-style
20
- - Improve MD001/MD007/MD009/MD010/MD029/MD033/MD037/MD059
21
- - Add support for reporting violations as severity `warning`
22
- - Deprecate `resultVersion` and `toString` (breaking change)
23
- - Improve type definitions
24
- - Improve demo web page
25
- - Update dependencies
26
-
27
- ## 0.38.0
28
-
29
- - Add MD059/descriptive-link-text
30
- - Improve MD025/MD027/MD036/MD038/MD041/MD043/MD045/MD051/MD052
31
- - `markdown-it` parser no longer a production dependency (breaking change)
32
- - Add `markdownItFactory` option, remove `markdownItPlugins` option
33
- - Remove support for end-of-life Node version 18
34
- - Improve performance
35
- - Update dependencies
36
-
37
- ## 0.37.4
38
-
39
- - Stop using `module.createRequire`, export `resolveModule`
40
-
41
- ## 0.37.3
42
-
43
- - Tweak `package.json` dependencies to work with `pnpm`
44
-
45
- ## 0.37.2
46
-
47
- - Add subpath imports for overriding default bundler behavior
48
- - Improve MD032
49
-
50
- ## 0.37.1
51
-
52
- - Add support for "browser" condition (as used by webpack)
53
-
54
- ## 0.37.0
55
-
56
- - Convert module to ECMAScript (breaking change)
57
- - <https://nodejs.org/docs/latest/api/esm.html>
58
- - <https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c>
59
- - Convert module to named exports (breaking change)
60
-
61
- ## 0.36.1
62
-
63
- - Fix behavior of MD054
64
-
65
- ## 0.36.0
66
-
67
- - Improve MD051
68
- - Move `applyFix` and `applyFixes` from helpers to core
69
- - Make `micromark` parser available to custom rules
70
- - Introduce `./micromark` helpers exports
71
- - Update custom/rule documentation
72
- - Improve performance
73
- - Update dependencies
74
-
75
- ## 0.35.0
76
-
77
- - Add MD058/blanks-around-tables
78
- - Use `micromark` in MD001/MD003/MD009/MD010/MD013/MD014/MD019/MD021/MD023/
79
- MD024/MD025/MD039/MD042/MD043
80
- - Improve MD018/MD020/MD031/MD034/MD044
81
- - `markdown-it` parser no longer invoked by default
82
- - Add strict version of JSON schema
83
- - Improve performance
84
- - Update dependencies
85
-
86
- ## 0.34.0
87
-
88
- - Use `micromark` in MD027/MD028/MD036/MD040/MD041/MD046/MD048
89
- - Improve MD013/MD034/MD049/MD050/MD051
90
- - Update custom rule requirements and documentation
91
- - Improve various TypeScript declarations
92
- - Update dependencies
93
-
94
- ## 0.33.0
95
-
96
- - Add MD055/table-pipe-style, MD056/table-column-count
97
- - Improve MD005/MD007/MD024/MD026/MD038
98
- - Incorporate `micromark-extension-directive`
99
- - Improve JSON schema, document validation
100
- - Reduce size of browser script
101
- - Update dependencies
102
-
103
- ## 0.32.1
104
-
105
- - Fix behavior of MD054
106
-
107
- ## 0.32.0
108
-
109
- - Remove deprecated MD002/MD006
110
- - Remove rule aliases for "header"
111
- - Add MD054/link-image-style
112
- - Use `micromark` in MD005/MD007/MD030
113
- - Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
114
- - Improve JSON schema and related examples
115
- - Provide type declaration for Configuration object
116
- - Remove support for end-of-life Node version 16
117
- - Update dependencies
118
-
119
- ## 0.31.1
120
-
121
- - Improve MD032/MD034
122
- - Update dependencies
123
-
124
- ## 0.31.0
125
-
126
- - Improve MD032/MD037/MD043/MD044/MD051/MD052
127
- - Improve performance
128
- - Update dependencies
129
-
130
- ## 0.30.0
131
-
132
- - Use `micromark` in MD022/MD026/MD032/MD037/MD045/MD051
133
- - Incorporate `micromark-extension-math` for math syntax
134
- - Allow custom rules to override information URL
135
- - Update dependencies
136
-
137
- ## 0.29.0
138
-
139
- - Update `micromark` parser dependencies for better performance
140
- - Use `micromark` in MD049/MD050
141
- - Improve MD034/MD037/MD044/MD049/MD050
142
- - Support multiple parsers in demo page
143
- - Remove support for end-of-life Node version 14
144
- - Update dependencies
145
-
146
- ## 0.28.2
147
-
148
- - Update dependencies for CVE-2023-2251
149
-
150
- ## 0.28.1
151
-
152
- - Update dependencies
153
-
154
- ## 0.28.0
155
-
156
- - Introduce `micromark` parser for better positional data (internal only)
157
- - Use `micromark` in MD013/MD033/MD034/MD035/MD038/MD044/MD052/MD053
158
- - Simplify file-based test cases
159
- - Unify browser script for demo page
160
- - Update dependencies
161
-
162
- ## 0.27.0
163
-
164
- - Improve MD011/MD013/MD022/MD031/MD032/MD033/MD034/MD040/MD043/MD051/MD053
165
- - Generate/separate documentation
166
- - Improve documentation
167
- - Update dependencies
168
-
169
- ## 0.26.2
170
-
171
- - Improve MD037/MD051/MD053
172
-
173
- ## 0.26.1
174
-
175
- - Improve MD051
176
-
177
- ## 0.26.0
178
-
179
- - Add MD051/MD052/MD053 for validating link fragments & reference
180
- links/images & link/image reference definitions (MD053 auto-fixable)
181
- - Improve MD010/MD031/MD035/MD039/MD042/MD044/MD049/MD050
182
- - Add `markdownlint-disable-line` inline comment
183
- - Support `~` paths in `readConfig/Sync`
184
- - Add `configParsers` option
185
- - Remove support for end-of-life Node version 12
186
- - Default `resultVersion` to 3
187
- - Update browser script to use ES2015
188
- - Simplify JSON schema
189
- - Address remaining CodeQL issues
190
- - Improve performance
191
- - Update dependencies
192
-
193
- ## 0.25.1
194
-
195
- - Update dependencies for CVE-2022-21670
196
-
197
- ## 0.25.0
198
-
199
- - Add MD049/MD050 for consistent emphasis/strong style (both auto-fixable)
200
- - Improve MD007/MD010/MD032/MD033/MD035/MD037/MD039
201
- - Support asynchronous custom rules
202
- - Improve performance
203
- - Improve CI process
204
- - Reduce dependencies
205
- - Update dependencies
206
-
207
- ## 0.24.0
208
-
209
- - Remove support for end-of-life Node version 10
210
- - Add support for custom file system module
211
- - Improve MD010/MD011/MD037/MD043/MD044
212
- - Improve TypeScript declaration file and JSON schema
213
- - Update dependencies
214
-
215
- ## 0.23.1
216
-
217
- - Work around lack of webpack support for dynamic calls to `require`(`.resolve`)
218
-
219
- ## 0.23.0
220
-
221
- - Add comprehensive example `.markdownlint.jsonc`/`.markdownlint.yaml` files
222
- - Add fix information for MD004/ul-style
223
- - Improve MD018/MD019/MD020/MD021/MD037/MD041
224
- - Improve HTML comment handling
225
- - Update test runner and test suite
226
- - Update dependencies
227
-
228
- ## 0.22.0
229
-
230
- - Allow `extends` in config to reference installed packages by name
231
- - Add `markdownlint-disable-next-line` inline comment
232
- - Support JSON front matter
233
- - Improve MD009/MD026/MD028/MD043
234
- - Update dependencies (including `markdown-it` to v12)
235
-
236
- ## 0.21.1
237
-
238
- - Improve MD011/MD031
239
- - Export `getVersion` API
240
-
241
- ## 0.21.0
242
-
243
- - Lint concurrently for better performance (async only)
244
- - Add Promise-based APIs
245
- - Update TypeScript declaration file
246
- - Hide `toString` on `LintResults`
247
- - Add ability to fix in browser demo
248
- - Allow custom rules in `.markdownlint.json` schema
249
- - Improve MD042/MD044
250
- - Improve documentation
251
- - Update dependencies
252
-
253
- ## 0.20.4
254
-
255
- - Fix regression in MD037
256
- - Improve MD034/MD044
257
- - Improve documentation
258
-
259
- ## 0.20.3
260
-
261
- - Fix regression in MD037
262
- - Improve MD044
263
- - Add automatic regression testing
264
-
265
- ## 0.20.2
266
-
267
- - Fix regression in MD037
268
- - Improve MD038
269
-
270
- ## 0.20.1
271
-
272
- - Fix regression in MD037
273
-
274
- ## 0.20.0
275
-
276
- - Add `markdownlint-configure-file` inline comment
277
- - Reimplement MD037
278
- - Improve MD005/MD007/MD013/MD018/MD029/MD031/MD034/MD038/MD039
279
- - Improve HTML comment handling
280
- - Update dependencies
281
-
282
- ## 0.19.0
283
-
284
- - Remove support for end-of-life Node version 8
285
- - Add fix information for MD005/list-indent
286
- - Improve MD007/MD013/MD014
287
- - Deprecate MD006/ul-start-left
288
- - Add rationale for every rule
289
- - Update test runner and code coverage
290
- - Add more JSDoc comments
291
- - Update dependencies
292
-
293
- ## 0.18.0
294
-
295
- - Add MD048/code-fence-style
296
- - Add fix information for MD007/ul-indent
297
- - Add `markdownlint-disable-file`/`markdownlint-enable-file` inline comments
298
- - Add type declaration file (.d.ts) for TypeScript dependents
299
- - Update schema
300
- - Improve MD006/MD007/MD009/MD013/MD030
301
- - Update dependencies
302
-
303
- ## 0.17.2
304
-
305
- - Improve MD020/MD033/MD044
306
-
307
- ## 0.17.1
308
-
309
- - Fix handling of front matter by fix information
310
-
311
- ## 0.17.0
312
-
313
- - Add `resultVersion` 3 to support fix information for default and custom rules
314
- - Add fix information for 24 rules
315
- - Update newline handling to match latest CommonMark specification
316
- - Improve MD014/MD037/MD039
317
- - Update dependencies
318
-
319
- ## 0.16.0
320
-
321
- - Add custom rule sample for linting code
322
- - Improve MD026/MD031/MD033/MD038
323
- - Update dependencies
324
-
325
- ## 0.15.0
326
-
327
- - Add `markdownlint-capture`/`markdownlint-restore` inline comments
328
- - Improve MD009/MD013/MD026/MD033/MD036
329
- - Update dependencies
330
-
331
- ## 0.14.2
332
-
333
- - Improve MD047
334
- - Add `handleRuleFailures` option
335
-
336
- ## 0.14.1
337
-
338
- - Improve MD033
339
-
340
- ## 0.14.0
341
-
342
- - Remove support for end-of-life Node version 6
343
- - Introduce `markdownlint-rule-helpers`
344
- - Add MD046/MD047
345
- - Improve MD033/MD034/MD039
346
- - Improve custom rule validation and in-browser demo
347
- - Update dependencies
348
-
349
- ## 0.13.0
350
-
351
- - Improve MD013/MD022/MD025/MD029/MD031/MD032/MD037/MD041
352
- - Deprecate MD002
353
- - Improve Pandoc YAML support
354
- - Update dependencies
355
-
356
- ## 0.12.0
357
-
358
- - Add `information` link for custom rules
359
- - Add `markdownItPlugins` for extensibility
360
- - Improve MD023/MD032/MD038
361
- - Update dependencies
362
-
363
- ## 0.11.0
364
-
365
- - Improve MD005/MD024/MD029/MD038
366
- - Improve custom rule example
367
- - Add `CONTRIBUTING.md`
368
- - Update dependencies
369
-
370
- ## 0.10.0
371
-
372
- - Add support for non-JSON configuration files
373
- - Pass file/string name to custom rules
374
- - Update dependencies
375
-
376
- ## 0.9.0
377
-
378
- - Remove support for end-of-life Node versions 0.10/0.12/4
379
- - Change "header" to "heading" per spec (non-breaking)
380
- - Improve MD003/MD009/MD041
381
- - Handle uncommon line-break characters
382
- - Refactor for ES6
383
- - Update dependencies
384
-
385
- ## 0.8.1
386
-
387
- - Update item loop to be iterative
388
- - Improve MD014
389
- - Update dependencies
390
-
391
- ## 0.8.0
392
-
393
- - Add support for using and authoring custom rules
394
- - Improve MD004/MD007/MD013
395
- - Add `engines` to `package.json`
396
- - Refactor
397
- - Update dependencies
398
-
399
- ## 0.7.0
400
-
401
- - `resultVersion` defaults to 2 (breaking change)
402
- - Add MD045
403
- - Improve MD029
404
- - Remove `trimLeft`/`trimRight`
405
- - Split rules
406
- - Refactor
407
- - Update dependencies
408
-
409
- ## 0.6.4
410
-
411
- - Improve MD029/MD042
412
- - Update dependencies
413
-
414
- ## 0.6.3
415
-
416
- - Improve highlighting for MD020
417
-
418
- ## 0.6.2
419
-
420
- - Improve MD013/MD027/MD034/MD037/MD038/MD041/MD044
421
- - Update dependencies
422
-
423
- ## 0.6.1
424
-
425
- - Update `markdown-it` versioning
426
- - Exclude demo/test from publishing
427
-
428
- ## 0.6.0
429
-
430
- - `resultVersion` defaults to 1 (breaking change)
431
- - Ignore HTML comments
432
- - TOML front matter
433
- - Fixes for MD044
434
- - Update dependencies
435
-
436
- ## 0.5.0
437
-
438
- - Add shareable configuration
439
- - Add `noInlineConfig` option
440
- - Add `README.md` links
441
- - Fix MD030
442
- - Improve MD009/MD041
443
- - Update dependencies
444
-
445
- ## 0.4.1
446
-
447
- - Fixes for MD038/front matter
448
- - Improvements to MD044
449
- - Update dependencies
450
-
451
- ## 0.4.0
452
-
453
- - Add MD044
454
- - Enhance MD013/MD032/MD041/MD042/MD043
455
- - Fix for MD038
456
- - Update dependencies
457
-
458
- ## 0.3.1
459
-
460
- - Fix regressions in MD032/MD038
461
- - Update dependencies
462
-
463
- ## 0.3.0
464
-
465
- - More detailed error reporting with `resultVersion`
466
- - Enhance MD010/MD012/MD036
467
- - Fixes for MD027/MD029/MD030
468
- - Include JSON schema dependencies
469
-
470
- ## 0.2.0
471
-
472
- - Add MD042/MD043
473
- - Enhance MD002/MD003/MD004/MD007/MD011/MD025/MD041
474
- - Update dependencies
475
-
476
- ## 0.1.1
477
-
478
- - Fix bug handling HTML in tables
479
- - Reference `markdownlint-cli`
480
-
481
- ## 0.1.0
482
-
483
- - Add aliases
484
- - Exceptions for MD033
485
- - Exclusions for MD013
486
- - Update dependencies
487
-
488
- ## 0.0.8
489
-
490
- - Support disabling/enabling rules inline
491
- - Improve code fence
492
- - Update dependencies
493
-
494
- ## 0.0.7
495
-
496
- - Add MD041
497
- - Improve MD003
498
- - Ignore front matter
499
- - Update dependencies
500
-
501
- ## 0.0.6
502
-
503
- - Improve performance
504
- - Simplify in-browser
505
- - Update dependencies
506
-
507
- ## 0.0.5
508
-
509
- - Add `strings` option to enable file-less scenarios
510
- - Add in-browser demo
511
-
512
- ## 0.0.4
513
-
514
- - Add tests MD033-MD040
515
- - Update dependencies
516
-
517
- ## 0.0.3
518
-
519
- - Add synchronous API
520
- - Improve documentation and code
521
-
522
- ## 0.0.2
523
-
524
- - Improve documentation, tests, and code
525
-
526
- ## 0.0.1
527
-
528
- - Initial release
529
- - Includes tests MD001-MD032
@@ -1,92 +0,0 @@
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
- parser [`micromark`][micromark] (and its extensions) is this project's only
18
- dependency.
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 [Why I
23
- pin dependency versions in Node.js packages][version-pinning] for a longer
24
- explanation.)
25
-
26
- If developing a new rule, start by creating a [custom rule][custom-rules] in its
27
- own project. Once written, published, and tested in real world scenarios, open
28
- an issue to consider adding it to this project. For rule ideas, see [issues
29
- tagged with the `new rule` label][new-rule].
30
-
31
- Add tests for all new/changed functionality. Test positive and negative
32
- scenarios. Try to break the new code now, or else it will get broken later.
33
-
34
- Run tests before sending a pull request via `npm test` in the [usual
35
- manner][npm-scripts]. Tests should all pass on all platforms. The test runner is
36
- [AVA][ava] and test cases are located in `test/markdownlint-test*.js`. When
37
- running tests, `test/*.md` files are enumerated, linted, and fail if any
38
- violations are missing a corresponding `{MD###}` marker in the test file. For
39
- example, the line `### Heading {MD001}` is expected to trigger the rule `MD001`.
40
- For cases where the marker text can not be present on the same line, the syntax
41
- `{MD###:#}` can be used to include a line number. If `some-test.md` needs custom
42
- configuration, a `some-test.json` is used to provide a custom `options.config`
43
- for that scenario. Tests run by `markdownlint-test-scenarios.js` use [AVA's
44
- snapshot feature][ava-snapshots]. To update snapshots (for example, after
45
- modifying a test file), run `npm run update-snapshots` and include the updated
46
- files with the pull request.
47
-
48
- Lint before sending a pull request by running `npm run lint`. There should be no
49
- issues.
50
-
51
- Run a full continuous integration pass before sending a pull request via `npm
52
- run ci`. Code coverage should always be 100%. As part of a continuous
53
- integration run, generated files may get updated and fail the run - commit them
54
- to the repository and rerun continuous integration.
55
-
56
- Pull requests should contain a single commit. If necessary, squash multiple
57
- commits before creating the pull request and when making changes. (See [Git
58
- Tools - Rewriting History][rewriting-history] for details.)
59
-
60
- Open pull requests against the `next` branch. That's where the latest changes
61
- are staged for the next release. Include the text "(fixes #??)" at the end of
62
- the commit message so the pull request will be associated with the relevant
63
- issue. End commit messages with a period (`.`). Once accepted, the tag `fixed in
64
- next` will be added to the issue. When the commit is merged to the main branch
65
- during the release process, the issue will be closed automatically. (See
66
- [Closing issues using keywords][closing-keywords] for details.)
67
-
68
- Please refrain from using slang or meaningless placeholder words. Sample content
69
- can be "text", "code", "heading", or the like. Sample URLs should use
70
- [example.com][example-com] which is safe for this purpose. Profanity is not
71
- allowed.
72
-
73
- In order to maintain the permissive MIT license this project uses, all
74
- contributions must be your own and released under that license. Code you add
75
- should be an original work and should not be copied from elsewhere. Taking code
76
- from a different project, Stack Overflow, or the like is not allowed. The use of
77
- tools such as GitHub Copilot, ChatGPT, LLMs (large language models), etc. that
78
- incorporate code from other projects is not allowed.
79
-
80
- Thank you!
81
-
82
- [ava]: https://github.com/avajs/ava
83
- [ava-snapshots]: https://github.com/avajs/ava/blob/main/docs/04-snapshot-testing.md
84
- [closing-keywords]: https://help.github.com/articles/closing-issues-using-keywords/
85
- [custom-rules]: doc/CustomRules.md
86
- [dependencies]: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#dependencies
87
- [example-com]: https://wikipedia.org/wiki/Example.com
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
- [rewriting-history]: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
92
- [version-pinning]: https://dlaa.me/blog/post/versionpinning
@@ -1,21 +0,0 @@
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.