@mnaoumov/typescript-dev-toolkit 0.0.0 → 1.1.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.
Files changed (332) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -1
  3. package/bundlers/esbuild-impl/change-extension-plugin/package.json +6 -0
  4. package/bundlers/esbuild-impl/custom-esbuild-options-plugin/package.json +6 -0
  5. package/bundlers/esbuild-impl/fix-esm-plugin/package.json +6 -0
  6. package/bundlers/esbuild-impl/index/package.json +6 -0
  7. package/bundlers/esbuild-impl/package.json +6 -0
  8. package/bundlers/esbuild-impl/preprocess-plugin/package.json +6 -0
  9. package/bundlers/esbuild-impl/svelte-wrapper-plugin/package.json +6 -0
  10. package/bundlers/index/package.json +6 -0
  11. package/bundlers/package.json +6 -0
  12. package/dist/lib/cjs/build.cjs +191 -0
  13. package/dist/lib/cjs/build.d.cts +59 -0
  14. package/dist/lib/cjs/bundlers/esbuild-impl/change-extension-plugin.cjs +139 -0
  15. package/dist/lib/cjs/bundlers/esbuild-impl/change-extension-plugin.d.cts +25 -0
  16. package/dist/lib/cjs/bundlers/esbuild-impl/custom-esbuild-options-plugin.cjs +96 -0
  17. package/dist/lib/cjs/bundlers/esbuild-impl/custom-esbuild-options-plugin.d.cts +14 -0
  18. package/dist/lib/cjs/bundlers/esbuild-impl/fix-esm-plugin.cjs +106 -0
  19. package/dist/lib/cjs/bundlers/esbuild-impl/fix-esm-plugin.d.cts +13 -0
  20. package/dist/lib/cjs/bundlers/esbuild-impl/index.cjs +111 -0
  21. package/dist/lib/cjs/bundlers/esbuild-impl/index.d.cts +6 -0
  22. package/dist/lib/cjs/bundlers/esbuild-impl/preprocess-plugin.cjs +211 -0
  23. package/dist/lib/cjs/bundlers/esbuild-impl/preprocess-plugin.d.cts +143 -0
  24. package/dist/lib/cjs/bundlers/esbuild-impl/svelte-wrapper-plugin.cjs +129 -0
  25. package/dist/lib/cjs/bundlers/esbuild-impl/svelte-wrapper-plugin.d.cts +14 -0
  26. package/dist/lib/cjs/bundlers/index.cjs +99 -0
  27. package/dist/lib/cjs/bundlers/index.d.cts +2 -0
  28. package/dist/lib/cjs/check-project-types.cjs +163 -0
  29. package/dist/lib/cjs/check-project-types.d.cts +92 -0
  30. package/dist/lib/cjs/cli-utils.cjs +276 -0
  31. package/dist/lib/cjs/cli-utils.d.cts +123 -0
  32. package/dist/lib/cjs/code-generator.cjs +96 -0
  33. package/dist/lib/cjs/code-generator.d.cts +14 -0
  34. package/dist/lib/cjs/commitlint-config.cjs +110 -0
  35. package/dist/lib/cjs/commitlint-config.d.cts +14 -0
  36. package/dist/lib/cjs/commitlint-forbidden-patterns.cjs +110 -0
  37. package/dist/lib/cjs/commitlint-forbidden-patterns.d.cts +37 -0
  38. package/dist/lib/cjs/commitlint-spellcheck-header.cjs +126 -0
  39. package/dist/lib/cjs/commitlint-spellcheck-header.d.cts +40 -0
  40. package/dist/lib/cjs/env-toggle.cjs +133 -0
  41. package/dist/lib/cjs/env-toggle.d.cts +42 -0
  42. package/dist/lib/cjs/exec.cjs +455 -0
  43. package/dist/lib/cjs/exec.d.cts +162 -0
  44. package/dist/lib/cjs/forbidden-patterns.cjs +157 -0
  45. package/dist/lib/cjs/forbidden-patterns.d.cts +57 -0
  46. package/dist/lib/cjs/formatters/dprint.cjs +108 -0
  47. package/dist/lib/cjs/formatters/dprint.d.cts +33 -0
  48. package/dist/lib/cjs/formatters/index.cjs +99 -0
  49. package/dist/lib/cjs/formatters/index.d.cts +2 -0
  50. package/dist/lib/cjs/fs.cjs +123 -0
  51. package/dist/lib/cjs/fs.d.cts +80 -0
  52. package/dist/lib/cjs/gate.cjs +140 -0
  53. package/dist/lib/cjs/gate.d.cts +93 -0
  54. package/dist/lib/cjs/git.cjs +109 -0
  55. package/dist/lib/cjs/git.d.cts +37 -0
  56. package/dist/lib/cjs/index.cjs +186 -0
  57. package/dist/lib/cjs/index.d.cts +35 -0
  58. package/dist/lib/cjs/json.cjs +141 -0
  59. package/dist/lib/cjs/json.d.cts +102 -0
  60. package/dist/lib/cjs/library-build.cjs +483 -0
  61. package/dist/lib/cjs/library-build.d.cts +101 -0
  62. package/dist/lib/cjs/library-references.d.cts +5 -0
  63. package/dist/lib/cjs/linters/cspell-content.cjs +124 -0
  64. package/dist/lib/cjs/linters/cspell-content.d.cts +46 -0
  65. package/dist/lib/cjs/linters/cspell.cjs +103 -0
  66. package/dist/lib/cjs/linters/cspell.d.cts +36 -0
  67. package/dist/lib/cjs/linters/eslint-agnostic-core-boundary.cjs +94 -0
  68. package/dist/lib/cjs/linters/eslint-agnostic-core-boundary.d.cts +49 -0
  69. package/dist/lib/cjs/linters/eslint-config.cjs +1068 -0
  70. package/dist/lib/cjs/linters/eslint-config.d.cts +123 -0
  71. package/dist/lib/cjs/linters/eslint-no-restricted-syntax.cjs +130 -0
  72. package/dist/lib/cjs/linters/eslint-no-restricted-syntax.d.cts +27 -0
  73. package/dist/lib/cjs/linters/eslint-rules/in-house-plugin.cjs +116 -0
  74. package/dist/lib/cjs/linters/eslint-rules/in-house-plugin.d.cts +26 -0
  75. package/dist/lib/cjs/linters/eslint-rules/index.cjs +132 -0
  76. package/dist/lib/cjs/linters/eslint-rules/index.d.cts +13 -0
  77. package/dist/lib/cjs/linters/eslint-rules/no-async-callback-to-unsafe-return.cjs +175 -0
  78. package/dist/lib/cjs/linters/eslint-rules/no-async-callback-to-unsafe-return.d.cts +10 -0
  79. package/dist/lib/cjs/linters/eslint-rules/no-unresolved-jsdoc-link.cjs +290 -0
  80. package/dist/lib/cjs/linters/eslint-rules/no-unresolved-jsdoc-link.d.cts +10 -0
  81. package/dist/lib/cjs/linters/eslint-rules/no-unused-params-members.cjs +265 -0
  82. package/dist/lib/cjs/linters/eslint-rules/no-unused-params-members.d.cts +41 -0
  83. package/dist/lib/cjs/linters/eslint-rules/no-used-underscore-variables.cjs +134 -0
  84. package/dist/lib/cjs/linters/eslint-rules/no-used-underscore-variables.d.cts +20 -0
  85. package/dist/lib/cjs/linters/eslint-rules/params-options-name-match.cjs +217 -0
  86. package/dist/lib/cjs/linters/eslint-rules/params-options-name-match.d.cts +36 -0
  87. package/dist/lib/cjs/linters/eslint-rules/prefer-noop-async.cjs +126 -0
  88. package/dist/lib/cjs/linters/eslint-rules/prefer-noop-async.d.cts +10 -0
  89. package/dist/lib/cjs/linters/eslint-rules/readonly-params-options-result-members.cjs +125 -0
  90. package/dist/lib/cjs/linters/eslint-rules/readonly-params-options-result-members.d.cts +20 -0
  91. package/dist/lib/cjs/linters/eslint-rules/require-method-template.cjs +181 -0
  92. package/dist/lib/cjs/linters/eslint-rules/require-method-template.d.cts +14 -0
  93. package/dist/lib/cjs/linters/eslint-rules/require-super-call.cjs +217 -0
  94. package/dist/lib/cjs/linters/eslint-rules/require-super-call.d.cts +10 -0
  95. package/dist/lib/cjs/linters/eslint-rules/rule-tester-helper.cjs +92 -0
  96. package/dist/lib/cjs/linters/eslint-rules/rule-tester-helper.d.cts +18 -0
  97. package/dist/lib/cjs/linters/eslint-rules/ts-estree-node.cjs +92 -0
  98. package/dist/lib/cjs/linters/eslint-rules/ts-estree-node.d.cts +23 -0
  99. package/dist/lib/cjs/linters/eslint-types/@types/@eslint-community__eslint-plugin-eslint-comments__configs.d.cts +20 -0
  100. package/dist/lib/cjs/linters/eslint-types/@types/eslint-plugin-verify-tsdoc.d.cts +17 -0
  101. package/dist/lib/cjs/linters/eslint.cjs +196 -0
  102. package/dist/lib/cjs/linters/eslint.d.cts +74 -0
  103. package/dist/lib/cjs/linters/index.cjs +138 -0
  104. package/dist/lib/cjs/linters/index.d.cts +15 -0
  105. package/dist/lib/cjs/linters/lint-ignores.cjs +91 -0
  106. package/dist/lib/cjs/linters/lint-ignores.d.cts +30 -0
  107. package/dist/lib/cjs/linters/markdownlint-cli2-config.cjs +169 -0
  108. package/dist/lib/cjs/linters/markdownlint-cli2-config.d.cts +11 -0
  109. package/dist/lib/cjs/linters/markdownlint-content.cjs +120 -0
  110. package/dist/lib/cjs/linters/markdownlint-content.d.cts +47 -0
  111. package/dist/lib/cjs/linters/markdownlint-ignores.cjs +95 -0
  112. package/dist/lib/cjs/linters/markdownlint-ignores.d.cts +35 -0
  113. package/dist/lib/cjs/linters/markdownlint-rules/index.cjs +99 -0
  114. package/dist/lib/cjs/linters/markdownlint-rules/index.d.cts +2 -0
  115. package/dist/lib/cjs/linters/markdownlint-rules/no-soft-break-in-paragraph.cjs +152 -0
  116. package/dist/lib/cjs/linters/markdownlint-rules/no-soft-break-in-paragraph.d.cts +35 -0
  117. package/dist/lib/cjs/linters/markdownlint-types/@types/markdownlint-cli2-config-schema.d.cts +1344 -0
  118. package/dist/lib/cjs/linters/markdownlint-types/@types/markdownlint-cli2.d.cts +67 -0
  119. package/dist/lib/cjs/linters/markdownlint.cjs +151 -0
  120. package/dist/lib/cjs/linters/markdownlint.d.cts +32 -0
  121. package/dist/lib/cjs/linters/over-exposure.cjs +685 -0
  122. package/dist/lib/cjs/linters/over-exposure.d.cts +357 -0
  123. package/dist/lib/cjs/nano-staged-config.cjs +148 -0
  124. package/dist/lib/cjs/nano-staged-config.d.cts +54 -0
  125. package/dist/lib/cjs/npm-publish.cjs +93 -0
  126. package/dist/lib/cjs/npm-publish.d.cts +19 -0
  127. package/dist/lib/cjs/npm-run.cjs +120 -0
  128. package/dist/lib/cjs/npm-run.d.cts +34 -0
  129. package/dist/lib/cjs/npm.cjs +200 -0
  130. package/dist/lib/cjs/npm.d.cts +168 -0
  131. package/dist/lib/cjs/package-lock-integrity.cjs +134 -0
  132. package/dist/lib/cjs/package-lock-integrity.d.cts +38 -0
  133. package/dist/lib/cjs/package-manager.cjs +291 -0
  134. package/dist/lib/cjs/package-manager.d.cts +93 -0
  135. package/dist/lib/cjs/released-issues.cjs +178 -0
  136. package/dist/lib/cjs/released-issues.d.cts +79 -0
  137. package/dist/lib/cjs/repo-paths.cjs +167 -0
  138. package/dist/lib/cjs/repo-paths.d.cts +318 -0
  139. package/dist/lib/cjs/root.cjs +150 -0
  140. package/dist/lib/cjs/root.d.cts +107 -0
  141. package/dist/lib/cjs/test-runners/index.cjs +102 -0
  142. package/dist/lib/cjs/test-runners/index.d.cts +3 -0
  143. package/dist/lib/cjs/test-runners/vitest-config.cjs +126 -0
  144. package/dist/lib/cjs/test-runners/vitest-config.d.cts +90 -0
  145. package/dist/lib/cjs/test-runners/vitest.cjs +115 -0
  146. package/dist/lib/cjs/test-runners/vitest.d.cts +52 -0
  147. package/dist/lib/cjs/validate-declarations.cjs +120 -0
  148. package/dist/lib/cjs/validate-declarations.d.cts +37 -0
  149. package/dist/lib/cjs/version.cjs +758 -0
  150. package/dist/lib/cjs/version.d.cts +418 -0
  151. package/dist/lib/esm/build.d.mts +59 -0
  152. package/dist/lib/esm/build.mjs +165 -0
  153. package/dist/lib/esm/bundlers/esbuild-impl/change-extension-plugin.d.mts +25 -0
  154. package/dist/lib/esm/bundlers/esbuild-impl/change-extension-plugin.mjs +101 -0
  155. package/dist/lib/esm/bundlers/esbuild-impl/custom-esbuild-options-plugin.d.mts +14 -0
  156. package/dist/lib/esm/bundlers/esbuild-impl/custom-esbuild-options-plugin.mjs +59 -0
  157. package/dist/lib/esm/bundlers/esbuild-impl/fix-esm-plugin.d.mts +13 -0
  158. package/dist/lib/esm/bundlers/esbuild-impl/fix-esm-plugin.mjs +69 -0
  159. package/dist/lib/esm/bundlers/esbuild-impl/index.d.mts +6 -0
  160. package/dist/lib/esm/bundlers/esbuild-impl/index.mjs +60 -0
  161. package/dist/lib/esm/bundlers/esbuild-impl/preprocess-plugin.d.mts +143 -0
  162. package/dist/lib/esm/bundlers/esbuild-impl/preprocess-plugin.mjs +176 -0
  163. package/dist/lib/esm/bundlers/esbuild-impl/svelte-wrapper-plugin.d.mts +14 -0
  164. package/dist/lib/esm/bundlers/esbuild-impl/svelte-wrapper-plugin.mjs +82 -0
  165. package/dist/lib/esm/bundlers/index.d.mts +2 -0
  166. package/dist/lib/esm/bundlers/index.mjs +52 -0
  167. package/dist/lib/esm/check-project-types.d.mts +92 -0
  168. package/dist/lib/esm/check-project-types.mjs +123 -0
  169. package/dist/lib/esm/cli-utils.d.mts +123 -0
  170. package/dist/lib/esm/cli-utils.mjs +225 -0
  171. package/dist/lib/esm/code-generator.d.mts +14 -0
  172. package/dist/lib/esm/code-generator.mjs +59 -0
  173. package/dist/lib/esm/commitlint-config.d.mts +14 -0
  174. package/dist/lib/esm/commitlint-config.mjs +79 -0
  175. package/dist/lib/esm/commitlint-forbidden-patterns.d.mts +37 -0
  176. package/dist/lib/esm/commitlint-forbidden-patterns.mjs +75 -0
  177. package/dist/lib/esm/commitlint-spellcheck-header.d.mts +40 -0
  178. package/dist/lib/esm/commitlint-spellcheck-header.mjs +87 -0
  179. package/dist/lib/esm/env-toggle.d.mts +42 -0
  180. package/dist/lib/esm/env-toggle.mjs +84 -0
  181. package/dist/lib/esm/exec.d.mts +162 -0
  182. package/dist/lib/esm/exec.mjs +410 -0
  183. package/dist/lib/esm/forbidden-patterns.d.mts +57 -0
  184. package/dist/lib/esm/forbidden-patterns.mjs +108 -0
  185. package/dist/lib/esm/formatters/dprint.d.mts +33 -0
  186. package/dist/lib/esm/formatters/dprint.mjs +75 -0
  187. package/dist/lib/esm/formatters/index.d.mts +2 -0
  188. package/dist/lib/esm/formatters/index.mjs +52 -0
  189. package/dist/lib/esm/fs.d.mts +80 -0
  190. package/dist/lib/esm/fs.mjs +89 -0
  191. package/dist/lib/esm/gate.d.mts +93 -0
  192. package/dist/lib/esm/gate.mjs +106 -0
  193. package/dist/lib/esm/git.d.mts +37 -0
  194. package/dist/lib/esm/git.mjs +72 -0
  195. package/dist/lib/esm/index.d.mts +35 -0
  196. package/dist/lib/esm/index.mjs +110 -0
  197. package/dist/lib/esm/json.d.mts +102 -0
  198. package/dist/lib/esm/json.mjs +106 -0
  199. package/dist/lib/esm/library-build.d.mts +101 -0
  200. package/dist/lib/esm/library-build.mjs +443 -0
  201. package/dist/lib/esm/library-references.d.mts +5 -0
  202. package/dist/lib/esm/linters/cspell-content.d.mts +46 -0
  203. package/dist/lib/esm/linters/cspell-content.mjs +87 -0
  204. package/dist/lib/esm/linters/cspell.d.mts +36 -0
  205. package/dist/lib/esm/linters/cspell.mjs +69 -0
  206. package/dist/lib/esm/linters/eslint-agnostic-core-boundary.d.mts +49 -0
  207. package/dist/lib/esm/linters/eslint-agnostic-core-boundary.mjs +57 -0
  208. package/dist/lib/esm/linters/eslint-config.d.mts +123 -0
  209. package/dist/lib/esm/linters/eslint-config.mjs +1022 -0
  210. package/dist/lib/esm/linters/eslint-no-restricted-syntax.d.mts +27 -0
  211. package/dist/lib/esm/linters/eslint-no-restricted-syntax.mjs +93 -0
  212. package/dist/lib/esm/linters/eslint-rules/in-house-plugin.d.mts +26 -0
  213. package/dist/lib/esm/linters/eslint-rules/in-house-plugin.mjs +77 -0
  214. package/dist/lib/esm/linters/eslint-rules/index.d.mts +13 -0
  215. package/dist/lib/esm/linters/eslint-rules/index.mjs +74 -0
  216. package/dist/lib/esm/linters/eslint-rules/no-async-callback-to-unsafe-return.d.mts +10 -0
  217. package/dist/lib/esm/linters/eslint-rules/no-async-callback-to-unsafe-return.mjs +144 -0
  218. package/dist/lib/esm/linters/eslint-rules/no-unresolved-jsdoc-link.d.mts +10 -0
  219. package/dist/lib/esm/linters/eslint-rules/no-unresolved-jsdoc-link.mjs +277 -0
  220. package/dist/lib/esm/linters/eslint-rules/no-unused-params-members.d.mts +41 -0
  221. package/dist/lib/esm/linters/eslint-rules/no-unused-params-members.mjs +227 -0
  222. package/dist/lib/esm/linters/eslint-rules/no-used-underscore-variables.d.mts +20 -0
  223. package/dist/lib/esm/linters/eslint-rules/no-used-underscore-variables.mjs +96 -0
  224. package/dist/lib/esm/linters/eslint-rules/params-options-name-match.d.mts +36 -0
  225. package/dist/lib/esm/linters/eslint-rules/params-options-name-match.mjs +179 -0
  226. package/dist/lib/esm/linters/eslint-rules/prefer-noop-async.d.mts +10 -0
  227. package/dist/lib/esm/linters/eslint-rules/prefer-noop-async.mjs +88 -0
  228. package/dist/lib/esm/linters/eslint-rules/readonly-params-options-result-members.d.mts +20 -0
  229. package/dist/lib/esm/linters/eslint-rules/readonly-params-options-result-members.mjs +87 -0
  230. package/dist/lib/esm/linters/eslint-rules/require-method-template.d.mts +14 -0
  231. package/dist/lib/esm/linters/eslint-rules/require-method-template.mjs +142 -0
  232. package/dist/lib/esm/linters/eslint-rules/require-super-call.d.mts +10 -0
  233. package/dist/lib/esm/linters/eslint-rules/require-super-call.mjs +183 -0
  234. package/dist/lib/esm/linters/eslint-rules/rule-tester-helper.d.mts +18 -0
  235. package/dist/lib/esm/linters/eslint-rules/rule-tester-helper.mjs +55 -0
  236. package/dist/lib/esm/linters/eslint-rules/ts-estree-node.d.mts +23 -0
  237. package/dist/lib/esm/linters/eslint-rules/ts-estree-node.mjs +55 -0
  238. package/dist/lib/esm/linters/eslint-types/@types/@eslint-community__eslint-plugin-eslint-comments__configs.d.mts +20 -0
  239. package/dist/lib/esm/linters/eslint-types/@types/eslint-plugin-verify-tsdoc.d.mts +17 -0
  240. package/dist/lib/esm/linters/eslint.d.mts +74 -0
  241. package/dist/lib/esm/linters/eslint.mjs +159 -0
  242. package/dist/lib/esm/linters/index.d.mts +15 -0
  243. package/dist/lib/esm/linters/index.mjs +78 -0
  244. package/dist/lib/esm/linters/lint-ignores.d.mts +30 -0
  245. package/dist/lib/esm/linters/lint-ignores.mjs +54 -0
  246. package/dist/lib/esm/linters/markdownlint-cli2-config.d.mts +11 -0
  247. package/dist/lib/esm/linters/markdownlint-cli2-config.mjs +122 -0
  248. package/dist/lib/esm/linters/markdownlint-content.d.mts +47 -0
  249. package/dist/lib/esm/linters/markdownlint-content.mjs +83 -0
  250. package/dist/lib/esm/linters/markdownlint-ignores.d.mts +35 -0
  251. package/dist/lib/esm/linters/markdownlint-ignores.mjs +57 -0
  252. package/dist/lib/esm/linters/markdownlint-rules/index.d.mts +2 -0
  253. package/dist/lib/esm/linters/markdownlint-rules/index.mjs +52 -0
  254. package/dist/lib/esm/linters/markdownlint-rules/no-soft-break-in-paragraph.d.mts +35 -0
  255. package/dist/lib/esm/linters/markdownlint-rules/no-soft-break-in-paragraph.mjs +114 -0
  256. package/dist/lib/esm/linters/markdownlint-types/@types/markdownlint-cli2-config-schema.d.mts +1344 -0
  257. package/dist/lib/esm/linters/markdownlint-types/@types/markdownlint-cli2.d.mts +67 -0
  258. package/dist/lib/esm/linters/markdownlint.d.mts +32 -0
  259. package/dist/lib/esm/linters/markdownlint.mjs +124 -0
  260. package/dist/lib/esm/linters/over-exposure.d.mts +357 -0
  261. package/dist/lib/esm/linters/over-exposure.mjs +672 -0
  262. package/dist/lib/esm/nano-staged-config.d.mts +54 -0
  263. package/dist/lib/esm/nano-staged-config.mjs +103 -0
  264. package/dist/lib/esm/npm-publish.d.mts +19 -0
  265. package/dist/lib/esm/npm-publish.mjs +56 -0
  266. package/dist/lib/esm/npm-run.d.mts +34 -0
  267. package/dist/lib/esm/npm-run.mjs +81 -0
  268. package/dist/lib/esm/npm.d.mts +168 -0
  269. package/dist/lib/esm/npm.mjs +155 -0
  270. package/dist/lib/esm/package-lock-integrity.d.mts +38 -0
  271. package/dist/lib/esm/package-lock-integrity.mjs +99 -0
  272. package/dist/lib/esm/package-manager.d.mts +93 -0
  273. package/dist/lib/esm/package-manager.mjs +245 -0
  274. package/dist/lib/esm/released-issues.d.mts +79 -0
  275. package/dist/lib/esm/released-issues.mjs +143 -0
  276. package/dist/lib/esm/repo-paths.d.mts +318 -0
  277. package/dist/lib/esm/repo-paths.mjs +130 -0
  278. package/dist/lib/esm/root.d.mts +107 -0
  279. package/dist/lib/esm/root.mjs +115 -0
  280. package/dist/lib/esm/test-runners/index.d.mts +3 -0
  281. package/dist/lib/esm/test-runners/index.mjs +54 -0
  282. package/dist/lib/esm/test-runners/vitest-config.d.mts +90 -0
  283. package/dist/lib/esm/test-runners/vitest-config.mjs +86 -0
  284. package/dist/lib/esm/test-runners/vitest.d.mts +52 -0
  285. package/dist/lib/esm/test-runners/vitest.mjs +76 -0
  286. package/dist/lib/esm/validate-declarations.d.mts +37 -0
  287. package/dist/lib/esm/validate-declarations.mjs +87 -0
  288. package/dist/lib/esm/version.d.mts +418 -0
  289. package/dist/lib/esm/version.mjs +723 -0
  290. package/formatters/dprint/package.json +6 -0
  291. package/formatters/index/package.json +6 -0
  292. package/formatters/package.json +6 -0
  293. package/linters/cspell/package.json +6 -0
  294. package/linters/cspell-content/package.json +6 -0
  295. package/linters/eslint/package.json +6 -0
  296. package/linters/eslint-agnostic-core-boundary/package.json +6 -0
  297. package/linters/eslint-config/package.json +6 -0
  298. package/linters/eslint-no-restricted-syntax/package.json +6 -0
  299. package/linters/eslint-rules/in-house-plugin/package.json +6 -0
  300. package/linters/eslint-rules/index/package.json +6 -0
  301. package/linters/eslint-rules/no-async-callback-to-unsafe-return/package.json +6 -0
  302. package/linters/eslint-rules/no-unresolved-jsdoc-link/package.json +6 -0
  303. package/linters/eslint-rules/no-unused-params-members/package.json +6 -0
  304. package/linters/eslint-rules/no-used-underscore-variables/package.json +6 -0
  305. package/linters/eslint-rules/package.json +6 -0
  306. package/linters/eslint-rules/params-options-name-match/package.json +6 -0
  307. package/linters/eslint-rules/prefer-noop-async/package.json +6 -0
  308. package/linters/eslint-rules/readonly-params-options-result-members/package.json +6 -0
  309. package/linters/eslint-rules/require-method-template/package.json +6 -0
  310. package/linters/eslint-rules/require-super-call/package.json +6 -0
  311. package/linters/eslint-rules/rule-tester-helper/package.json +6 -0
  312. package/linters/eslint-rules/ts-estree-node/package.json +6 -0
  313. package/linters/eslint-types/@types/@eslint-community__eslint-plugin-eslint-comments__configs/package.json +4 -0
  314. package/linters/eslint-types/@types/eslint-plugin-verify-tsdoc/package.json +4 -0
  315. package/linters/index/package.json +6 -0
  316. package/linters/lint-ignores/package.json +6 -0
  317. package/linters/markdownlint/package.json +6 -0
  318. package/linters/markdownlint-cli2-config/package.json +6 -0
  319. package/linters/markdownlint-content/package.json +6 -0
  320. package/linters/markdownlint-ignores/package.json +6 -0
  321. package/linters/markdownlint-rules/index/package.json +6 -0
  322. package/linters/markdownlint-rules/no-soft-break-in-paragraph/package.json +6 -0
  323. package/linters/markdownlint-rules/package.json +6 -0
  324. package/linters/markdownlint-types/@types/markdownlint-cli2/package.json +4 -0
  325. package/linters/markdownlint-types/@types/markdownlint-cli2-config-schema/package.json +4 -0
  326. package/linters/over-exposure/package.json +6 -0
  327. package/linters/package.json +6 -0
  328. package/package.json +329 -13
  329. package/test-runners/index/package.json +6 -0
  330. package/test-runners/package.json +6 -0
  331. package/test-runners/vitest/package.json +6 -0
  332. package/test-runners/vitest-config/package.json +6 -0
