markdownlint 0.32.1 → 0.33.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.
- package/CHANGELOG.md +10 -0
- package/README.md +6 -0
- package/demo/markdownlint-browser.js +2292 -3179
- package/doc/Rules.md +99 -5
- package/doc/md024.md +2 -5
- package/doc/md055.md +54 -0
- package/doc/md056.md +37 -0
- package/helpers/README.md +3 -3
- package/helpers/micromark.cjs +3 -2
- package/helpers/package.json +1 -1
- package/lib/configuration.d.ts +136 -110
- package/lib/constants.js +1 -1
- package/lib/markdownlint.js +0 -1
- package/lib/md005.js +3 -3
- package/lib/md007.js +3 -2
- package/lib/md024.js +8 -4
- package/lib/md026.js +2 -2
- package/lib/md038.js +17 -15
- package/lib/md055.js +72 -0
- package/lib/md056.js +44 -0
- package/lib/rules.js +5 -3
- package/package.json +22 -23
- package/schema/.markdownlint.jsonc +58 -51
- package/schema/.markdownlint.yaml +56 -50
- package/schema/ValidatingConfiguration.md +28 -0
- package/schema/markdownlint-config-schema.json +165 -113
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.33.0
|
|
4
|
+
|
|
5
|
+
- Add MD055/table-pipe-style, MD056/table-column-count
|
|
6
|
+
- Improve MD005/MD007/MD024/MD026/MD038
|
|
7
|
+
- Incorporate `micromark-extension-directive`
|
|
8
|
+
- Improve JSON schema, document validation
|
|
9
|
+
- Reduce size of browser script
|
|
10
|
+
- Update dependencies
|
|
11
|
+
|
|
3
12
|
## 0.32.1
|
|
4
13
|
|
|
5
14
|
- Fix behavior of MD054
|
|
@@ -13,6 +22,7 @@
|
|
|
13
22
|
- Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
|
|
14
23
|
- Improve JSON schema and related examples
|
|
15
24
|
- Provide type declaration for Configuration object
|
|
25
|
+
- Remove support for end-of-life Node version 16
|
|
16
26
|
- Update dependencies
|
|
17
27
|
|
|
18
28
|
## 0.31.1
|
package/README.md
CHANGED
|
@@ -134,6 +134,8 @@ playground for learning and exploring.
|
|
|
134
134
|
- **[MD052](doc/md052.md)** *reference-links-images* - Reference links and images should use a label that is defined
|
|
135
135
|
- **[MD053](doc/md053.md)** *link-image-reference-definitions* - Link and image reference definitions should be needed
|
|
136
136
|
- **[MD054](doc/md054.md)** *link-image-style* - Link and image style
|
|
137
|
+
- **[MD055](doc/md055.md)** *table-pipe-style* - Table pipe style
|
|
138
|
+
- **[MD056](doc/md056.md)** *table-column-count* - Table column count
|
|
137
139
|
|
|
138
140
|
<!-- markdownlint-restore -->
|
|
139
141
|
|
|
@@ -175,6 +177,7 @@ rules at once.
|
|
|
175
177
|
- **`ol`** - `MD029`, `MD030`, `MD032`
|
|
176
178
|
- **`spaces`** - `MD018`, `MD019`, `MD020`, `MD021`, `MD023`
|
|
177
179
|
- **`spelling`** - `MD044`
|
|
180
|
+
- **`table`** - `MD055`, `MD056`
|
|
178
181
|
- **`ul`** - `MD004`, `MD005`, `MD007`, `MD030`, `MD032`
|
|
179
182
|
- **`url`** - `MD034`
|
|
180
183
|
- **`whitespace`** - `MD009`, `MD010`, `MD012`, `MD027`, `MD028`, `MD030`,
|
|
@@ -403,6 +406,9 @@ See [markdownlint-config-schema.json](schema/markdownlint-config-schema.json)
|
|
|
403
406
|
for the [JSON Schema](https://json-schema.org/) of the `options.config`
|
|
404
407
|
object.
|
|
405
408
|
|
|
409
|
+
See [ValidatingConfiguration.md](schema/ValidatingConfiguration.md) for ways to
|
|
410
|
+
use the JSON Schema to validate configuration.
|
|
411
|
+
|
|
406
412
|
For more advanced scenarios, styles can reference and extend other styles.
|
|
407
413
|
The `readConfig` and `readConfigSync` functions can be used to read such
|
|
408
414
|
styles.
|