markdownlint 0.36.1 → 0.37.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 +7 -0
- package/README.md +70 -117
- package/doc/CustomRules.md +6 -6
- package/helpers/README.md +2 -2
- package/helpers/{helpers.js → helpers.cjs} +15 -6
- package/helpers/micromark-helpers.cjs +5 -3
- package/helpers/package.json +2 -5
- package/lib/{cache.js → cache.mjs} +9 -17
- package/lib/configuration-strict.d.ts +104 -104
- package/lib/configuration.d.ts +1 -1
- package/lib/{constants.js → constants.mjs} +4 -6
- package/lib/exports-async.d.mts +1 -0
- package/lib/exports-async.mjs +3 -0
- package/lib/exports-promise.d.mts +1 -0
- package/lib/exports-promise.mjs +3 -0
- package/lib/exports-sync.d.mts +1 -0
- package/lib/exports-sync.mjs +3 -0
- package/lib/exports.d.mts +28 -0
- package/lib/exports.mjs +31 -0
- package/lib/markdownit.cjs +9 -5
- package/lib/{markdownlint.d.ts → markdownlint.d.mts} +66 -76
- package/lib/{markdownlint.js → markdownlint.mjs} +69 -75
- package/lib/{md001.js → md001.mjs} +5 -8
- package/lib/{md003.js → md003.mjs} +5 -8
- package/lib/{md004.js → md004.mjs} +6 -9
- package/lib/{md005.js → md005.mjs} +4 -7
- package/lib/{md007.js → md007.mjs} +8 -13
- package/lib/{md009.js → md009.mjs} +5 -8
- package/lib/{md010.js → md010.mjs} +7 -11
- package/lib/{md011.js → md011.mjs} +7 -11
- package/lib/{md012.js → md012.mjs} +5 -8
- package/lib/{md013.js → md013.mjs} +8 -9
- package/lib/{md014.js → md014.mjs} +4 -7
- package/lib/{md018.js → md018.mjs} +5 -8
- package/lib/{md019-md021.js → md019-md021.mjs} +7 -10
- package/lib/{md020.js → md020.mjs} +5 -8
- package/lib/{md022.js → md022.mjs} +5 -8
- package/lib/{md023.js → md023.mjs} +4 -7
- package/lib/{md024.js → md024.mjs} +5 -8
- package/lib/{md025.js → md025.mjs} +5 -8
- package/lib/{md026.js → md026.mjs} +5 -8
- package/lib/{md027.js → md027.mjs} +12 -9
- package/lib/{md028.js → md028.mjs} +4 -7
- package/lib/{md029.js → md029.mjs} +6 -9
- package/lib/{md030.js → md030.mjs} +4 -7
- package/lib/{md031.js → md031.mjs} +7 -10
- package/lib/{md032.js → md032.mjs} +5 -8
- package/lib/{md033.js → md033.mjs} +5 -8
- package/lib/{md034.js → md034.mjs} +5 -6
- package/lib/{md035.js → md035.mjs} +4 -7
- package/lib/{md036.js → md036.mjs} +6 -9
- package/lib/{md037.js → md037.mjs} +4 -7
- package/lib/{md038.js → md038.mjs} +5 -8
- package/lib/{md039.js → md039.mjs} +9 -12
- package/lib/{md040.js → md040.mjs} +5 -8
- package/lib/{md041.js → md041.mjs} +4 -8
- package/lib/{md042.js → md042.mjs} +5 -8
- package/lib/{md043.js → md043.mjs} +5 -8
- package/lib/{md044.js → md044.mjs} +8 -11
- package/lib/{md045.js → md045.mjs} +5 -8
- package/lib/{md046.js → md046.mjs} +4 -7
- package/lib/{md047.js → md047.mjs} +3 -6
- package/lib/{md048.js → md048.mjs} +5 -8
- package/lib/{md049-md050.js → md049-md050.mjs} +8 -11
- package/lib/{md051.js → md051.mjs} +8 -12
- package/lib/{md052.js → md052.mjs} +4 -7
- package/lib/{md053.js → md053.mjs} +4 -7
- package/lib/{md054.js → md054.mjs} +5 -8
- package/lib/{md055.js → md055.mjs} +6 -7
- package/lib/{md056.js → md056.mjs} +7 -8
- package/lib/{md058.js → md058.mjs} +6 -7
- package/{helpers/micromark-parse.cjs → lib/micromark-parse.mjs} +29 -33
- package/lib/micromark-types.d.mts +11 -0
- package/lib/rules.mjs +118 -0
- package/lib/types.d.mts +12 -0
- package/package.json +36 -32
- package/schema/.markdownlint.jsonc +51 -51
- package/schema/.markdownlint.yaml +51 -51
- package/schema/markdownlint-config-schema-strict.json +106 -106
- package/schema/markdownlint-config-schema.json +106 -106
- package/demo/markdownlint-browser.js +0 -7138
- package/helpers/test.cjs +0 -28
- package/lib/rules.js +0 -74
- /package/helpers/{shared.js → shared.cjs} +0 -0
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
|
5
|
-
"type": "
|
|
6
|
-
"main": "./lib/markdownlint.js",
|
|
5
|
+
"type": "module",
|
|
7
6
|
"exports": {
|
|
8
|
-
".": "./lib/
|
|
9
|
-
"./
|
|
7
|
+
".": "./lib/exports.mjs",
|
|
8
|
+
"./async": "./lib/exports-async.mjs",
|
|
9
|
+
"./promise": "./lib/exports-promise.mjs",
|
|
10
|
+
"./sync": "./lib/exports-sync.mjs",
|
|
11
|
+
"./helpers": "./helpers/helpers.cjs",
|
|
10
12
|
"./style/all": "./style/all.json",
|
|
11
13
|
"./style/cirosantilli": "./style/cirosantilli.json",
|
|
12
14
|
"./style/prettier": "./style/prettier.json",
|
|
13
15
|
"./style/relaxed": "./style/relaxed.json"
|
|
14
16
|
},
|
|
15
|
-
"types": "./lib/
|
|
17
|
+
"types": "./lib/types.d.mts",
|
|
16
18
|
"author": "David Anson (https://dlaa.me/)",
|
|
17
19
|
"license": "MIT",
|
|
18
20
|
"homepage": "https://github.com/DavidAnson/markdownlint",
|
|
@@ -24,13 +26,12 @@
|
|
|
24
26
|
"funding": "https://github.com/sponsors/DavidAnson",
|
|
25
27
|
"scripts": {
|
|
26
28
|
"build-config": "npm run build-config-schema && npm run build-config-example",
|
|
27
|
-
"build-config-example": "node schema/build-config-example.
|
|
28
|
-
"build-config-schema": "node schema/build-config-schema.
|
|
29
|
-
"build-declaration": "tsc --allowJs --declaration --emitDeclarationOnly --module
|
|
30
|
-
"build-demo": "node scripts copy node_modules/markdown-it/dist/markdown-it.min.js demo/markdown-it.min.js &&
|
|
29
|
+
"build-config-example": "node schema/build-config-example.mjs",
|
|
30
|
+
"build-config-schema": "node schema/build-config-schema.mjs",
|
|
31
|
+
"build-declaration": "tsc --allowJs --checkJs --declaration --emitDeclarationOnly --module nodenext --outDir dts --rootDir . --target es2015 lib/exports.mjs lib/exports-async.mjs lib/exports-promise.mjs lib/exports-sync.mjs lib/markdownlint.mjs && node scripts/index.mjs copy dts/lib/exports.d.mts lib/exports.d.mts && node scripts/index.mjs copy dts/lib/exports-async.d.mts lib/exports-async.d.mts && node scripts/index.mjs copy dts/lib/exports-promise.d.mts lib/exports-promise.d.mts && node scripts/index.mjs copy dts/lib/exports-sync.d.mts lib/exports-sync.d.mts && node scripts/index.mjs copy dts/lib/markdownlint.d.mts lib/markdownlint.d.mts && node scripts/index.mjs remove dts",
|
|
32
|
+
"build-demo": "node scripts/index.mjs copy node_modules/markdown-it/dist/markdown-it.min.js demo/markdown-it.min.js && cd demo && webpack --no-stats",
|
|
31
33
|
"build-docs": "node doc-build/build-rules.mjs",
|
|
32
34
|
"build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",
|
|
33
|
-
"build-micromark": "cd micromark && npm run build",
|
|
34
35
|
"ci": "npm-run-all --continue-on-error --parallel lint serial-config-docs serial-declaration-demo test-cover && git diff --exit-code",
|
|
35
36
|
"clone-test-repos-apache-airflow": "cd test-repos && git clone https://github.com/apache/airflow apache-airflow --depth 1 --no-tags --quiet",
|
|
36
37
|
"clone-test-repos-dotnet-docs": "cd test-repos && git clone https://github.com/dotnet/docs dotnet-docs --depth 1 --no-tags --quiet",
|
|
@@ -45,20 +46,17 @@
|
|
|
45
46
|
"clone-test-repos-webpack-webpack-js-org": "cd test-repos && git clone https://github.com/webpack/webpack.js.org webpack-webpack-js-org --depth 1 --no-tags --quiet",
|
|
46
47
|
"clone-test-repos": "mkdir test-repos && cd test-repos && npm run clone-test-repos-apache-airflow && npm run clone-test-repos-dotnet-docs && npm run clone-test-repos-electron-electron && npm run clone-test-repos-eslint-eslint && npm run clone-test-repos-mdn-content && npm run clone-test-repos-mkdocs-mkdocs && npm run clone-test-repos-mochajs-mocha && npm run clone-test-repos-pi-hole-docs && npm run clone-test-repos-v8-v8-dev && npm run clone-test-repos-webhintio-hint && npm run clone-test-repos-webpack-webpack-js-org",
|
|
47
48
|
"declaration": "npm run build-declaration && npm run test-declaration",
|
|
48
|
-
"example": "cd example && node standalone.
|
|
49
|
-
"docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:latest npm install",
|
|
50
|
-
"docker-npm-run-upgrade": "docker run --rm --tty --name npm-run-upgrade --volume $PWD:/home/workdir --workdir /home/workdir --user node node:latest npm run upgrade",
|
|
51
|
-
"install-micromark": "cd micromark && npm install",
|
|
49
|
+
"example": "cd example && node standalone.mjs && grunt markdownlint --force && gulp markdownlint",
|
|
52
50
|
"lint": "eslint --max-warnings 0",
|
|
53
|
-
"lint-test-repos": "ava --timeout=10m test/markdownlint-test-repos-*.
|
|
51
|
+
"lint-test-repos": "ava --timeout=10m test/markdownlint-test-repos-*.mjs",
|
|
54
52
|
"serial-config-docs": "npm run build-config && npm run build-docs",
|
|
55
53
|
"serial-declaration-demo": "npm run build-declaration && npm-run-all --continue-on-error --parallel build-demo test-declaration",
|
|
56
|
-
"test": "ava --timeout=30s test/markdownlint-test.
|
|
54
|
+
"test": "ava --timeout=30s test/markdownlint-test.mjs test/markdownlint-test-config.mjs test/markdownlint-test-custom-rules.mjs test/markdownlint-test-fixes.mjs test/markdownlint-test-helpers.mjs test/markdownlint-test-micromark.mjs test/markdownlint-test-result-object.mjs test/markdownlint-test-scenarios.mjs helpers/test.cjs",
|
|
57
55
|
"test-cover": "c8 --100 npm test",
|
|
58
|
-
"test-declaration": "cd example/typescript && tsc --module
|
|
59
|
-
"test-extra": "ava --timeout=10m test/markdownlint-test-extra-parse.
|
|
60
|
-
"update-snapshots": "ava --update-snapshots test/markdownlint-test-custom-rules.
|
|
61
|
-
"update-snapshots-test-repos": "ava --timeout=10m --update-snapshots test/markdownlint-test-repos-*.
|
|
56
|
+
"test-declaration": "cd example/typescript && tsc --module commonjs && tsc --module nodenext && node type-check.js",
|
|
57
|
+
"test-extra": "ava --timeout=10m test/markdownlint-test-extra-parse.mjs test/markdownlint-test-extra-type.mjs",
|
|
58
|
+
"update-snapshots": "ava --update-snapshots test/markdownlint-test-custom-rules.mjs test/markdownlint-test-micromark.mjs test/markdownlint-test-scenarios.mjs",
|
|
59
|
+
"update-snapshots-test-repos": "ava --timeout=10m --update-snapshots test/markdownlint-test-repos-*.mjs",
|
|
62
60
|
"upgrade": "npx --yes npm-check-updates --upgrade"
|
|
63
61
|
},
|
|
64
62
|
"engines": {
|
|
@@ -66,24 +64,30 @@
|
|
|
66
64
|
},
|
|
67
65
|
"dependencies": {
|
|
68
66
|
"markdown-it": "14.1.0",
|
|
69
|
-
"
|
|
67
|
+
"micromark": "4.0.1",
|
|
68
|
+
"micromark-extension-directive": "3.0.2",
|
|
69
|
+
"micromark-extension-gfm-autolink-literal": "2.1.0",
|
|
70
|
+
"micromark-extension-gfm-footnote": "2.1.0",
|
|
71
|
+
"micromark-extension-gfm-table": "2.1.0",
|
|
72
|
+
"micromark-extension-math": "3.1.0",
|
|
73
|
+
"micromark-util-types": "2.0.1"
|
|
70
74
|
},
|
|
71
75
|
"devDependencies": {
|
|
72
|
-
"@eslint/js": "9.
|
|
73
|
-
"@stylistic/eslint-plugin": "2.
|
|
76
|
+
"@eslint/js": "9.16.0",
|
|
77
|
+
"@stylistic/eslint-plugin": "2.11.0",
|
|
74
78
|
"ajv": "8.17.1",
|
|
75
79
|
"ava": "6.2.0",
|
|
76
80
|
"c8": "10.1.2",
|
|
77
81
|
"character-entities": "2.0.2",
|
|
78
|
-
"eslint": "9.
|
|
79
|
-
"eslint-plugin-jsdoc": "50.
|
|
80
|
-
"eslint-plugin-n": "17.
|
|
81
|
-
"eslint-plugin-regexp": "2.
|
|
82
|
-
"eslint-plugin-unicorn": "56.0.
|
|
82
|
+
"eslint": "9.16.0",
|
|
83
|
+
"eslint-plugin-jsdoc": "50.6.0",
|
|
84
|
+
"eslint-plugin-n": "17.14.0",
|
|
85
|
+
"eslint-plugin-regexp": "2.7.0",
|
|
86
|
+
"eslint-plugin-unicorn": "56.0.1",
|
|
83
87
|
"gemoji": "8.1.0",
|
|
84
88
|
"globby": "14.0.2",
|
|
85
89
|
"js-yaml": "4.1.0",
|
|
86
|
-
"json-schema-to-typescript": "15.0.
|
|
90
|
+
"json-schema-to-typescript": "15.0.3",
|
|
87
91
|
"jsonc-parser": "3.3.1",
|
|
88
92
|
"markdown-it-for-inline": "2.0.1",
|
|
89
93
|
"markdown-it-sub": "2.0.0",
|
|
@@ -92,8 +96,8 @@
|
|
|
92
96
|
"npm-run-all": "4.1.5",
|
|
93
97
|
"terser-webpack-plugin": "5.3.10",
|
|
94
98
|
"toml": "3.0.0",
|
|
95
|
-
"typescript": "5.
|
|
96
|
-
"webpack": "5.
|
|
99
|
+
"typescript": "5.7.2",
|
|
100
|
+
"webpack": "5.97.1",
|
|
97
101
|
"webpack-cli": "5.1.4"
|
|
98
102
|
},
|
|
99
103
|
"keywords": [
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
// Path to configuration file to extend
|
|
8
8
|
"extends": null,
|
|
9
9
|
|
|
10
|
-
// MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
10
|
+
// MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md001.md
|
|
11
11
|
"MD001": true,
|
|
12
12
|
|
|
13
|
-
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
13
|
+
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md003.md
|
|
14
14
|
"MD003": {
|
|
15
15
|
// Heading style
|
|
16
16
|
"style": "consistent"
|
|
17
17
|
},
|
|
18
18
|
|
|
19
|
-
// MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
19
|
+
// MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md004.md
|
|
20
20
|
"MD004": {
|
|
21
21
|
// List style
|
|
22
22
|
"style": "consistent"
|
|
23
23
|
},
|
|
24
24
|
|
|
25
|
-
// MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
25
|
+
// MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md005.md
|
|
26
26
|
"MD005": true,
|
|
27
27
|
|
|
28
|
-
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
28
|
+
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md007.md
|
|
29
29
|
"MD007": {
|
|
30
30
|
// Spaces for indent
|
|
31
31
|
"indent": 2,
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"start_indent": 2
|
|
36
36
|
},
|
|
37
37
|
|
|
38
|
-
// MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
38
|
+
// MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md009.md
|
|
39
39
|
"MD009": {
|
|
40
40
|
// Spaces for line break
|
|
41
41
|
"br_spaces": 2,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"strict": false
|
|
46
46
|
},
|
|
47
47
|
|
|
48
|
-
// MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
48
|
+
// MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md010.md
|
|
49
49
|
"MD010": {
|
|
50
50
|
// Include code blocks
|
|
51
51
|
"code_blocks": true,
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"spaces_per_tab": 1
|
|
56
56
|
},
|
|
57
57
|
|
|
58
|
-
// MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
58
|
+
// MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md011.md
|
|
59
59
|
"MD011": true,
|
|
60
60
|
|
|
61
|
-
// MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
61
|
+
// MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md012.md
|
|
62
62
|
"MD012": {
|
|
63
63
|
// Consecutive blank lines
|
|
64
64
|
"maximum": 1
|
|
65
65
|
},
|
|
66
66
|
|
|
67
|
-
// MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
67
|
+
// MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md013.md
|
|
68
68
|
"MD013": {
|
|
69
69
|
// Number of characters
|
|
70
70
|
"line_length": 80,
|
|
@@ -84,22 +84,22 @@
|
|
|
84
84
|
"stern": false
|
|
85
85
|
},
|
|
86
86
|
|
|
87
|
-
// MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
87
|
+
// MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md014.md
|
|
88
88
|
"MD014": true,
|
|
89
89
|
|
|
90
|
-
// MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
90
|
+
// MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md018.md
|
|
91
91
|
"MD018": true,
|
|
92
92
|
|
|
93
|
-
// MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
93
|
+
// MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md019.md
|
|
94
94
|
"MD019": true,
|
|
95
95
|
|
|
96
|
-
// MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
96
|
+
// MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md020.md
|
|
97
97
|
"MD020": true,
|
|
98
98
|
|
|
99
|
-
// MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
99
|
+
// MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md021.md
|
|
100
100
|
"MD021": true,
|
|
101
101
|
|
|
102
|
-
// MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
102
|
+
// MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md022.md
|
|
103
103
|
"MD022": {
|
|
104
104
|
// Blank lines above heading
|
|
105
105
|
"lines_above": 1,
|
|
@@ -107,16 +107,16 @@
|
|
|
107
107
|
"lines_below": 1
|
|
108
108
|
},
|
|
109
109
|
|
|
110
|
-
// MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
110
|
+
// MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md023.md
|
|
111
111
|
"MD023": true,
|
|
112
112
|
|
|
113
|
-
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
113
|
+
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md024.md
|
|
114
114
|
"MD024": {
|
|
115
115
|
// Only check sibling headings
|
|
116
116
|
"siblings_only": false
|
|
117
117
|
},
|
|
118
118
|
|
|
119
|
-
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
119
|
+
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md025.md
|
|
120
120
|
"MD025": {
|
|
121
121
|
// Heading level
|
|
122
122
|
"level": 1,
|
|
@@ -124,25 +124,25 @@
|
|
|
124
124
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
125
125
|
},
|
|
126
126
|
|
|
127
|
-
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
127
|
+
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md026.md
|
|
128
128
|
"MD026": {
|
|
129
129
|
// Punctuation characters
|
|
130
130
|
"punctuation": ".,;:!。,;:!"
|
|
131
131
|
},
|
|
132
132
|
|
|
133
|
-
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
133
|
+
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md027.md
|
|
134
134
|
"MD027": true,
|
|
135
135
|
|
|
136
|
-
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
136
|
+
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md028.md
|
|
137
137
|
"MD028": true,
|
|
138
138
|
|
|
139
|
-
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
139
|
+
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md029.md
|
|
140
140
|
"MD029": {
|
|
141
141
|
// List style
|
|
142
142
|
"style": "one_or_ordered"
|
|
143
143
|
},
|
|
144
144
|
|
|
145
|
-
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
145
|
+
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md030.md
|
|
146
146
|
"MD030": {
|
|
147
147
|
// Spaces for single-line unordered list items
|
|
148
148
|
"ul_single": 1,
|
|
@@ -154,46 +154,46 @@
|
|
|
154
154
|
"ol_multi": 1
|
|
155
155
|
},
|
|
156
156
|
|
|
157
|
-
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
157
|
+
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md031.md
|
|
158
158
|
"MD031": {
|
|
159
159
|
// Include list items
|
|
160
160
|
"list_items": true
|
|
161
161
|
},
|
|
162
162
|
|
|
163
|
-
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
163
|
+
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md032.md
|
|
164
164
|
"MD032": true,
|
|
165
165
|
|
|
166
|
-
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
166
|
+
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md033.md
|
|
167
167
|
"MD033": {
|
|
168
168
|
// Allowed elements
|
|
169
169
|
"allowed_elements": []
|
|
170
170
|
},
|
|
171
171
|
|
|
172
|
-
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
172
|
+
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md034.md
|
|
173
173
|
"MD034": true,
|
|
174
174
|
|
|
175
|
-
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
175
|
+
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md035.md
|
|
176
176
|
"MD035": {
|
|
177
177
|
// Horizontal rule style
|
|
178
178
|
"style": "consistent"
|
|
179
179
|
},
|
|
180
180
|
|
|
181
|
-
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
181
|
+
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md036.md
|
|
182
182
|
"MD036": {
|
|
183
183
|
// Punctuation characters
|
|
184
184
|
"punctuation": ".,;:!?。,;:!?"
|
|
185
185
|
},
|
|
186
186
|
|
|
187
|
-
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
187
|
+
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md037.md
|
|
188
188
|
"MD037": true,
|
|
189
189
|
|
|
190
|
-
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
190
|
+
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md038.md
|
|
191
191
|
"MD038": true,
|
|
192
192
|
|
|
193
|
-
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
193
|
+
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md039.md
|
|
194
194
|
"MD039": true,
|
|
195
195
|
|
|
196
|
-
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
196
|
+
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md040.md
|
|
197
197
|
"MD040": {
|
|
198
198
|
// List of languages
|
|
199
199
|
"allowed_languages": [],
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"language_only": false
|
|
202
202
|
},
|
|
203
203
|
|
|
204
|
-
// MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
204
|
+
// MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md041.md
|
|
205
205
|
"MD041": {
|
|
206
206
|
// Heading level
|
|
207
207
|
"level": 1,
|
|
@@ -209,10 +209,10 @@
|
|
|
209
209
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
210
210
|
},
|
|
211
211
|
|
|
212
|
-
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
212
|
+
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md042.md
|
|
213
213
|
"MD042": true,
|
|
214
214
|
|
|
215
|
-
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
215
|
+
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md043.md
|
|
216
216
|
"MD043": {
|
|
217
217
|
// List of headings
|
|
218
218
|
"headings": [],
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"match_case": false
|
|
221
221
|
},
|
|
222
222
|
|
|
223
|
-
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
223
|
+
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md044.md
|
|
224
224
|
"MD044": {
|
|
225
225
|
// List of proper names
|
|
226
226
|
"names": [],
|
|
@@ -230,49 +230,49 @@
|
|
|
230
230
|
"html_elements": true
|
|
231
231
|
},
|
|
232
232
|
|
|
233
|
-
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
233
|
+
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md045.md
|
|
234
234
|
"MD045": true,
|
|
235
235
|
|
|
236
|
-
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
236
|
+
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md046.md
|
|
237
237
|
"MD046": {
|
|
238
238
|
// Block style
|
|
239
239
|
"style": "consistent"
|
|
240
240
|
},
|
|
241
241
|
|
|
242
|
-
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
242
|
+
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md047.md
|
|
243
243
|
"MD047": true,
|
|
244
244
|
|
|
245
|
-
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
245
|
+
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md048.md
|
|
246
246
|
"MD048": {
|
|
247
247
|
// Code fence style
|
|
248
248
|
"style": "consistent"
|
|
249
249
|
},
|
|
250
250
|
|
|
251
|
-
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
251
|
+
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md049.md
|
|
252
252
|
"MD049": {
|
|
253
253
|
// Emphasis style
|
|
254
254
|
"style": "consistent"
|
|
255
255
|
},
|
|
256
256
|
|
|
257
|
-
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
257
|
+
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md050.md
|
|
258
258
|
"MD050": {
|
|
259
259
|
// Strong style
|
|
260
260
|
"style": "consistent"
|
|
261
261
|
},
|
|
262
262
|
|
|
263
|
-
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
263
|
+
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md051.md
|
|
264
264
|
"MD051": {
|
|
265
265
|
// Ignore case of fragments
|
|
266
266
|
"ignore_case": false
|
|
267
267
|
},
|
|
268
268
|
|
|
269
|
-
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
269
|
+
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md052.md
|
|
270
270
|
"MD052": {
|
|
271
271
|
// Include shortcut syntax
|
|
272
272
|
"shortcut_syntax": false
|
|
273
273
|
},
|
|
274
274
|
|
|
275
|
-
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
275
|
+
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md053.md
|
|
276
276
|
"MD053": {
|
|
277
277
|
// Ignored definitions
|
|
278
278
|
"ignored_definitions": [
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
]
|
|
281
281
|
},
|
|
282
282
|
|
|
283
|
-
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
283
|
+
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md054.md
|
|
284
284
|
"MD054": {
|
|
285
285
|
// Allow autolinks
|
|
286
286
|
"autolink": true,
|
|
@@ -296,15 +296,15 @@
|
|
|
296
296
|
"url_inline": true
|
|
297
297
|
},
|
|
298
298
|
|
|
299
|
-
// MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
299
|
+
// MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md055.md
|
|
300
300
|
"MD055": {
|
|
301
301
|
// Table pipe style
|
|
302
302
|
"style": "consistent"
|
|
303
303
|
},
|
|
304
304
|
|
|
305
|
-
// MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
305
|
+
// MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md056.md
|
|
306
306
|
"MD056": true,
|
|
307
307
|
|
|
308
|
-
// MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
308
|
+
// MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.0/doc/md058.md
|
|
309
309
|
"MD058": true
|
|
310
310
|
}
|