@storm-software/markdownlint 0.21.2 → 0.22.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/README.md +1 -1
- package/config/base.markdownlint-cli2.jsonc +43 -0
- package/config/base.markdownlint.jsonc +225 -0
- package/config/link-check.json +10 -0
- package/package.json +12 -37
- /package/dist/rules/{index.d.mts → rules/index.d.mts} +0 -0
- /package/dist/rules/{index.d.ts → rules/index.d.ts} +0 -0
- /package/dist/rules/{index.js → rules/index.js} +0 -0
- /package/dist/rules/{index.mjs → rules/index.mjs} +0 -0
- /package/dist/rules/{no-default-alt-text.d.mts → rules/no-default-alt-text.d.mts} +0 -0
- /package/dist/rules/{no-default-alt-text.d.ts → rules/no-default-alt-text.d.ts} +0 -0
- /package/dist/rules/{no-default-alt-text.js → rules/no-default-alt-text.js} +0 -0
- /package/dist/rules/{no-default-alt-text.mjs → rules/no-default-alt-text.mjs} +0 -0
- /package/dist/rules/{no-empty-alt-text.d.mts → rules/no-empty-alt-text.d.mts} +0 -0
- /package/dist/rules/{no-empty-alt-text.d.ts → rules/no-empty-alt-text.d.ts} +0 -0
- /package/dist/rules/{no-empty-alt-text.js → rules/no-empty-alt-text.js} +0 -0
- /package/dist/rules/{no-empty-alt-text.mjs → rules/no-empty-alt-text.mjs} +0 -0
- /package/dist/rules/{no-generic-link-text.d.mts → rules/no-generic-link-text.d.mts} +0 -0
- /package/dist/rules/{no-generic-link-text.d.ts → rules/no-generic-link-text.d.ts} +0 -0
- /package/dist/rules/{no-generic-link-text.js → rules/no-generic-link-text.js} +0 -0
- /package/dist/rules/{no-generic-link-text.mjs → rules/no-generic-link-text.mjs} +0 -0
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.17.2/schema/markdownlint-cli2-config-schema.json",
|
|
3
|
+
"config": {
|
|
4
|
+
"extends": "base.markdownlint.jsonc"
|
|
5
|
+
},
|
|
6
|
+
// "customRules": ["@storm-software/markdownlint/rules"],
|
|
7
|
+
"fix": true,
|
|
8
|
+
"ignores": [
|
|
9
|
+
"node_modules/**/*",
|
|
10
|
+
"**/node_modules/**/*",
|
|
11
|
+
"dist/**/*",
|
|
12
|
+
"**/dist/**/*",
|
|
13
|
+
"tmp/**/*",
|
|
14
|
+
"**/tmp/**/*",
|
|
15
|
+
"out/**/*",
|
|
16
|
+
"**/out/**/*",
|
|
17
|
+
"coverage/**/*",
|
|
18
|
+
"**/coverage/**/*",
|
|
19
|
+
"generated/**/*",
|
|
20
|
+
"**/generated/**/*",
|
|
21
|
+
"__generated__/**/*",
|
|
22
|
+
"**/__generated__/**/*",
|
|
23
|
+
"__tests__/**/*",
|
|
24
|
+
"**/__tests__/**/*",
|
|
25
|
+
"__mocks__/**/*",
|
|
26
|
+
"**/__mocks__/**/*",
|
|
27
|
+
".cache/**/*",
|
|
28
|
+
"**/.cache/**/*",
|
|
29
|
+
".next/**/*",
|
|
30
|
+
"**/.next/**/*",
|
|
31
|
+
".nuxt/**/*",
|
|
32
|
+
"**/.nuxt/**/*",
|
|
33
|
+
".idea/**/*",
|
|
34
|
+
"**/.idea/**/*",
|
|
35
|
+
".nx/**/*",
|
|
36
|
+
".vscode/**/*",
|
|
37
|
+
".github/**/*",
|
|
38
|
+
".git/**/*",
|
|
39
|
+
".husky/**/*",
|
|
40
|
+
".yarn/**/*",
|
|
41
|
+
".pnp/**/*"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
//Be explicit by listing every available rule. https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md
|
|
3
|
+
// Note that there will be numeric gaps, not every MD number is implemented in markdownlint.
|
|
4
|
+
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema.json",
|
|
5
|
+
|
|
6
|
+
// MD001: Header levels should only increment by one level at a time.
|
|
7
|
+
"header-increment": true,
|
|
8
|
+
|
|
9
|
+
// MD002: First header should be a top level header.
|
|
10
|
+
"first-header-h1": false,
|
|
11
|
+
|
|
12
|
+
// MD003: Header style: start with hashes.
|
|
13
|
+
"heading-style": {
|
|
14
|
+
"style": "atx"
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
// MD004: Unordered list style
|
|
18
|
+
"ul-style": {
|
|
19
|
+
"style": "dash"
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
// MD005: Consistent indentation for list items at the same level.
|
|
23
|
+
"list-indent": true,
|
|
24
|
+
|
|
25
|
+
// MD006: Consider starting bulleted lists at the beginning of the line.
|
|
26
|
+
"ul-start-left": false,
|
|
27
|
+
|
|
28
|
+
// MD007: Unordered list indentation: 2 spaces.
|
|
29
|
+
"ul-indent": {
|
|
30
|
+
"indent": 2,
|
|
31
|
+
"start_indented": false
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
// MD009: Disallow trailing spaces!
|
|
35
|
+
"no-trailing-spaces": {
|
|
36
|
+
"br_spaces": 0,
|
|
37
|
+
// Empty lines inside list items should not be indented.",
|
|
38
|
+
"list_item_empty_lines": false
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
// MD010: No hard tabs, not even in code blocks.
|
|
42
|
+
"no-hard-tabs": {
|
|
43
|
+
"code_blocks": true
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
// MD011: Prevent reversed link syntax
|
|
47
|
+
"no-reversed-links": true,
|
|
48
|
+
|
|
49
|
+
// MD012: Disallow multiple consecutive blank lines.
|
|
50
|
+
"no-multiple-blanks": {
|
|
51
|
+
"maximum": 1
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
// MD013: Line length
|
|
55
|
+
"line-length": {
|
|
56
|
+
"tables": false,
|
|
57
|
+
"code_blocks": false,
|
|
58
|
+
"headings": false,
|
|
59
|
+
"line_length": 250
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
// MD014: Disallow use of dollar signs($) before commands without showing output.
|
|
63
|
+
"commands-show-output": true,
|
|
64
|
+
|
|
65
|
+
// MD018: No space after hash on atx style heading
|
|
66
|
+
"no-missing-space-atx": true,
|
|
67
|
+
|
|
68
|
+
// MD019: No multiple spaces after hash on atx style heading
|
|
69
|
+
"no-multiple-space-atx": true,
|
|
70
|
+
|
|
71
|
+
// MD020: No space inside hashes on closed atx style heading
|
|
72
|
+
"no-missing-space-closed-atx": true,
|
|
73
|
+
|
|
74
|
+
// MD021: No multiple spaces inside hashes on closed atx style heading
|
|
75
|
+
"no-multiple-space-closed-atx": true,
|
|
76
|
+
|
|
77
|
+
// MD022: Headers should be surrounded by blank lines.
|
|
78
|
+
// Some headers have preceding HTML anchors. Unfortunate that we have to disable this, as it otherwise catches a real problem that trips up some Markdown renderers
|
|
79
|
+
"blanks-around-headers": false,
|
|
80
|
+
|
|
81
|
+
// MD023: Headers must start at the beginning of the line.
|
|
82
|
+
"header-start-left": true,
|
|
83
|
+
|
|
84
|
+
// MD024: Multiple headers with the same content
|
|
85
|
+
"no-duplicate-heading": false,
|
|
86
|
+
|
|
87
|
+
// MD025: Disallow multiple top level headers in the same document.
|
|
88
|
+
// Gotta have a matching closing brace at the end.
|
|
89
|
+
"single-h1": false,
|
|
90
|
+
|
|
91
|
+
// MD026: Disallow trailing punctuation in header.
|
|
92
|
+
// You must have a semicolon after the ending closing brace.
|
|
93
|
+
"no-trailing-punctuation": {
|
|
94
|
+
"punctuation": ".,:!?"
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
// MD027: Multiple spaces after blockquote symbol
|
|
98
|
+
"no-multiple-space-blockquote": true,
|
|
99
|
+
|
|
100
|
+
// MD028: Blank line inside blockquote
|
|
101
|
+
// Some 'Why?' and 'Why not?' blocks are separated by a blank line
|
|
102
|
+
"no-blanks-blockquote": false,
|
|
103
|
+
|
|
104
|
+
// MD029: Ordered list item prefix
|
|
105
|
+
"ol-prefix": {
|
|
106
|
+
"style": "one_or_ordered"
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
// MD030: Spaces after list markers
|
|
110
|
+
"list-marker-space": {
|
|
111
|
+
"ul_single": 1,
|
|
112
|
+
"ol_single": 1,
|
|
113
|
+
"ul_multi": 1,
|
|
114
|
+
"ol_multi": 1
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
// MD031: Fenced code blocks should be surrounded by blank lines
|
|
118
|
+
"no-empty-code-blocks": true,
|
|
119
|
+
|
|
120
|
+
// MD032: Lists should be surrounded by blank lines
|
|
121
|
+
"no-empty-lists": true,
|
|
122
|
+
|
|
123
|
+
// MD033: Inline HTML
|
|
124
|
+
"no-inline-html": false,
|
|
125
|
+
|
|
126
|
+
// MD034: Bare URL used
|
|
127
|
+
"no-bare-urls": true,
|
|
128
|
+
|
|
129
|
+
// MD035: Horizontal rule style
|
|
130
|
+
"hr-style": {
|
|
131
|
+
"style": "---"
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
// MD036: Do not use emphasis instead of a header.
|
|
135
|
+
"no-emphasis-as-header": false,
|
|
136
|
+
|
|
137
|
+
// MD037: Disallow spaces inside emphasis markers.
|
|
138
|
+
"no-space-in-emphasis": true,
|
|
139
|
+
|
|
140
|
+
// MD038: Disallow spaces inside code span elements.
|
|
141
|
+
"no-space-in-code": true,
|
|
142
|
+
|
|
143
|
+
// MD039: Disallow spaces inside link text.
|
|
144
|
+
"no-space-in-links": false,
|
|
145
|
+
|
|
146
|
+
// MD040: Fenced code blocks should have a language specified.
|
|
147
|
+
"fenced-code-language": true,
|
|
148
|
+
|
|
149
|
+
// MD041: First line in file should be a top level header.
|
|
150
|
+
"first-line-h1": false,
|
|
151
|
+
|
|
152
|
+
// MD042: No empty links
|
|
153
|
+
"no-empty-links": true,
|
|
154
|
+
|
|
155
|
+
// MD043: Required header structure.
|
|
156
|
+
"required-headers": false,
|
|
157
|
+
|
|
158
|
+
// MD044: Proper names should have the correct capitalization.
|
|
159
|
+
"proper-names": false,
|
|
160
|
+
|
|
161
|
+
// MD045 - Images should have alternate text (alt text)
|
|
162
|
+
"no-alt-text": false,
|
|
163
|
+
|
|
164
|
+
// MD046 - Code block style
|
|
165
|
+
"code-block-style": {
|
|
166
|
+
"style": "fenced"
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
// MD047 - Files should end with a single newline character
|
|
170
|
+
"single-trailing-newline": true,
|
|
171
|
+
|
|
172
|
+
// MD048 - Code fence style
|
|
173
|
+
"code-fence-style": {
|
|
174
|
+
"style": "backtick"
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
// MD049 - Emphasis style
|
|
178
|
+
"emphasis-style": {
|
|
179
|
+
"style": "consistent"
|
|
180
|
+
},
|
|
181
|
+
|
|
182
|
+
// MD050 - Strong style
|
|
183
|
+
"strong-style": {
|
|
184
|
+
"style": "asterisk"
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
// MD051 - Link fragments should be valid
|
|
188
|
+
"link-fragments": true,
|
|
189
|
+
|
|
190
|
+
// MD052 - Reference links and images should use a label that is defined
|
|
191
|
+
"reference-links-images": {
|
|
192
|
+
"shortcut_syntax": false
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
// MD053 - Link and image reference definitions should be needed
|
|
196
|
+
"link-image-reference-definitions": {
|
|
197
|
+
"ignored_definitions": ["//"]
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
// MD054 - Link and image style
|
|
201
|
+
"link-image-style": {
|
|
202
|
+
"autolink": true,
|
|
203
|
+
"collapsed": true,
|
|
204
|
+
"full": true,
|
|
205
|
+
"inline": true,
|
|
206
|
+
"shortcut": true,
|
|
207
|
+
"url_inline": true
|
|
208
|
+
},
|
|
209
|
+
|
|
210
|
+
// MD055 - Table pipe style
|
|
211
|
+
"table-pipe-style": {
|
|
212
|
+
"style": "consistent"
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
// MD056 - Table column count
|
|
216
|
+
"table-column-count": true,
|
|
217
|
+
|
|
218
|
+
// MD058 - Tables should be surrounded by blank lines
|
|
219
|
+
"blanks-around-tables": true,
|
|
220
|
+
|
|
221
|
+
// MD059 - Spaces inside link text
|
|
222
|
+
"spaces-around-links": {
|
|
223
|
+
"both": true
|
|
224
|
+
}
|
|
225
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/markdownlint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "An opinionated collection of markdownlint rules used by Storm Software.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -39,41 +39,27 @@
|
|
|
39
39
|
},
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"private": false,
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"pnpm": ">=10.3.0"
|
|
45
|
-
},
|
|
42
|
+
"packageManager": "pnpm@10.3.0",
|
|
43
|
+
"engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
|
|
46
44
|
"main": "./dist/index.cjs",
|
|
47
45
|
"module": "./dist/index.js",
|
|
48
46
|
"exports": {
|
|
49
47
|
"./package.json": "./package.json",
|
|
50
48
|
".": {
|
|
51
|
-
"import": {
|
|
52
|
-
"types": "./dist/index.d.ts",
|
|
53
|
-
"default": "./dist/index.js"
|
|
54
|
-
},
|
|
49
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
55
50
|
"require": {
|
|
56
51
|
"types": "./dist/index.d.cts",
|
|
57
52
|
"default": "./dist/index.cjs"
|
|
58
53
|
},
|
|
59
|
-
"default": {
|
|
60
|
-
"types": "./dist/index.d.ts",
|
|
61
|
-
"default": "./dist/index.js"
|
|
62
|
-
}
|
|
54
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
63
55
|
},
|
|
64
56
|
"./index": {
|
|
65
|
-
"import": {
|
|
66
|
-
"types": "./dist/index.d.ts",
|
|
67
|
-
"default": "./dist/index.js"
|
|
68
|
-
},
|
|
57
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
69
58
|
"require": {
|
|
70
59
|
"types": "./dist/index.d.cts",
|
|
71
60
|
"default": "./dist/index.cjs"
|
|
72
61
|
},
|
|
73
|
-
"default": {
|
|
74
|
-
"types": "./dist/index.d.ts",
|
|
75
|
-
"default": "./dist/index.js"
|
|
76
|
-
}
|
|
62
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
77
63
|
},
|
|
78
64
|
"./rules/*": {
|
|
79
65
|
"import": {
|
|
@@ -98,10 +84,7 @@
|
|
|
98
84
|
"./config/*": "./config/*"
|
|
99
85
|
},
|
|
100
86
|
"types": "./dist/index.d.ts",
|
|
101
|
-
"files": [
|
|
102
|
-
"config/**/*",
|
|
103
|
-
"dist/**/*"
|
|
104
|
-
],
|
|
87
|
+
"files": ["config/**/*", "dist/**/*"],
|
|
105
88
|
"keywords": [
|
|
106
89
|
"markdownlint",
|
|
107
90
|
"markdownlint-cli",
|
|
@@ -114,15 +97,7 @@
|
|
|
114
97
|
"stormstack",
|
|
115
98
|
"sullivanpj"
|
|
116
99
|
],
|
|
117
|
-
"dependencies": {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"devDependencies": {
|
|
122
|
-
"@types/node": "^22.10.2",
|
|
123
|
-
"tsup": "8.4.0"
|
|
124
|
-
},
|
|
125
|
-
"publishConfig": {
|
|
126
|
-
"access": "public"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
100
|
+
"dependencies": { "defu": "6.1.4", "markdownlint-cli2": "^0.17.2" },
|
|
101
|
+
"devDependencies": { "@types/node": "^22.10.2", "tsup": "8.4.0" },
|
|
102
|
+
"publishConfig": { "access": "public" }
|
|
103
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|