@@ -0,0 +1,1344 @@
1
+ /// <reference path="../../../library-references.d.mts" />
2
+ /**
3
+ * @file
4
+ *
5
+ * Typescript equivalent of the markdownlint-cli2 configuration schema.
6
+ */
7
+
8
+ import type { Rule } from 'markdownlint';
9
+
10
+ /**
11
+ * Markdownlint-cli2 configuration schema : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/schema/markdownlint-cli2-config-schema.json
12
+ */
13
+ export interface MarkdownlintCli2ConfigurationSchema {
14
+ /**
15
+ * JSON Schema URI (expected by some editors)
16
+ */
17
+ $schema?: string;
18
+ /**
19
+ * Markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/schema/.markdownlint.jsonc
20
+ */
21
+ config?: MarkdownlintConfigurationSchema;
22
+ /**
23
+ * Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
24
+ */
25
+ customRules?: (Rule | string)[];
26
+ /**
27
+ * Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
28
+ */
29
+ fix?: boolean;
30
+ /**
31
+ * Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
32
+ */
33
+ frontMatter?: string;
34
+ /**
35
+ * Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
36
+ */
37
+ gitignore?: boolean | string;
38
+ /**
39
+ * Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
40
+ */
41
+ globs?: string[];
42
+ /**
43
+ * Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
44
+ */
45
+ ignores?: string[];
46
+ /**
47
+ * Markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
48
+ */
49
+ markdownItPlugins?:
50
+ | [
51
+ string,
52
+ Record<string, unknown>
53
+ ][]
54
+ | [string];
55
+ /**
56
+ * Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
57
+ */
58
+ modulePaths?: string[];
59
+ /**
60
+ * Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
61
+ */
62
+ noBanner?: boolean;
63
+ /**
64
+ * Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
65
+ */
66
+ noInlineConfig?: boolean;
67
+ /**
68
+ * Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
69
+ */
70
+ noProgress?: boolean;
71
+ /**
72
+ * Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
73
+ */
74
+ outputFormatters?:
75
+ | [
76
+ string,
77
+ Record<string, unknown>
78
+ ][]
79
+ | [string];
80
+ /**
81
+ * Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
82
+ */
83
+ showFound?: boolean;
84
+ }
85
+ /**
86
+ * Markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/schema/.markdownlint.jsonc
87
+ */
88
+ export interface MarkdownlintConfigurationSchema {
89
+ [k: string]: unknown;
90
+ /**
91
+ * JSON Schema URI (expected by some editors)
92
+ */
93
+ '$schema'?: string;
94
+ /**
95
+ * Accessibility : MD045, MD059
96
+ */
97
+ 'accessibility'?: boolean;
98
+ /**
99
+ * Atx : MD018, MD019
100
+ */
101
+ 'atx'?: boolean;
102
+ /**
103
+ * Atx_closed : MD020, MD021
104
+ */
105
+ 'atx_closed'?: boolean;
106
+ /**
107
+ * Blank_lines : MD012, MD022, MD031, MD032, MD047
108
+ */
109
+ 'blank_lines'?: boolean;
110
+ /**
111
+ * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md
112
+ */
113
+ 'blanks-around-fences'?:
114
+ | {
115
+ /**
116
+ * Include list items
117
+ */
118
+ list_items?: boolean;
119
+ }
120
+ | boolean;
121
+ /**
122
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
123
+ */
124
+ 'blanks-around-headings'?:
125
+ | {
126
+ /**
127
+ * Blank lines above heading
128
+ */
129
+ lines_above?: number | number[];
130
+ /**
131
+ * Blank lines below heading
132
+ */
133
+ lines_below?: number | number[];
134
+ }
135
+ | boolean;
136
+ /**
137
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
138
+ */
139
+ 'blanks-around-lists'?: boolean;
140
+ /**
141
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
142
+ */
143
+ 'blanks-around-tables'?: boolean;
144
+ /**
145
+ * Blockquote : MD027, MD028
146
+ */
147
+ 'blockquote'?: boolean;
148
+ /**
149
+ * Bullet : MD004, MD005, MD007, MD032
150
+ */
151
+ 'bullet'?: boolean;
152
+ /**
153
+ * Code : MD014, MD031, MD038, MD040, MD046, MD048
154
+ */
155
+ 'code'?: boolean;
156
+ /**
157
+ * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
158
+ */
159
+ 'code-block-style'?:
160
+ | {
161
+ /**
162
+ * Block style
163
+ */
164
+ style?: 'consistent' | 'fenced' | 'indented';
165
+ }
166
+ | boolean;
167
+ /**
168
+ * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
169
+ */
170
+ 'code-fence-style'?:
171
+ | {
172
+ /**
173
+ * Code fence style
174
+ */
175
+ style?: 'backtick' | 'consistent' | 'tilde';
176
+ }
177
+ | boolean;
178
+ /**
179
+ * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
180
+ */
181
+ 'commands-show-output'?: boolean;
182
+ /**
183
+ * Default state for all rules
184
+ */
185
+ 'default'?: boolean;
186
+ /**
187
+ * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
188
+ */
189
+ 'descriptive-link-text'?:
190
+ | {
191
+ /**
192
+ * Prohibited link texts
193
+ */
194
+ prohibited_texts?: string[];
195
+ }
196
+ | boolean;
197
+ /**
198
+ * Emphasis : MD036, MD037, MD049, MD050
199
+ */
200
+ 'emphasis'?: boolean;
201
+ /**
202
+ * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
203
+ */
204
+ 'emphasis-style'?:
205
+ | {
206
+ /**
207
+ * Emphasis style
208
+ */
209
+ style?: 'asterisk' | 'consistent' | 'underscore';
210
+ }
211
+ | boolean;
212
+ /**
213
+ * Path to configuration file to extend
214
+ */
215
+ 'extends'?: null | string;
216
+ /**
217
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
218
+ */
219
+ 'fenced-code-language'?:
220
+ | {
221
+ /**
222
+ * List of languages
223
+ */
224
+ allowed_languages?: string[];
225
+ /**
226
+ * Require language only
227
+ */
228
+ language_only?: boolean;
229
+ }
230
+ | boolean;
231
+ /**
232
+ * 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.38.0/doc/md041.md
233
+ */
234
+ 'first-line-h1'?:
235
+ | {
236
+ /**
237
+ * Allow content before first heading
238
+ */
239
+ allow_preamble?: boolean;
240
+ /**
241
+ * RegExp for matching title in front matter
242
+ */
243
+ front_matter_title?: string;
244
+ /**
245
+ * Heading level
246
+ */
247
+ level?: number;
248
+ }
249
+ | boolean;
250
+ /**
251
+ * 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.38.0/doc/md041.md
252
+ */
253
+ 'first-line-heading'?:
254
+ | {
255
+ /**
256
+ * Allow content before first heading
257
+ */
258
+ allow_preamble?: boolean;
259
+ /**
260
+ * RegExp for matching title in front matter
261
+ */
262
+ front_matter_title?: string;
263
+ /**
264
+ * Heading level
265
+ */
266
+ level?: number;
267
+ }
268
+ | boolean;
269
+ /**
270
+ * Hard_tab : MD010
271
+ */
272
+ 'hard_tab'?: boolean;
273
+ /**
274
+ * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md
275
+ */
276
+ 'heading-increment'?: boolean;
277
+ /**
278
+ * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md
279
+ */
280
+ 'heading-start-left'?: boolean;
281
+ /**
282
+ * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
283
+ */
284
+ 'heading-style'?:
285
+ | {
286
+ /**
287
+ * Heading style
288
+ */
289
+ style?: 'atx_closed' | 'atx' | 'consistent' | 'setext_with_atx_closed' | 'setext_with_atx' | 'setext';
290
+ }
291
+ | boolean;
292
+ /**
293
+ * Headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043
294
+ */
295
+ 'headings'?: boolean;
296
+ /**
297
+ * Hr : MD035
298
+ */
299
+ 'hr'?: boolean;
300
+ /**
301
+ * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
302
+ */
303
+ 'hr-style'?:
304
+ | {
305
+ /**
306
+ * Horizontal rule style
307
+ */
308
+ style?: string;
309
+ }
310
+ | boolean;
311
+ /**
312
+ * Html : MD033
313
+ */
314
+ 'html'?: boolean;
315
+ /**
316
+ * Images : MD045, MD052, MD053, MD054
317
+ */
318
+ 'images'?: boolean;
319
+ /**
320
+ * Indentation : MD005, MD007, MD027
321
+ */
322
+ 'indentation'?: boolean;
323
+ /**
324
+ * Language : MD040
325
+ */
326
+ 'language'?: boolean;
327
+ /**
328
+ * Line_length : MD013
329
+ */
330
+ 'line_length'?: boolean;
331
+ /**
332
+ * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
333
+ */
334
+ 'line-length'?:
335
+ | {
336
+ /**
337
+ * Number of characters for code blocks
338
+ */
339
+ code_block_line_length?: number;
340
+ /**
341
+ * Include code blocks
342
+ */
343
+ code_blocks?: boolean;
344
+ /**
345
+ * Number of characters for headings
346
+ */
347
+ heading_line_length?: number;
348
+ /**
349
+ * Include headings
350
+ */
351
+ headings?: boolean;
352
+ /**
353
+ * Number of characters
354
+ */
355
+ line_length?: number;
356
+ /**
357
+ * Stern length checking
358
+ */
359
+ stern?: boolean;
360
+ /**
361
+ * Strict length checking
362
+ */
363
+ strict?: boolean;
364
+ /**
365
+ * Include tables
366
+ */
367
+ tables?: boolean;
368
+ }
369
+ | boolean;
370
+ /**
371
+ * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
372
+ */
373
+ 'link-fragments'?:
374
+ | {
375
+ /**
376
+ * Ignore case of fragments
377
+ */
378
+ ignore_case?: boolean;
379
+ /**
380
+ * Pattern for ignoring additional fragments
381
+ */
382
+ ignored_pattern?: string;
383
+ }
384
+ | boolean;
385
+ /**
386
+ * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md
387
+ */
388
+ 'link-image-reference-definitions'?:
389
+ | {
390
+ /**
391
+ * Ignored definitions
392
+ */
393
+ ignored_definitions?: string[];
394
+ }
395
+ | boolean;
396
+ /**
397
+ * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
398
+ */
399
+ 'link-image-style'?:
400
+ | {
401
+ /**
402
+ * Allow autolinks
403
+ */
404
+ autolink?: boolean;
405
+ /**
406
+ * Allow collapsed reference links and images
407
+ */
408
+ collapsed?: boolean;
409
+ /**
410
+ * Allow full reference links and images
411
+ */
412
+ full?: boolean;
413
+ /**
414
+ * Allow inline links and images
415
+ */
416
+ inline?: boolean;
417
+ /**
418
+ * Allow shortcut reference links and images
419
+ */
420
+ shortcut?: boolean;
421
+ /**
422
+ * Allow URLs as inline links
423
+ */
424
+ url_inline?: boolean;
425
+ }
426
+ | boolean;
427
+ /**
428
+ * Links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054, MD059
429
+ */
430
+ 'links'?: boolean;
431
+ /**
432
+ * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
433
+ */
434
+ 'list-indent'?: boolean;
435
+ /**
436
+ * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
437
+ */
438
+ 'list-marker-space'?:
439
+ | {
440
+ /**
441
+ * Spaces for multi-line ordered list items
442
+ */
443
+ ol_multi?: number;
444
+ /**
445
+ * Spaces for single-line ordered list items
446
+ */
447
+ ol_single?: number;
448
+ /**
449
+ * Spaces for multi-line unordered list items
450
+ */
451
+ ul_multi?: number;
452
+ /**
453
+ * Spaces for single-line unordered list items
454
+ */
455
+ ul_single?: number;
456
+ }
457
+ | boolean;
458
+ /**
459
+ * MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md
460
+ */
461
+ 'MD001'?: boolean;
462
+ /**
463
+ * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
464
+ */
465
+ 'MD003'?:
466
+ | {
467
+ /**
468
+ * Heading style
469
+ */
470
+ style?: 'atx_closed' | 'atx' | 'consistent' | 'setext_with_atx_closed' | 'setext_with_atx' | 'setext';
471
+ }
472
+ | boolean;
473
+ /**
474
+ * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
475
+ */
476
+ 'MD004'?:
477
+ | {
478
+ /**
479
+ * List style
480
+ */
481
+ style?: 'asterisk' | 'consistent' | 'dash' | 'plus' | 'sublist';
482
+ }
483
+ | boolean;
484
+ /**
485
+ * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
486
+ */
487
+ 'MD005'?: boolean;
488
+ /**
489
+ * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
490
+ */
491
+ 'MD007'?:
492
+ | {
493
+ /**
494
+ * Spaces for indent
495
+ */
496
+ indent?: number;
497
+ /**
498
+ * Spaces for first level indent (when start_indented is set)
499
+ */
500
+ start_indent?: number;
501
+ /**
502
+ * Whether to indent the first level of the list
503
+ */
504
+ start_indented?: boolean;
505
+ }
506
+ | boolean;
507
+ /**
508
+ * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
509
+ */
510
+ 'MD009'?:
511
+ | {
512
+ /**
513
+ * Spaces for line break
514
+ */
515
+ br_spaces?: number;
516
+ /**
517
+ * Allow spaces for empty lines in list items
518
+ */
519
+ list_item_empty_lines?: boolean;
520
+ /**
521
+ * Include unnecessary breaks
522
+ */
523
+ strict?: boolean;
524
+ }
525
+ | boolean;
526
+ /**
527
+ * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
528
+ */
529
+ 'MD010'?:
530
+ | {
531
+ /**
532
+ * Include code blocks
533
+ */
534
+ code_blocks?: boolean;
535
+ /**
536
+ * Fenced code languages to ignore
537
+ */
538
+ ignore_code_languages?: string[];
539
+ /**
540
+ * Number of spaces for each hard tab
541
+ */
542
+ spaces_per_tab?: number;
543
+ }
544
+ | boolean;
545
+ /**
546
+ * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
547
+ */
548
+ 'MD011'?: boolean;
549
+ /**
550
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
551
+ */
552
+ 'MD012'?:
553
+ | {
554
+ /**
555
+ * Consecutive blank lines
556
+ */
557
+ maximum?: number;
558
+ }
559
+ | boolean;
560
+ /**
561
+ * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
562
+ */
563
+ 'MD013'?:
564
+ | {
565
+ /**
566
+ * Number of characters for code blocks
567
+ */
568
+ code_block_line_length?: number;
569
+ /**
570
+ * Include code blocks
571
+ */
572
+ code_blocks?: boolean;
573
+ /**
574
+ * Number of characters for headings
575
+ */
576
+ heading_line_length?: number;
577
+ /**
578
+ * Include headings
579
+ */
580
+ headings?: boolean;
581
+ /**
582
+ * Number of characters
583
+ */
584
+ line_length?: number;
585
+ /**
586
+ * Stern length checking
587
+ */
588
+ stern?: boolean;
589
+ /**
590
+ * Strict length checking
591
+ */
592
+ strict?: boolean;
593
+ /**
594
+ * Include tables
595
+ */
596
+ tables?: boolean;
597
+ }
598
+ | boolean;
599
+ /**
600
+ * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
601
+ */
602
+ 'MD014'?: boolean;
603
+ /**
604
+ * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md
605
+ */
606
+ 'MD018'?: boolean;
607
+ /**
608
+ * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md
609
+ */
610
+ 'MD019'?: boolean;
611
+ /**
612
+ * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md
613
+ */
614
+ 'MD020'?: boolean;
615
+ /**
616
+ * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md
617
+ */
618
+ 'MD021'?: boolean;
619
+ /**
620
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
621
+ */
622
+ 'MD022'?:
623
+ | {
624
+ /**
625
+ * Blank lines above heading
626
+ */
627
+ lines_above?: number | number[];
628
+ /**
629
+ * Blank lines below heading
630
+ */
631
+ lines_below?: number | number[];
632
+ }
633
+ | boolean;
634
+ /**
635
+ * MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md
636
+ */
637
+ 'MD023'?: boolean;
638
+ /**
639
+ * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
640
+ */
641
+ 'MD024'?:
642
+ | {
643
+ /**
644
+ * Only check sibling headings
645
+ */
646
+ siblings_only?: boolean;
647
+ }
648
+ | boolean;
649
+ /**
650
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
651
+ */
652
+ 'MD025'?:
653
+ | {
654
+ /**
655
+ * RegExp for matching title in front matter
656
+ */
657
+ front_matter_title?: string;
658
+ /**
659
+ * Heading level
660
+ */
661
+ level?: number;
662
+ }
663
+ | boolean;
664
+ /**
665
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
666
+ */
667
+ 'MD026'?:
668
+ | {
669
+ /**
670
+ * Punctuation characters
671
+ */
672
+ punctuation?: string;
673
+ }
674
+ | boolean;
675
+ /**
676
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
677
+ */
678
+ 'MD027'?:
679
+ | {
680
+ /**
681
+ * Include list items
682
+ */
683
+ list_items?: boolean;
684
+ }
685
+ | boolean;
686
+ /**
687
+ * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
688
+ */
689
+ 'MD028'?: boolean;
690
+ /**
691
+ * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
692
+ */
693
+ 'MD029'?:
694
+ | {
695
+ /**
696
+ * List style
697
+ */
698
+ style?: 'one_or_ordered' | 'one' | 'ordered' | 'zero';
699
+ }
700
+ | boolean;
701
+ /**
702
+ * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
703
+ */
704
+ 'MD030'?:
705
+ | {
706
+ /**
707
+ * Spaces for multi-line ordered list items
708
+ */
709
+ ol_multi?: number;
710
+ /**
711
+ * Spaces for single-line ordered list items
712
+ */
713
+ ol_single?: number;
714
+ /**
715
+ * Spaces for multi-line unordered list items
716
+ */
717
+ ul_multi?: number;
718
+ /**
719
+ * Spaces for single-line unordered list items
720
+ */
721
+ ul_single?: number;
722
+ }
723
+ | boolean;
724
+ /**
725
+ * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md
726
+ */
727
+ 'MD031'?:
728
+ | {
729
+ /**
730
+ * Include list items
731
+ */
732
+ list_items?: boolean;
733
+ }
734
+ | boolean;
735
+ /**
736
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
737
+ */
738
+ 'MD032'?: boolean;
739
+ /**
740
+ * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
741
+ */
742
+ 'MD033'?:
743
+ | {
744
+ /**
745
+ * Allowed elements
746
+ */
747
+ allowed_elements?: string[];
748
+ }
749
+ | boolean;
750
+ /**
751
+ * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
752
+ */
753
+ 'MD034'?: boolean;
754
+ /**
755
+ * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
756
+ */
757
+ 'MD035'?:
758
+ | {
759
+ /**
760
+ * Horizontal rule style
761
+ */
762
+ style?: string;
763
+ }
764
+ | boolean;
765
+ /**
766
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
767
+ */
768
+ 'MD036'?:
769
+ | {
770
+ /**
771
+ * Punctuation characters
772
+ */
773
+ punctuation?: string;
774
+ }
775
+ | boolean;
776
+ /**
777
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
778
+ */
779
+ 'MD037'?: boolean;
780
+ /**
781
+ * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
782
+ */
783
+ 'MD038'?: boolean;
784
+ /**
785
+ * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
786
+ */
787
+ 'MD039'?: boolean;
788
+ /**
789
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
790
+ */
791
+ 'MD040'?:
792
+ | {
793
+ /**
794
+ * List of languages
795
+ */
796
+ allowed_languages?: string[];
797
+ /**
798
+ * Require language only
799
+ */
800
+ language_only?: boolean;
801
+ }
802
+ | boolean;
803
+ /**
804
+ * 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.38.0/doc/md041.md
805
+ */
806
+ 'MD041'?:
807
+ | {
808
+ /**
809
+ * Allow content before first heading
810
+ */
811
+ allow_preamble?: boolean;
812
+ /**
813
+ * RegExp for matching title in front matter
814
+ */
815
+ front_matter_title?: string;
816
+ /**
817
+ * Heading level
818
+ */
819
+ level?: number;
820
+ }
821
+ | boolean;
822
+ /**
823
+ * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
824
+ */
825
+ 'MD042'?: boolean;
826
+ /**
827
+ * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
828
+ */
829
+ 'MD043'?:
830
+ | {
831
+ /**
832
+ * List of headings
833
+ */
834
+ headings?: string[];
835
+ /**
836
+ * Match case of headings
837
+ */
838
+ match_case?: boolean;
839
+ }
840
+ | boolean;
841
+ /**
842
+ * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
843
+ */
844
+ 'MD044'?:
845
+ | {
846
+ /**
847
+ * Include code blocks
848
+ */
849
+ code_blocks?: boolean;
850
+ /**
851
+ * Include HTML elements
852
+ */
853
+ html_elements?: boolean;
854
+ /**
855
+ * List of proper names
856
+ */
857
+ names?: string[];
858
+ }
859
+ | boolean;
860
+ /**
861
+ * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
862
+ */
863
+ 'MD045'?: boolean;
864
+ /**
865
+ * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
866
+ */
867
+ 'MD046'?:
868
+ | {
869
+ /**
870
+ * Block style
871
+ */
872
+ style?: 'consistent' | 'fenced' | 'indented';
873
+ }
874
+ | boolean;
875
+ /**
876
+ * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
877
+ */
878
+ 'MD047'?: boolean;
879
+ /**
880
+ * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
881
+ */
882
+ 'MD048'?:
883
+ | {
884
+ /**
885
+ * Code fence style
886
+ */
887
+ style?: 'backtick' | 'consistent' | 'tilde';
888
+ }
889
+ | boolean;
890
+ /**
891
+ * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
892
+ */
893
+ 'MD049'?:
894
+ | {
895
+ /**
896
+ * Emphasis style
897
+ */
898
+ style?: 'asterisk' | 'consistent' | 'underscore';
899
+ }
900
+ | boolean;
901
+ /**
902
+ * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
903
+ */
904
+ 'MD050'?:
905
+ | {
906
+ /**
907
+ * Strong style
908
+ */
909
+ style?: 'asterisk' | 'consistent' | 'underscore';
910
+ }
911
+ | boolean;
912
+ /**
913
+ * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
914
+ */
915
+ 'MD051'?:
916
+ | {
917
+ /**
918
+ * Ignore case of fragments
919
+ */
920
+ ignore_case?: boolean;
921
+ /**
922
+ * Pattern for ignoring additional fragments
923
+ */
924
+ ignored_pattern?: string;
925
+ }
926
+ | boolean;
927
+ /**
928
+ * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md
929
+ */
930
+ 'MD052'?:
931
+ | {
932
+ /**
933
+ * Ignored link labels
934
+ */
935
+ ignored_labels?: string[];
936
+ /**
937
+ * Include shortcut syntax
938
+ */
939
+ shortcut_syntax?: boolean;
940
+ }
941
+ | boolean;
942
+ /**
943
+ * MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md
944
+ */
945
+ 'MD053'?:
946
+ | {
947
+ /**
948
+ * Ignored definitions
949
+ */
950
+ ignored_definitions?: string[];
951
+ }
952
+ | boolean;
953
+ /**
954
+ * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
955
+ */
956
+ 'MD054'?:
957
+ | {
958
+ /**
959
+ * Allow autolinks
960
+ */
961
+ autolink?: boolean;
962
+ /**
963
+ * Allow collapsed reference links and images
964
+ */
965
+ collapsed?: boolean;
966
+ /**
967
+ * Allow full reference links and images
968
+ */
969
+ full?: boolean;
970
+ /**
971
+ * Allow inline links and images
972
+ */
973
+ inline?: boolean;
974
+ /**
975
+ * Allow shortcut reference links and images
976
+ */
977
+ shortcut?: boolean;
978
+ /**
979
+ * Allow URLs as inline links
980
+ */
981
+ url_inline?: boolean;
982
+ }
983
+ | boolean;
984
+ /**
985
+ * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
986
+ */
987
+ 'MD055'?:
988
+ | {
989
+ /**
990
+ * Table pipe style
991
+ */
992
+ style?: 'consistent' | 'leading_and_trailing' | 'leading_only' | 'no_leading_or_trailing' | 'trailing_only';
993
+ }
994
+ | boolean;
995
+ /**
996
+ * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
997
+ */
998
+ 'MD056'?: boolean;
999
+ /**
1000
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
1001
+ */
1002
+ 'MD058'?: boolean;
1003
+ /**
1004
+ * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
1005
+ */
1006
+ 'MD059'?:
1007
+ | {
1008
+ /**
1009
+ * Prohibited link texts
1010
+ */
1011
+ prohibited_texts?: string[];
1012
+ }
1013
+ | boolean;
1014
+ /**
1015
+ * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
1016
+ */
1017
+ 'no-alt-text'?: boolean;
1018
+ /**
1019
+ * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
1020
+ */
1021
+ 'no-bare-urls'?: boolean;
1022
+ /**
1023
+ * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
1024
+ */
1025
+ 'no-blanks-blockquote'?: boolean;
1026
+ /**
1027
+ * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
1028
+ */
1029
+ 'no-duplicate-heading'?:
1030
+ | {
1031
+ /**
1032
+ * Only check sibling headings
1033
+ */
1034
+ siblings_only?: boolean;
1035
+ }
1036
+ | boolean;
1037
+ /**
1038
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
1039
+ */
1040
+ 'no-emphasis-as-heading'?:
1041
+ | {
1042
+ /**
1043
+ * Punctuation characters
1044
+ */
1045
+ punctuation?: string;
1046
+ }
1047
+ | boolean;
1048
+ /**
1049
+ * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
1050
+ */
1051
+ 'no-empty-links'?: boolean;
1052
+ /**
1053
+ * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
1054
+ */
1055
+ 'no-hard-tabs'?:
1056
+ | {
1057
+ /**
1058
+ * Include code blocks
1059
+ */
1060
+ code_blocks?: boolean;
1061
+ /**
1062
+ * Fenced code languages to ignore
1063
+ */
1064
+ ignore_code_languages?: string[];
1065
+ /**
1066
+ * Number of spaces for each hard tab
1067
+ */
1068
+ spaces_per_tab?: number;
1069
+ }
1070
+ | boolean;
1071
+ /**
1072
+ * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
1073
+ */
1074
+ 'no-inline-html'?:
1075
+ | {
1076
+ /**
1077
+ * Allowed elements
1078
+ */
1079
+ allowed_elements?: string[];
1080
+ }
1081
+ | boolean;
1082
+ /**
1083
+ * MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md
1084
+ */
1085
+ 'no-missing-space-atx'?: boolean;
1086
+ /**
1087
+ * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md
1088
+ */
1089
+ 'no-missing-space-closed-atx'?: boolean;
1090
+ /**
1091
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
1092
+ */
1093
+ 'no-multiple-blanks'?:
1094
+ | {
1095
+ /**
1096
+ * Consecutive blank lines
1097
+ */
1098
+ maximum?: number;
1099
+ }
1100
+ | boolean;
1101
+ /**
1102
+ * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md
1103
+ */
1104
+ 'no-multiple-space-atx'?: boolean;
1105
+ /**
1106
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
1107
+ */
1108
+ 'no-multiple-space-blockquote'?:
1109
+ | {
1110
+ /**
1111
+ * Include list items
1112
+ */
1113
+ list_items?: boolean;
1114
+ }
1115
+ | boolean;
1116
+ /**
1117
+ * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md
1118
+ */
1119
+ 'no-multiple-space-closed-atx'?: boolean;
1120
+ /**
1121
+ * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
1122
+ */
1123
+ 'no-reversed-links'?: boolean;
1124
+ /**
1125
+ * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
1126
+ */
1127
+ 'no-space-in-code'?: boolean;
1128
+ /**
1129
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
1130
+ */
1131
+ 'no-space-in-emphasis'?: boolean;
1132
+ /**
1133
+ * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
1134
+ */
1135
+ 'no-space-in-links'?: boolean;
1136
+ /**
1137
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
1138
+ */
1139
+ 'no-trailing-punctuation'?:
1140
+ | {
1141
+ /**
1142
+ * Punctuation characters
1143
+ */
1144
+ punctuation?: string;
1145
+ }
1146
+ | boolean;
1147
+ /**
1148
+ * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
1149
+ */
1150
+ 'no-trailing-spaces'?:
1151
+ | {
1152
+ /**
1153
+ * Spaces for line break
1154
+ */
1155
+ br_spaces?: number;
1156
+ /**
1157
+ * Allow spaces for empty lines in list items
1158
+ */
1159
+ list_item_empty_lines?: boolean;
1160
+ /**
1161
+ * Include unnecessary breaks
1162
+ */
1163
+ strict?: boolean;
1164
+ }
1165
+ | boolean;
1166
+ /**
1167
+ * Ol : MD029, MD030, MD032
1168
+ */
1169
+ 'ol'?: boolean;
1170
+ /**
1171
+ * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
1172
+ */
1173
+ 'ol-prefix'?:
1174
+ | {
1175
+ /**
1176
+ * List style
1177
+ */
1178
+ style?: 'one_or_ordered' | 'one' | 'ordered' | 'zero';
1179
+ }
1180
+ | boolean;
1181
+ /**
1182
+ * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
1183
+ */
1184
+ 'proper-names'?:
1185
+ | {
1186
+ /**
1187
+ * Include code blocks
1188
+ */
1189
+ code_blocks?: boolean;
1190
+ /**
1191
+ * Include HTML elements
1192
+ */
1193
+ html_elements?: boolean;
1194
+ /**
1195
+ * List of proper names
1196
+ */
1197
+ names?: string[];
1198
+ }
1199
+ | boolean;
1200
+ /**
1201
+ * MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md
1202
+ */
1203
+ 'reference-links-images'?:
1204
+ | {
1205
+ /**
1206
+ * Ignored link labels
1207
+ */
1208
+ ignored_labels?: string[];
1209
+ /**
1210
+ * Include shortcut syntax
1211
+ */
1212
+ shortcut_syntax?: boolean;
1213
+ }
1214
+ | boolean;
1215
+ /**
1216
+ * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
1217
+ */
1218
+ 'required-headings'?:
1219
+ | {
1220
+ /**
1221
+ * List of headings
1222
+ */
1223
+ headings?: string[];
1224
+ /**
1225
+ * Match case of headings
1226
+ */
1227
+ match_case?: boolean;
1228
+ }
1229
+ | boolean;
1230
+ /**
1231
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
1232
+ */
1233
+ 'single-h1'?:
1234
+ | {
1235
+ /**
1236
+ * RegExp for matching title in front matter
1237
+ */
1238
+ front_matter_title?: string;
1239
+ /**
1240
+ * Heading level
1241
+ */
1242
+ level?: number;
1243
+ }
1244
+ | boolean;
1245
+ /**
1246
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
1247
+ */
1248
+ 'single-title'?:
1249
+ | {
1250
+ /**
1251
+ * RegExp for matching title in front matter
1252
+ */
1253
+ front_matter_title?: string;
1254
+ /**
1255
+ * Heading level
1256
+ */
1257
+ level?: number;
1258
+ }
1259
+ | boolean;
1260
+ /**
1261
+ * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
1262
+ */
1263
+ 'single-trailing-newline'?: boolean;
1264
+ /**
1265
+ * Spaces : MD018, MD019, MD020, MD021, MD023
1266
+ */
1267
+ 'spaces'?: boolean;
1268
+ /**
1269
+ * Spelling : MD044
1270
+ */
1271
+ 'spelling'?: boolean;
1272
+ /**
1273
+ * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
1274
+ */
1275
+ 'strong-style'?:
1276
+ | {
1277
+ /**
1278
+ * Strong style
1279
+ */
1280
+ style?: 'asterisk' | 'consistent' | 'underscore';
1281
+ }
1282
+ | boolean;
1283
+ /**
1284
+ * Table : MD055, MD056, MD058
1285
+ */
1286
+ 'table'?: boolean;
1287
+ /**
1288
+ * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
1289
+ */
1290
+ 'table-column-count'?: boolean;
1291
+ /**
1292
+ * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
1293
+ */
1294
+ 'table-pipe-style'?:
1295
+ | {
1296
+ /**
1297
+ * Table pipe style
1298
+ */
1299
+ style?: 'consistent' | 'leading_and_trailing' | 'leading_only' | 'no_leading_or_trailing' | 'trailing_only';
1300
+ }
1301
+ | boolean;
1302
+ /**
1303
+ * Ul : MD004, MD005, MD007, MD030, MD032
1304
+ */
1305
+ 'ul'?: boolean;
1306
+ /**
1307
+ * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
1308
+ */
1309
+ 'ul-indent'?:
1310
+ | {
1311
+ /**
1312
+ * Spaces for indent
1313
+ */
1314
+ indent?: number;
1315
+ /**
1316
+ * Spaces for first level indent (when start_indented is set)
1317
+ */
1318
+ start_indent?: number;
1319
+ /**
1320
+ * Whether to indent the first level of the list
1321
+ */
1322
+ start_indented?: boolean;
1323
+ }
1324
+ | boolean;
1325
+ /**
1326
+ * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
1327
+ */
1328
+ 'ul-style'?:
1329
+ | {
1330
+ /**
1331
+ * List style
1332
+ */
1333
+ style?: 'asterisk' | 'consistent' | 'dash' | 'plus' | 'sublist';
1334
+ }
1335
+ | boolean;
1336
+ /**
1337
+ * Url : MD034
1338
+ */
1339
+ 'url'?: boolean;
1340
+ /**
1341
+ * Whitespace : MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039
1342
+ */
1343
+ 'whitespace'?: boolean;
1344
+ }