@theholocron/markdownlint-config 8.5.4 → 8.6.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.
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ import { Configuration } from "markdownlint";
|
|
|
16
16
|
* disable — still catches a genuine duplicate at the same nesting level,
|
|
17
17
|
* but allows the same heading text at different levels (a common
|
|
18
18
|
* TOC/section-per-subsystem pattern in this org's longer docs).
|
|
19
|
+
* - `fenced-code-language` (MD040): explicit `true` — already markdownlint's
|
|
20
|
+
* own core default (not part of `prettierStyle`, which doesn't mention it
|
|
21
|
+
* at all), but declared here so it's guaranteed enforced org-wide rather
|
|
22
|
+
* than an implicit default that could silently disappear if the upstream
|
|
23
|
+
* preset ever changes. An unlabeled fence loses syntax highlighting and
|
|
24
|
+
* can't be told apart from a real code sample at a glance.
|
|
19
25
|
*/
|
|
20
26
|
declare const config: Configuration;
|
|
21
27
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -16,12 +16,19 @@ import prettierStyle from "markdownlint/style/prettier" with { type: "json" };
|
|
|
16
16
|
* disable — still catches a genuine duplicate at the same nesting level,
|
|
17
17
|
* but allows the same heading text at different levels (a common
|
|
18
18
|
* TOC/section-per-subsystem pattern in this org's longer docs).
|
|
19
|
+
* - `fenced-code-language` (MD040): explicit `true` — already markdownlint's
|
|
20
|
+
* own core default (not part of `prettierStyle`, which doesn't mention it
|
|
21
|
+
* at all), but declared here so it's guaranteed enforced org-wide rather
|
|
22
|
+
* than an implicit default that could silently disappear if the upstream
|
|
23
|
+
* preset ever changes. An unlabeled fence loses syntax highlighting and
|
|
24
|
+
* can't be told apart from a real code sample at a glance.
|
|
19
25
|
*/
|
|
20
26
|
const config = {
|
|
21
27
|
...prettierStyle,
|
|
22
28
|
"no-inline-html": false,
|
|
23
29
|
"first-line-heading": false,
|
|
24
|
-
"duplicate-heading": { siblings_only: true }
|
|
30
|
+
"duplicate-heading": { siblings_only: true },
|
|
31
|
+
"fenced-code-language": true
|
|
25
32
|
};
|
|
26
33
|
//#endregion
|
|
27
34
|
export { config as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/markdownlint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.1",
|
|
4
4
|
"description": "A markdownlint configuration for documentation in the Galaxy.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdownlint",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"tsdown": "^0.22.14",
|
|
37
37
|
"typescript": "^5.9.3",
|
|
38
38
|
"vitest": "^4.1.10",
|
|
39
|
-
"@theholocron/
|
|
40
|
-
"@theholocron/
|
|
39
|
+
"@theholocron/vitest-config": "8.6.1",
|
|
40
|
+
"@theholocron/tsconfig": "8.6.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"markdownlint": "^0.41"
|