markdownlint-cli2
Advanced tools
Comparing version
# Changelog | ||
## 0.15.0 | ||
- Add support for `stdin` input via `-` glob | ||
- Add output formatter based on string templates | ||
- Update dependencies (including `markdownlint`) | ||
## 0.14.0 | ||
@@ -4,0 +10,0 @@ |
@@ -18,7 +18,11 @@ #!/usr/bin/env node | ||
const { | ||
applyFixes, | ||
"getVersion": getLibraryVersion, | ||
"promises": markdownlintPromises | ||
} = markdownlintLibrary; | ||
const { | ||
markdownlint, | ||
"extendConfig": markdownlintExtendConfig, | ||
"readConfig": markdownlintReadConfig | ||
} = markdownlintLibrary.promises; | ||
const markdownlintRuleHelpers = require("markdownlint/helpers"); | ||
} = markdownlintPromises; | ||
const appendToArray = require("./append-to-array"); | ||
@@ -30,5 +34,5 @@ const mergeOptions = require("./merge-options"); | ||
const packageName = "markdownlint-cli2"; | ||
const packageVersion = "0.14.0"; | ||
const packageVersion = "0.15.0"; | ||
const libraryName = "markdownlint"; | ||
const libraryVersion = markdownlintLibrary.getVersion(); | ||
const libraryVersion = getLibraryVersion(); | ||
const bannerMessage = `${packageName} v${packageVersion} (${libraryName} v${libraryVersion})`; | ||
@@ -57,3 +61,2 @@ const dotOnlySubstitute = "*.{md,markdown}"; | ||
`Unable to use configuration file '${file}'; ${error?.message}`, | ||
// @ts-ignore | ||
{ "cause": error } | ||
@@ -67,5 +70,6 @@ ); | ||
// Expands a path with a tilde to an absolute path | ||
const expandTildePath = (id) => ( | ||
markdownlintRuleHelpers.expandTildePath(id, require("node:os")) | ||
); | ||
const expandTildePath = (id) => { | ||
const markdownlintRuleHelpers = require("markdownlint/helpers"); | ||
return markdownlintRuleHelpers.expandTildePath(id, require("node:os")); | ||
}; | ||
@@ -117,3 +121,2 @@ // Resolves module paths relative to the specified directory | ||
} | ||
// @ts-ignore | ||
throw new AggregateError( | ||
@@ -266,2 +269,3 @@ errors, | ||
- : at the beginning identifies a literal file path | ||
- - as a glob represents standard input (stdin) | ||
@@ -781,2 +785,3 @@ Dot-only glob: | ||
); | ||
/** @type {Record<string, string>} */ | ||
const filteredStrings = {}; | ||
@@ -789,2 +794,3 @@ for (const file of filesAfterIgnores) { | ||
// Create markdownlint options object | ||
/** @type {import("markdownlint").Options} */ | ||
const options = { | ||
@@ -806,3 +812,2 @@ "files": filteredFiles, | ||
// Invoke markdownlint | ||
// @ts-ignore | ||
let task = markdownlint(options); | ||
@@ -814,3 +819,4 @@ // For any fixable errors, read file, apply fixes, and write it back | ||
const subTasks = []; | ||
const errorFiles = Object.keys(results); | ||
const errorFiles = Object.keys(results). | ||
filter((result) => filteredFiles.includes(result)); | ||
for (const fileName of errorFiles) { | ||
@@ -824,4 +830,3 @@ const errorInfos = results[fileName]. | ||
then((original) => { | ||
const fixed = markdownlintRuleHelpers. | ||
applyFixes(original, errorInfos); | ||
const fixed = applyFixes(original, errorInfos); | ||
return fs.promises.writeFile(fileName, fixed, utf8); | ||
@@ -833,3 +838,2 @@ }) | ||
return Promise.all(subTasks). | ||
// @ts-ignore | ||
then(() => markdownlint(options)). | ||
@@ -920,7 +924,8 @@ then((fixResults) => ({ | ||
fileContents, | ||
nonFileContents, | ||
noRequire | ||
noRequire, | ||
allowStdin | ||
} = params; | ||
let { | ||
noGlobs | ||
noGlobs, | ||
nonFileContents | ||
} = params; | ||
@@ -938,2 +943,3 @@ const logMessage = params.logMessage || noop; | ||
let configPath = undefined; | ||
let useStdin = false; | ||
let sawDashDash = false; | ||
@@ -946,2 +952,4 @@ let shouldShowHelp = false; | ||
configPath = arg; | ||
} else if ((arg === "-") && allowStdin) { | ||
useStdin = true; | ||
// eslint-disable-next-line unicorn/prefer-switch | ||
@@ -997,3 +1005,3 @@ } else if (arg === "--") { | ||
if ( | ||
((globPatterns.length === 0) && !nonFileContents) || | ||
((globPatterns.length === 0) && !useStdin && !nonFileContents) || | ||
(configPath === null) | ||
@@ -1003,9 +1011,16 @@ ) { | ||
} | ||
// Add stdin as a non-file input if necessary | ||
if (useStdin) { | ||
const key = pathPosix.join(baseDir, "stdin"); | ||
const { text } = require("node:stream/consumers"); | ||
nonFileContents = { | ||
...nonFileContents, | ||
[key]: await text(process.stdin) | ||
}; | ||
} | ||
// Include any file overrides or non-file content | ||
const { baseMarkdownlintOptions, dirToDirInfo } = baseOptions; | ||
const resolvedFileContents = {}; | ||
for (const file in fileContents) { | ||
const resolvedFile = posixPath(pathDefault.resolve(baseDirSystem, file)); | ||
resolvedFileContents[resolvedFile] = | ||
fileContents[file]; | ||
resolvedFileContents[resolvedFile] = fileContents[file]; | ||
} | ||
@@ -1015,2 +1030,3 @@ for (const nonFile in nonFileContents) { | ||
} | ||
const { baseMarkdownlintOptions, dirToDirInfo } = baseOptions; | ||
appendToArray( | ||
@@ -1087,35 +1103,24 @@ dirToDirInfo[baseDir].files, | ||
// Run function | ||
const run = (overrides, args) => { | ||
(async () => { | ||
const argsAndArgv = args || []; | ||
appendToArray(argsAndArgv, process.argv.slice(2)); | ||
try { | ||
const defaultParams = { | ||
"argv": argsAndArgv, | ||
"logMessage": console.log, | ||
"logError": console.error | ||
}; | ||
const params = { | ||
...defaultParams, | ||
...overrides | ||
}; | ||
process.exitCode = await main(params); | ||
} catch (error) { | ||
console.error(error); | ||
process.exitCode = 2; | ||
} | ||
})(); | ||
}; | ||
// Export functions | ||
module.exports = { | ||
main, | ||
run | ||
main | ||
}; | ||
// Run if invoked as a CLI | ||
// @ts-ignore | ||
if (require.main === module) { | ||
run(); | ||
const params = { | ||
"argv": process.argv.slice(2), | ||
"logMessage": console.log, | ||
"logError": console.error, | ||
"allowStdin": true | ||
}; | ||
main(params). | ||
then((exitCode) => { | ||
process.exitCode = exitCode; | ||
}). | ||
// eslint-disable-next-line unicorn/prefer-top-level-await | ||
catch((error) => { | ||
console.error(error); | ||
process.exitCode = 2; | ||
}); | ||
} |
{ | ||
"name": "markdownlint-cli2", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", | ||
@@ -37,2 +37,6 @@ "author": { | ||
"lint-watch": "git ls-files | entr npm run lint", | ||
"playwright-install-bare": "npm run playwright-install-npm && playwright install", | ||
"playwright-install-npm": "npm install --no-save playwright@1.48.2", | ||
"playwright-test": "playwright test --config ./webworker/playwright.config.mjs", | ||
"playwright-test-docker": "docker run --rm --volume $PWD:/home/workdir --workdir /home/workdir --ipc=host mcr.microsoft.com/playwright:v1.48.2 npm run playwright-test", | ||
"schema": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json ./schema --flat", | ||
@@ -75,3 +79,3 @@ "test": "ava --timeout=1m test/append-to-array-test.js test/fs-mock-test.js test/fs-virtual-test.js test/markdownlint-cli2-test.js test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-exports.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js test/merge-options-test.js test/resolve-and-require-test.js", | ||
"jsonc-parser": "3.3.1", | ||
"markdownlint": "0.35.0", | ||
"markdownlint": "0.36.1", | ||
"markdownlint-cli2-formatter-default": "0.0.5", | ||
@@ -81,16 +85,17 @@ "micromatch": "4.0.8" | ||
"devDependencies": { | ||
"@eslint/js": "9.9.1", | ||
"@eslint/js": "9.14.0", | ||
"@iktakahiro/markdown-it-katex": "4.0.1", | ||
"@stylistic/eslint-plugin": "2.7.2", | ||
"@playwright/test": "1.48.2", | ||
"@stylistic/eslint-plugin": "2.10.1", | ||
"ajv": "8.17.1", | ||
"ava": "6.1.3", | ||
"ava": "6.2.0", | ||
"c8": "10.1.2", | ||
"cpy": "11.1.0", | ||
"cpy-cli": "5.0.0", | ||
"del": "7.1.0", | ||
"eslint": "9.9.1", | ||
"eslint-plugin-jsdoc": "50.2.2", | ||
"eslint-plugin-n": "17.10.2", | ||
"eslint-plugin-unicorn": "55.0.0", | ||
"execa": "9.3.1", | ||
"del": "8.0.0", | ||
"eslint": "9.14.0", | ||
"eslint-plugin-jsdoc": "50.4.3", | ||
"eslint-plugin-n": "17.13.1", | ||
"eslint-plugin-unicorn": "56.0.0", | ||
"nano-spawn": "0.2.0", | ||
"markdown-it-emoji": "3.0.0", | ||
@@ -104,2 +109,3 @@ "markdown-it-for-inline": "2.0.1", | ||
"markdownlint-cli2-formatter-summarize": "0.0.7", | ||
"markdownlint-cli2-formatter-template": "0.0.2", | ||
"markdownlint-rule-extended-ascii": "0.1.0", | ||
@@ -106,0 +112,0 @@ "npm-run-all": "4.1.5" |
@@ -79,2 +79,3 @@ # markdownlint-cli2 | ||
- : at the beginning identifies a literal file path | ||
- - as a glob represents standard input (stdin) | ||
@@ -152,3 +153,3 @@ Dot-only glob: | ||
```bash | ||
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.14.0 "**/*.md" "#node_modules" | ||
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules" | ||
``` | ||
@@ -170,3 +171,3 @@ | ||
```bash | ||
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.14.0 "**/*.md" "#node_modules" | ||
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules" | ||
``` | ||
@@ -418,3 +419,3 @@ | ||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.14.0 | ||
rev: v0.15.0 | ||
hooks: | ||
@@ -421,0 +422,0 @@ - id: markdownlint-cli2 |
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.14.0/schema/markdownlint-cli2-config-schema.json", | ||
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.15.0/schema/markdownlint-cli2-config-schema.json", | ||
"title": "markdownlint-cli2 configuration schema", | ||
@@ -10,11 +10,11 @@ "type": "object", | ||
"type": "string", | ||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.14.0/schema/markdownlint-cli2-config-schema.json" | ||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.15.0/schema/markdownlint-cli2-config-schema.json" | ||
}, | ||
"config": { | ||
"description": "markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/schema/.markdownlint.jsonc", | ||
"$ref": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.35.0/schema/markdownlint-config-schema.json", | ||
"description": "markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/schema/.markdownlint.jsonc", | ||
"$ref": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.36.1/schema/markdownlint-config-schema.json", | ||
"default": {} | ||
}, | ||
"customRules": { | ||
"description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -29,3 +29,3 @@ "default": [], | ||
"fix": { | ||
"description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "boolean", | ||
@@ -35,3 +35,3 @@ "default": false | ||
"frontMatter": { | ||
"description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "string", | ||
@@ -42,3 +42,3 @@ "minLength": 1, | ||
"gitignore": { | ||
"description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": [ | ||
@@ -51,3 +51,3 @@ "boolean", | ||
"globs": { | ||
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -62,3 +62,3 @@ "default": [], | ||
"ignores": { | ||
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -73,3 +73,3 @@ "default": [], | ||
"markdownItPlugins": { | ||
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -94,3 +94,3 @@ "default": [], | ||
"modulePaths": { | ||
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -105,3 +105,3 @@ "default": [], | ||
"noBanner": { | ||
"description": "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.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "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.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "boolean", | ||
@@ -111,3 +111,3 @@ "default": false | ||
"noInlineConfig": { | ||
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "boolean", | ||
@@ -117,3 +117,3 @@ "default": false | ||
"noProgress": { | ||
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "boolean", | ||
@@ -123,3 +123,3 @@ "default": false | ||
"outputFormatters": { | ||
"description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "array", | ||
@@ -144,3 +144,3 @@ "default": [], | ||
"showFound": { | ||
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.14.0/README.md#markdownlint-cli2jsonc", | ||
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", | ||
"type": "boolean", | ||
@@ -147,0 +147,0 @@ "default": false |
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.35.0/schema/markdownlint-config-schema.json", | ||
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.36.1/schema/markdownlint-config-schema.json", | ||
"title": "markdownlint configuration schema", | ||
@@ -10,3 +10,3 @@ "type": "object", | ||
"type": "string", | ||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.35.0/schema/markdownlint-config-schema.json" | ||
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.36.1/schema/markdownlint-config-schema.json" | ||
}, | ||
@@ -27,3 +27,3 @@ "default": { | ||
"MD001": { | ||
"description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md001.md", | ||
"description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md001.md", | ||
"type": "boolean", | ||
@@ -33,3 +33,3 @@ "default": true | ||
"heading-increment": { | ||
"description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md001.md", | ||
"description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md001.md", | ||
"type": "boolean", | ||
@@ -39,3 +39,3 @@ "default": true | ||
"MD003": { | ||
"description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md003.md", | ||
"description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md003.md", | ||
"type": [ | ||
@@ -64,3 +64,3 @@ "boolean", | ||
"heading-style": { | ||
"description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md003.md", | ||
"description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md003.md", | ||
"type": [ | ||
@@ -89,3 +89,3 @@ "boolean", | ||
"MD004": { | ||
"description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md004.md", | ||
"description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md004.md", | ||
"type": [ | ||
@@ -113,3 +113,3 @@ "boolean", | ||
"ul-style": { | ||
"description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md004.md", | ||
"description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md004.md", | ||
"type": [ | ||
@@ -137,3 +137,3 @@ "boolean", | ||
"MD005": { | ||
"description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md005.md", | ||
"description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md005.md", | ||
"type": "boolean", | ||
@@ -143,3 +143,3 @@ "default": true | ||
"list-indent": { | ||
"description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md005.md", | ||
"description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md005.md", | ||
"type": "boolean", | ||
@@ -149,3 +149,3 @@ "default": true | ||
"MD007": { | ||
"description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md007.md", | ||
"description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md007.md", | ||
"type": [ | ||
@@ -178,3 +178,3 @@ "boolean", | ||
"ul-indent": { | ||
"description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md007.md", | ||
"description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md007.md", | ||
"type": [ | ||
@@ -207,3 +207,3 @@ "boolean", | ||
"MD009": { | ||
"description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md009.md", | ||
"description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md009.md", | ||
"type": [ | ||
@@ -235,3 +235,3 @@ "boolean", | ||
"no-trailing-spaces": { | ||
"description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md009.md", | ||
"description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md009.md", | ||
"type": [ | ||
@@ -263,3 +263,3 @@ "boolean", | ||
"MD010": { | ||
"description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md010.md", | ||
"description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md010.md", | ||
"type": [ | ||
@@ -294,3 +294,3 @@ "boolean", | ||
"no-hard-tabs": { | ||
"description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md010.md", | ||
"description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md010.md", | ||
"type": [ | ||
@@ -325,3 +325,3 @@ "boolean", | ||
"MD011": { | ||
"description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md011.md", | ||
"description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md011.md", | ||
"type": "boolean", | ||
@@ -331,3 +331,3 @@ "default": true | ||
"no-reversed-links": { | ||
"description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md011.md", | ||
"description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md011.md", | ||
"type": "boolean", | ||
@@ -337,3 +337,3 @@ "default": true | ||
"MD012": { | ||
"description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md012.md", | ||
"description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md012.md", | ||
"type": [ | ||
@@ -355,3 +355,3 @@ "boolean", | ||
"no-multiple-blanks": { | ||
"description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md012.md", | ||
"description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md012.md", | ||
"type": [ | ||
@@ -373,3 +373,3 @@ "boolean", | ||
"MD013": { | ||
"description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md", | ||
"description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md013.md", | ||
"type": [ | ||
@@ -428,3 +428,3 @@ "boolean", | ||
"line-length": { | ||
"description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md013.md", | ||
"description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md013.md", | ||
"type": [ | ||
@@ -483,3 +483,3 @@ "boolean", | ||
"MD014": { | ||
"description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md014.md", | ||
"description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md014.md", | ||
"type": "boolean", | ||
@@ -489,3 +489,3 @@ "default": true | ||
"commands-show-output": { | ||
"description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md014.md", | ||
"description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md014.md", | ||
"type": "boolean", | ||
@@ -495,3 +495,3 @@ "default": true | ||
"MD018": { | ||
"description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md018.md", | ||
"description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md018.md", | ||
"type": "boolean", | ||
@@ -501,3 +501,3 @@ "default": true | ||
"no-missing-space-atx": { | ||
"description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md018.md", | ||
"description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md018.md", | ||
"type": "boolean", | ||
@@ -507,3 +507,3 @@ "default": true | ||
"MD019": { | ||
"description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md019.md", | ||
"description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md019.md", | ||
"type": "boolean", | ||
@@ -513,3 +513,3 @@ "default": true | ||
"no-multiple-space-atx": { | ||
"description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md019.md", | ||
"description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md019.md", | ||
"type": "boolean", | ||
@@ -519,3 +519,3 @@ "default": true | ||
"MD020": { | ||
"description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md020.md", | ||
"description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md020.md", | ||
"type": "boolean", | ||
@@ -525,3 +525,3 @@ "default": true | ||
"no-missing-space-closed-atx": { | ||
"description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md020.md", | ||
"description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md020.md", | ||
"type": "boolean", | ||
@@ -531,3 +531,3 @@ "default": true | ||
"MD021": { | ||
"description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md021.md", | ||
"description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md021.md", | ||
"type": "boolean", | ||
@@ -537,3 +537,3 @@ "default": true | ||
"no-multiple-space-closed-atx": { | ||
"description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md021.md", | ||
"description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md021.md", | ||
"type": "boolean", | ||
@@ -543,3 +543,3 @@ "default": true | ||
"MD022": { | ||
"description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md022.md", | ||
"description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md022.md", | ||
"type": [ | ||
@@ -579,3 +579,3 @@ "boolean", | ||
"blanks-around-headings": { | ||
"description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md022.md", | ||
"description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md022.md", | ||
"type": [ | ||
@@ -615,3 +615,3 @@ "boolean", | ||
"MD023": { | ||
"description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md023.md", | ||
"description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md023.md", | ||
"type": "boolean", | ||
@@ -621,3 +621,3 @@ "default": true | ||
"heading-start-left": { | ||
"description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md023.md", | ||
"description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md023.md", | ||
"type": "boolean", | ||
@@ -627,3 +627,3 @@ "default": true | ||
"MD024": { | ||
"description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md024.md", | ||
"description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md024.md", | ||
"type": [ | ||
@@ -644,3 +644,3 @@ "boolean", | ||
"no-duplicate-heading": { | ||
"description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md024.md", | ||
"description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md024.md", | ||
"type": [ | ||
@@ -661,3 +661,3 @@ "boolean", | ||
"MD025": { | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md025.md", | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md", | ||
"type": [ | ||
@@ -685,3 +685,3 @@ "boolean", | ||
"single-title": { | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md025.md", | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md", | ||
"type": [ | ||
@@ -709,3 +709,3 @@ "boolean", | ||
"single-h1": { | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md025.md", | ||
"description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md", | ||
"type": [ | ||
@@ -733,3 +733,3 @@ "boolean", | ||
"MD026": { | ||
"description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md026.md", | ||
"description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md026.md", | ||
"type": [ | ||
@@ -750,3 +750,3 @@ "boolean", | ||
"no-trailing-punctuation": { | ||
"description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md026.md", | ||
"description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md026.md", | ||
"type": [ | ||
@@ -767,3 +767,3 @@ "boolean", | ||
"MD027": { | ||
"description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md027.md", | ||
"description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md027.md", | ||
"type": "boolean", | ||
@@ -773,3 +773,3 @@ "default": true | ||
"no-multiple-space-blockquote": { | ||
"description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md027.md", | ||
"description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md027.md", | ||
"type": "boolean", | ||
@@ -779,3 +779,3 @@ "default": true | ||
"MD028": { | ||
"description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md028.md", | ||
"description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md028.md", | ||
"type": "boolean", | ||
@@ -785,3 +785,3 @@ "default": true | ||
"no-blanks-blockquote": { | ||
"description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md028.md", | ||
"description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md028.md", | ||
"type": "boolean", | ||
@@ -791,3 +791,3 @@ "default": true | ||
"MD029": { | ||
"description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md029.md", | ||
"description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md029.md", | ||
"type": [ | ||
@@ -814,3 +814,3 @@ "boolean", | ||
"ol-prefix": { | ||
"description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md029.md", | ||
"description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md029.md", | ||
"type": [ | ||
@@ -837,3 +837,3 @@ "boolean", | ||
"MD030": { | ||
"description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md030.md", | ||
"description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md030.md", | ||
"type": [ | ||
@@ -873,3 +873,3 @@ "boolean", | ||
"list-marker-space": { | ||
"description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md030.md", | ||
"description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md030.md", | ||
"type": [ | ||
@@ -909,3 +909,3 @@ "boolean", | ||
"MD031": { | ||
"description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md031.md", | ||
"description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md031.md", | ||
"type": [ | ||
@@ -926,3 +926,3 @@ "boolean", | ||
"blanks-around-fences": { | ||
"description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md031.md", | ||
"description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md031.md", | ||
"type": [ | ||
@@ -943,3 +943,3 @@ "boolean", | ||
"MD032": { | ||
"description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md032.md", | ||
"description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md032.md", | ||
"type": "boolean", | ||
@@ -949,3 +949,3 @@ "default": true | ||
"blanks-around-lists": { | ||
"description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md032.md", | ||
"description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md032.md", | ||
"type": "boolean", | ||
@@ -955,3 +955,3 @@ "default": true | ||
"MD033": { | ||
"description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md033.md", | ||
"description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md033.md", | ||
"type": [ | ||
@@ -975,3 +975,3 @@ "boolean", | ||
"no-inline-html": { | ||
"description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md033.md", | ||
"description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md033.md", | ||
"type": [ | ||
@@ -995,3 +995,3 @@ "boolean", | ||
"MD034": { | ||
"description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md034.md", | ||
"description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md034.md", | ||
"type": "boolean", | ||
@@ -1001,3 +1001,3 @@ "default": true | ||
"no-bare-urls": { | ||
"description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md034.md", | ||
"description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md034.md", | ||
"type": "boolean", | ||
@@ -1007,3 +1007,3 @@ "default": true | ||
"MD035": { | ||
"description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md035.md", | ||
"description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md035.md", | ||
"type": [ | ||
@@ -1024,3 +1024,3 @@ "boolean", | ||
"hr-style": { | ||
"description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md035.md", | ||
"description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md035.md", | ||
"type": [ | ||
@@ -1041,3 +1041,3 @@ "boolean", | ||
"MD036": { | ||
"description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md036.md", | ||
"description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md036.md", | ||
"type": [ | ||
@@ -1058,3 +1058,3 @@ "boolean", | ||
"no-emphasis-as-heading": { | ||
"description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md036.md", | ||
"description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md036.md", | ||
"type": [ | ||
@@ -1075,3 +1075,3 @@ "boolean", | ||
"MD037": { | ||
"description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md037.md", | ||
"description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md037.md", | ||
"type": "boolean", | ||
@@ -1081,3 +1081,3 @@ "default": true | ||
"no-space-in-emphasis": { | ||
"description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md037.md", | ||
"description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md037.md", | ||
"type": "boolean", | ||
@@ -1087,3 +1087,3 @@ "default": true | ||
"MD038": { | ||
"description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md038.md", | ||
"description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md038.md", | ||
"type": "boolean", | ||
@@ -1093,3 +1093,3 @@ "default": true | ||
"no-space-in-code": { | ||
"description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md038.md", | ||
"description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md038.md", | ||
"type": "boolean", | ||
@@ -1099,3 +1099,3 @@ "default": true | ||
"MD039": { | ||
"description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md039.md", | ||
"description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md039.md", | ||
"type": "boolean", | ||
@@ -1105,3 +1105,3 @@ "default": true | ||
"no-space-in-links": { | ||
"description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md039.md", | ||
"description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md039.md", | ||
"type": "boolean", | ||
@@ -1111,3 +1111,3 @@ "default": true | ||
"MD040": { | ||
"description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md040.md", | ||
"description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md040.md", | ||
"type": [ | ||
@@ -1136,3 +1136,3 @@ "boolean", | ||
"fenced-code-language": { | ||
"description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md040.md", | ||
"description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md040.md", | ||
"type": [ | ||
@@ -1161,3 +1161,3 @@ "boolean", | ||
"MD041": { | ||
"description": "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.35.0/doc/md041.md", | ||
"description": "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.36.1/doc/md041.md", | ||
"type": [ | ||
@@ -1185,3 +1185,3 @@ "boolean", | ||
"first-line-heading": { | ||
"description": "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.35.0/doc/md041.md", | ||
"description": "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.36.1/doc/md041.md", | ||
"type": [ | ||
@@ -1209,3 +1209,3 @@ "boolean", | ||
"first-line-h1": { | ||
"description": "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.35.0/doc/md041.md", | ||
"description": "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.36.1/doc/md041.md", | ||
"type": [ | ||
@@ -1233,3 +1233,3 @@ "boolean", | ||
"MD042": { | ||
"description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md042.md", | ||
"description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md042.md", | ||
"type": "boolean", | ||
@@ -1239,3 +1239,3 @@ "default": true | ||
"no-empty-links": { | ||
"description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md042.md", | ||
"description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md042.md", | ||
"type": "boolean", | ||
@@ -1245,3 +1245,3 @@ "default": true | ||
"MD043": { | ||
"description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md043.md", | ||
"description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md043.md", | ||
"type": [ | ||
@@ -1271,3 +1271,3 @@ "boolean", | ||
"required-headings": { | ||
"description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md043.md", | ||
"description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md043.md", | ||
"type": [ | ||
@@ -1297,3 +1297,3 @@ "boolean", | ||
"MD044": { | ||
"description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md044.md", | ||
"description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md044.md", | ||
"type": [ | ||
@@ -1327,3 +1327,3 @@ "boolean", | ||
"proper-names": { | ||
"description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md044.md", | ||
"description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md044.md", | ||
"type": [ | ||
@@ -1357,3 +1357,3 @@ "boolean", | ||
"MD045": { | ||
"description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md045.md", | ||
"description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md045.md", | ||
"type": "boolean", | ||
@@ -1363,3 +1363,3 @@ "default": true | ||
"no-alt-text": { | ||
"description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md045.md", | ||
"description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md045.md", | ||
"type": "boolean", | ||
@@ -1369,3 +1369,3 @@ "default": true | ||
"MD046": { | ||
"description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md046.md", | ||
"description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md046.md", | ||
"type": [ | ||
@@ -1391,3 +1391,3 @@ "boolean", | ||
"code-block-style": { | ||
"description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md046.md", | ||
"description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md046.md", | ||
"type": [ | ||
@@ -1413,3 +1413,3 @@ "boolean", | ||
"MD047": { | ||
"description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md047.md", | ||
"description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md047.md", | ||
"type": "boolean", | ||
@@ -1419,3 +1419,3 @@ "default": true | ||
"single-trailing-newline": { | ||
"description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md047.md", | ||
"description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md047.md", | ||
"type": "boolean", | ||
@@ -1425,3 +1425,3 @@ "default": true | ||
"MD048": { | ||
"description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md048.md", | ||
"description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md048.md", | ||
"type": [ | ||
@@ -1447,3 +1447,3 @@ "boolean", | ||
"code-fence-style": { | ||
"description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md048.md", | ||
"description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md048.md", | ||
"type": [ | ||
@@ -1469,3 +1469,3 @@ "boolean", | ||
"MD049": { | ||
"description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md049.md", | ||
"description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md049.md", | ||
"type": [ | ||
@@ -1491,3 +1491,3 @@ "boolean", | ||
"emphasis-style": { | ||
"description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md049.md", | ||
"description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md049.md", | ||
"type": [ | ||
@@ -1513,3 +1513,3 @@ "boolean", | ||
"MD050": { | ||
"description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md050.md", | ||
"description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md050.md", | ||
"type": [ | ||
@@ -1535,3 +1535,3 @@ "boolean", | ||
"strong-style": { | ||
"description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md050.md", | ||
"description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md050.md", | ||
"type": [ | ||
@@ -1557,13 +1557,35 @@ "boolean", | ||
"MD051": { | ||
"description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md051.md", | ||
"type": "boolean", | ||
"default": true | ||
"description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md051.md", | ||
"type": [ | ||
"boolean", | ||
"object" | ||
], | ||
"default": true, | ||
"properties": { | ||
"ignore_case": { | ||
"description": "Ignore case of fragments", | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"link-fragments": { | ||
"description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md051.md", | ||
"type": "boolean", | ||
"default": true | ||
"description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md051.md", | ||
"type": [ | ||
"boolean", | ||
"object" | ||
], | ||
"default": true, | ||
"properties": { | ||
"ignore_case": { | ||
"description": "Ignore case of fragments", | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"MD052": { | ||
"description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md052.md", | ||
"description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md052.md", | ||
"type": [ | ||
@@ -1584,3 +1606,3 @@ "boolean", | ||
"reference-links-images": { | ||
"description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md052.md", | ||
"description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md052.md", | ||
"type": [ | ||
@@ -1601,3 +1623,3 @@ "boolean", | ||
"MD053": { | ||
"description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md053.md", | ||
"description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md053.md", | ||
"type": [ | ||
@@ -1623,3 +1645,3 @@ "boolean", | ||
"link-image-reference-definitions": { | ||
"description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md053.md", | ||
"description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md053.md", | ||
"type": [ | ||
@@ -1645,3 +1667,3 @@ "boolean", | ||
"MD054": { | ||
"description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md054.md", | ||
"description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md054.md", | ||
"type": [ | ||
@@ -1687,3 +1709,3 @@ "boolean", | ||
"link-image-style": { | ||
"description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md054.md", | ||
"description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md054.md", | ||
"type": [ | ||
@@ -1729,3 +1751,3 @@ "boolean", | ||
"MD055": { | ||
"description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md055.md", | ||
"description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md055.md", | ||
"type": [ | ||
@@ -1753,3 +1775,3 @@ "boolean", | ||
"table-pipe-style": { | ||
"description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md055.md", | ||
"description": "MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md055.md", | ||
"type": [ | ||
@@ -1777,3 +1799,3 @@ "boolean", | ||
"MD056": { | ||
"description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md056.md", | ||
"description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md056.md", | ||
"type": "boolean", | ||
@@ -1783,3 +1805,3 @@ "default": true | ||
"table-column-count": { | ||
"description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md056.md", | ||
"description": "MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md056.md", | ||
"type": "boolean", | ||
@@ -1789,3 +1811,3 @@ "default": true | ||
"MD058": { | ||
"description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md058.md", | ||
"description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md058.md", | ||
"type": "boolean", | ||
@@ -1795,3 +1817,3 @@ "default": true | ||
"blanks-around-tables": { | ||
"description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md058.md", | ||
"description": "MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md058.md", | ||
"type": "boolean", | ||
@@ -1798,0 +1820,0 @@ "default": true |
134886
1.21%3144
0.9%492
0.2%26
8.33%+ Added
+ Added
- Removed
- Removed
Updated