mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Compare commits
2 commits
48c0d8da8c
...
7563a86553
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7563a86553 | ||
![]() |
02a54a2b66 |
21 changed files with 7855 additions and 3805 deletions
12
README.md
12
README.md
|
@ -888,7 +888,8 @@ All of which return an object like:
|
|||
"errorDetail": "Column: 17",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 17, 1 ],
|
||||
"fixInfo": { "editColumn": 17, "deleteCount": 1, "insertText": ' ' } }
|
||||
"fixInfo": { "editColumn": 17, "deleteCount": 1, "insertText": " " },
|
||||
"severity": "error" },
|
||||
{ "lineNumber": 1,
|
||||
"ruleNames": [ "MD018", "no-missing-space-atx" ],
|
||||
"ruleDescription": "No space after hash on atx style heading",
|
||||
|
@ -896,7 +897,8 @@ All of which return an object like:
|
|||
"errorDetail": null,
|
||||
"errorContext": "#bad.md",
|
||||
"errorRange": [ 1, 2 ],
|
||||
"fixInfo": { "editColumn": 2, "insertText": ' ' } }
|
||||
"fixInfo": { "editColumn": 2, "insertText": " " },
|
||||
"severity": "error" },
|
||||
{ "lineNumber": 3,
|
||||
"ruleNames": [ "MD018", "no-missing-space-atx" ],
|
||||
"ruleDescription": "No space after hash on atx style heading",
|
||||
|
@ -904,7 +906,8 @@ All of which return an object like:
|
|||
"errorDetail": null,
|
||||
"errorContext": "#This file fails\tsome rules.",
|
||||
"errorRange": [ 1, 2 ],
|
||||
"fixInfo": { "editColumn": 2, "insertText": ' ' } }
|
||||
"fixInfo": { "editColumn": 2, "insertText": " " },
|
||||
"severity": "error" },
|
||||
{ "lineNumber": 1,
|
||||
"ruleNames": [ "MD041", "first-line-heading", "first-line-h1" ],
|
||||
"ruleDescription": "First line in a file should be a top-level heading",
|
||||
|
@ -912,7 +915,8 @@ All of which return an object like:
|
|||
"errorDetail": null,
|
||||
"errorContext": "#bad.md",
|
||||
"errorRange": null,
|
||||
"fixInfo": null }
|
||||
"fixInfo": null,
|
||||
"severity": "error" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
|
|
@ -61,13 +61,14 @@ for (const rule of rules) {
|
|||
""
|
||||
);
|
||||
const ruleData = schema.properties[name];
|
||||
if (ruleData.properties) {
|
||||
const ruleProperties = ruleData.oneOf.at(-1).properties;
|
||||
if (ruleProperties) {
|
||||
section.push(
|
||||
"Parameters:",
|
||||
""
|
||||
);
|
||||
for (const property of Object.keys(ruleData.properties).toSorted()) {
|
||||
const propData = ruleData.properties[property];
|
||||
for (const property of Object.keys(ruleProperties).toSorted()) {
|
||||
const propData = ruleProperties[property];
|
||||
const propType = [ propData.type ]
|
||||
.flat()
|
||||
.map((type) => ((type === "array") ? `${propData.items.type}[]` : type))
|
||||
|
|
|
@ -59,7 +59,8 @@ function assertLintResults(results: LintResults) {
|
|||
"editColumn": 1,
|
||||
"deleteCount": 1,
|
||||
"insertText": "text"
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
@ -556,6 +556,8 @@ function convertLintErrorsVersion3To2(errors) {
|
|||
return errors.filter((error, index, array) => {
|
||||
// @ts-ignore
|
||||
delete error.fixInfo;
|
||||
// @ts-ignore
|
||||
delete error.severity;
|
||||
const previous = array[index - 1] || noPrevious;
|
||||
return (
|
||||
(error.ruleNames[0] !== previous.ruleNames[0]) ||
|
||||
|
@ -660,7 +662,7 @@ module.exports.formatLintResults = function formatLintResults(lintResults) {
|
|||
entries.sort((a, b) => a[0].localeCompare(b[0]));
|
||||
for (const [ source, lintErrors ] of entries) {
|
||||
for (const lintError of lintErrors) {
|
||||
const { lineNumber, ruleNames, ruleDescription, errorDetail, errorContext, errorRange } = lintError;
|
||||
const { lineNumber, ruleNames, ruleDescription, errorDetail, errorContext, errorRange, severity } = lintError;
|
||||
const rule = ruleNames.join("/");
|
||||
const line = `:${lineNumber}`;
|
||||
const rangeStart = (errorRange && errorRange[0]) || 0;
|
||||
|
@ -668,7 +670,7 @@ module.exports.formatLintResults = function formatLintResults(lintResults) {
|
|||
const description = ruleDescription;
|
||||
const detail = (errorDetail ? ` [${errorDetail}]` : "");
|
||||
const context = (errorContext ? ` [Context: "${errorContext}"]` : "");
|
||||
results.push(`${source}${line}${column} ${rule} ${description}${detail}${context}`);
|
||||
results.push(`${source}${line}${column} ${severity} ${rule} ${description}${detail}${context}`);
|
||||
}
|
||||
}
|
||||
return results;
|
||||
|
|
|
@ -463,6 +463,10 @@ export type LintError = {
|
|||
* Fix information.
|
||||
*/
|
||||
fixInfo: FixInfo | null;
|
||||
/**
|
||||
* Severity of the error.
|
||||
*/
|
||||
severity: "error" | "warning";
|
||||
};
|
||||
/**
|
||||
* Fix information.
|
||||
|
|
|
@ -637,7 +637,8 @@ function lintContent(
|
|||
"errorDetail": errorInfo.detail?.replace(helpers.newLineRe, " ") || null,
|
||||
"errorContext": errorInfo.context?.replace(helpers.newLineRe, " ") || null,
|
||||
"errorRange": errorInfo.range ? [ ...errorInfo.range ] : null,
|
||||
"fixInfo": fixInfo ? cleanFixInfo : null
|
||||
"fixInfo": fixInfo ? cleanFixInfo : null,
|
||||
"severity": "error"
|
||||
});
|
||||
}
|
||||
// Call (possibly external) rule function to report errors
|
||||
|
@ -1501,6 +1502,7 @@ export function getVersion() {
|
|||
* @property {string} errorContext Context for the error.
|
||||
* @property {number[]|null} errorRange Column number (1-based) and length.
|
||||
* @property {FixInfo|null} fixInfo Fix information.
|
||||
* @property {"error" | "warning"} severity Severity of the error.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,11 +12,12 @@ for (const rule in configSchema.properties) {
|
|||
const properties = configSchema.properties[rule];
|
||||
configExample[rule + "-description"] = properties.description;
|
||||
configExample[rule] = properties.default;
|
||||
if (properties.properties) {
|
||||
const subproperties = properties.oneOf?.at(-1).properties;
|
||||
if (subproperties) {
|
||||
const ruleExample = {};
|
||||
// eslint-disable-next-line guard-for-in
|
||||
for (const property in properties.properties) {
|
||||
const ruleProperties = properties.properties[property];
|
||||
for (const property in subproperties) {
|
||||
const ruleProperties = subproperties[property];
|
||||
ruleExample[property + "-sub-description"] = ruleProperties.description;
|
||||
ruleExample[property] = ruleProperties.default;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,10 @@ const schema = {
|
|||
},
|
||||
"default": {
|
||||
"description": "Default state for all rules",
|
||||
"type": "boolean",
|
||||
"oneOf": [
|
||||
{ "type": "boolean" }
|
||||
// { "enum": [ "error", "warning" ] }
|
||||
],
|
||||
"default": true
|
||||
},
|
||||
"extends": {
|
||||
|
@ -59,13 +62,20 @@ for (const rule of rules) {
|
|||
const scheme = {
|
||||
"description":
|
||||
`${rule.names.join("/")} : ${rule.description} : ${rule.information}`,
|
||||
"type": "boolean",
|
||||
"oneOf": [
|
||||
{ "type": "boolean" }
|
||||
// { "enum": [ "error", "warning" ] }
|
||||
],
|
||||
"default": true
|
||||
};
|
||||
const subscheme = {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
};
|
||||
let custom = true;
|
||||
switch (ruleName) {
|
||||
case "MD001":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"front_matter_title": {
|
||||
"description": "RegExp for matching title in front matter",
|
||||
"type": "string",
|
||||
|
@ -74,7 +84,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD003":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Heading style",
|
||||
"type": "string",
|
||||
|
@ -91,7 +101,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD004":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "List style",
|
||||
"type": "string",
|
||||
|
@ -107,7 +117,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD007":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"indent": {
|
||||
"description": "Spaces for indent",
|
||||
"type": "integer",
|
||||
|
@ -129,7 +139,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD009":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"br_spaces": {
|
||||
"description": "Spaces for line break",
|
||||
"type": "integer",
|
||||
|
@ -149,7 +159,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD010":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"code_blocks": {
|
||||
"description": "Include code blocks",
|
||||
"type": "boolean",
|
||||
|
@ -172,7 +182,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD012":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"maximum": {
|
||||
"description": "Consecutive blank lines",
|
||||
"type": "integer",
|
||||
|
@ -182,7 +192,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD013":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"line_length": {
|
||||
"description": "Number of characters",
|
||||
"type": "integer",
|
||||
|
@ -229,7 +239,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD022":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"lines_above": {
|
||||
"description": "Blank lines above heading",
|
||||
"type": [
|
||||
|
@ -257,7 +267,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD024":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"siblings_only": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
|
@ -267,7 +277,7 @@ for (const rule of rules) {
|
|||
break;
|
||||
case "MD026":
|
||||
case "MD036":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"punctuation": {
|
||||
"description": "Punctuation characters",
|
||||
"type": "string",
|
||||
|
@ -276,7 +286,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD027":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"list_items": {
|
||||
"description": "Include list items",
|
||||
"type": "boolean",
|
||||
|
@ -285,7 +295,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD029":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "List style",
|
||||
"type": "string",
|
||||
|
@ -300,7 +310,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD030":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"ul_single": {
|
||||
"description": "Spaces for single-line unordered list items",
|
||||
"type": "integer",
|
||||
|
@ -328,7 +338,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD031":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"list_items": {
|
||||
"description": "Include list items",
|
||||
"type": "boolean",
|
||||
|
@ -337,7 +347,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD033":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"allowed_elements": {
|
||||
"description": "Allowed elements",
|
||||
"type": "array",
|
||||
|
@ -357,7 +367,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD035":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Horizontal rule style",
|
||||
"type": "string",
|
||||
|
@ -366,7 +376,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD040":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"allowed_languages": {
|
||||
"description": "List of languages",
|
||||
"type": "array",
|
||||
|
@ -394,7 +404,7 @@ for (const rule of rules) {
|
|||
}
|
||||
} :
|
||||
{};
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
...md041Properties,
|
||||
"front_matter_title": {
|
||||
"description": "RegExp for matching title in front matter",
|
||||
|
@ -412,7 +422,7 @@ for (const rule of rules) {
|
|||
}
|
||||
break;
|
||||
case "MD043":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"headings": {
|
||||
"description": "List of headings",
|
||||
"type": "array",
|
||||
|
@ -430,7 +440,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD044":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"names": {
|
||||
"description": "List of proper names",
|
||||
"type": "array",
|
||||
|
@ -452,7 +462,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD046":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Block style",
|
||||
"type": "string",
|
||||
|
@ -466,7 +476,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD048":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Code fence style",
|
||||
"type": "string",
|
||||
|
@ -481,7 +491,7 @@ for (const rule of rules) {
|
|||
break;
|
||||
case "MD049":
|
||||
case "MD050":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": (ruleName === "MD049") ? "Emphasis style" : "Strong style",
|
||||
"type": "string",
|
||||
|
@ -495,7 +505,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD051":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"ignore_case": {
|
||||
"description": "Ignore case of fragments",
|
||||
"type": "boolean",
|
||||
|
@ -509,7 +519,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD052":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"ignored_labels": {
|
||||
"description": "Ignored link labels",
|
||||
"type": "array",
|
||||
|
@ -526,7 +536,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD053":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"ignored_definitions": {
|
||||
"description": "Ignored definitions",
|
||||
"type": "array",
|
||||
|
@ -538,7 +548,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD054":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"autolink": {
|
||||
"description": "Allow autolinks",
|
||||
"type": "boolean",
|
||||
|
@ -572,7 +582,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD055":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Table pipe style",
|
||||
"type": "string",
|
||||
|
@ -588,7 +598,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD059":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"prohibited_texts": {
|
||||
"description": "Prohibited link texts",
|
||||
"type": "array",
|
||||
|
@ -605,7 +615,7 @@ for (const rule of rules) {
|
|||
};
|
||||
break;
|
||||
case "MD060":
|
||||
scheme.properties = {
|
||||
subscheme.properties = {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
|
@ -624,9 +634,7 @@ for (const rule of rules) {
|
|||
break;
|
||||
}
|
||||
if (custom) {
|
||||
// @ts-ignore
|
||||
scheme.type = [ "boolean", "object" ];
|
||||
scheme.additionalProperties = false;
|
||||
scheme.oneOf.push(subscheme);
|
||||
}
|
||||
for (const name of rule.names) {
|
||||
schema.properties[name] = scheme;
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -970,7 +970,8 @@ test("customRulesDefinitionStatic", (t) => new Promise((resolve) => {
|
|||
"errorDetail": null,
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1428,7 +1429,8 @@ test("customRulesOnErrorLazy", (t) => new Promise((resolve) => {
|
|||
"errorDetail": null,
|
||||
"errorContext": null,
|
||||
"errorRange": [ 1, 1 ],
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1492,7 +1494,8 @@ test("customRulesOnErrorModified", (t) => new Promise((resolve) => {
|
|||
"editColumn": 1,
|
||||
"deleteCount": 2,
|
||||
"insertText": "text"
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1535,7 +1538,8 @@ test("customRulesOnErrorInvalidHandled", (t) => new Promise((resolve) => {
|
|||
"Value of 'lineNumber' passed to onError by 'NAME' is incorrect for 'string'.",
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1578,7 +1582,8 @@ test("customRulesOnErrorInvalidHandledSync", (t) => {
|
|||
"Value of 'lineNumber' passed to onError by 'NAME' is incorrect for 'string'.",
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1895,7 +1900,8 @@ test("customRulesLintJavaScript", (t) => new Promise((resolve) => {
|
|||
"errorDetail": "'console' is not defined.",
|
||||
"errorContext": "console.log(x);",
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -1923,7 +1929,8 @@ test("customRulesValidateJson", (t) => new Promise((resolve) => {
|
|||
"ruleInformation": null,
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -2143,7 +2150,8 @@ test("customRulesAsyncReadFiles", (t) => {
|
|||
"fixInfo": {
|
||||
"editColumn": 10,
|
||||
"insertText": "\n"
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 1,
|
||||
|
@ -2153,7 +2161,8 @@ test("customRulesAsyncReadFiles", (t) => {
|
|||
"errorDetail": "detail1",
|
||||
"errorContext": "context1",
|
||||
"errorRange": [ 2, 3 ],
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 1,
|
||||
|
@ -2163,7 +2172,8 @@ test("customRulesAsyncReadFiles", (t) => {
|
|||
"errorDetail": "detail2",
|
||||
"errorContext": "context2",
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -2214,7 +2224,8 @@ test("customRulesAsyncIgnoresSyncReturn", (t) => {
|
|||
"errorDetail": null,
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 1,
|
||||
|
@ -2227,7 +2238,8 @@ test("customRulesAsyncIgnoresSyncReturn", (t) => {
|
|||
"fixInfo": {
|
||||
"editColumn": 10,
|
||||
"insertText": "\n"
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -2285,7 +2297,8 @@ for (const flavor of [
|
|||
"errorDetail": `This rule threw an exception: ${errorMessage}`,
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -2455,7 +2468,8 @@ for (const flavor of [
|
|||
"errorDetail": `This rule threw an exception: ${errorMessage}`,
|
||||
"errorContext": null,
|
||||
"errorRange": null,
|
||||
"fixInfo": null
|
||||
"fixInfo": null,
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
@ -537,10 +537,10 @@ test("formatLintResults", async(t) => {
|
|||
t.deepEqual(
|
||||
formatLintResults(lintResults),
|
||||
[
|
||||
"content:1:3 MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: \"# Heading\"]",
|
||||
"content:1 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: \"# Heading\"]",
|
||||
"content:2:1 MD033/no-inline-html Inline HTML [Element: br]",
|
||||
"content:2:5 MD047/single-trailing-newline Files should end with a single newline character"
|
||||
"content:1:3 error MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading [Context: \"# Heading\"]",
|
||||
"content:1 error MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: \"# Heading\"]",
|
||||
"content:2:1 error MD033/no-inline-html Inline HTML [Element: br]",
|
||||
"content:2:5 error MD047/single-trailing-newline Files should end with a single newline character"
|
||||
]
|
||||
);
|
||||
});
|
||||
|
|
|
@ -370,7 +370,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"fixInfo": {
|
||||
"editColumn": 10,
|
||||
"deleteCount": 3
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 3,
|
||||
|
@ -384,7 +385,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"editColumn": 5,
|
||||
"deleteCount": 1,
|
||||
"insertText": " "
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 3,
|
||||
|
@ -398,7 +400,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"editColumn": 10,
|
||||
"deleteCount": 2,
|
||||
"insertText": " "
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 4,
|
||||
|
@ -411,7 +414,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"fixInfo": {
|
||||
"editColumn": 7,
|
||||
"deleteCount": 1
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 4,
|
||||
|
@ -424,7 +428,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"fixInfo": {
|
||||
"editColumn": 16,
|
||||
"deleteCount": 1
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 4,
|
||||
|
@ -437,7 +442,8 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"fixInfo": {
|
||||
"insertText": "\n",
|
||||
"editColumn": 23
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -568,7 +574,8 @@ test("manyPerLineResultVersion3", (t) => new Promise((resolve) => {
|
|||
"editColumn": 10,
|
||||
"deleteCount": 1,
|
||||
"insertText": " "
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"lineNumber": 1,
|
||||
|
@ -583,7 +590,8 @@ test("manyPerLineResultVersion3", (t) => new Promise((resolve) => {
|
|||
"editColumn": 18,
|
||||
"deleteCount": 2,
|
||||
"insertText": " "
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
@ -617,7 +625,8 @@ test("frontMatterResultVersion3", (t) => new Promise((resolve) => {
|
|||
"fixInfo": {
|
||||
"lineNumber": 4,
|
||||
"insertText": "\n"
|
||||
}
|
||||
},
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
@ -8,13 +8,13 @@ Generated by [AVA](https://avajs.dev).
|
|||
|
||||
> Expected linting violations
|
||||
|
||||
`test-repos/dotnet-docs/README.md:21:383 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊
|
||||
test-repos/dotnet-docs/README.md:39:451 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:21:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:22:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:23:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:24:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:25:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:26:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:27:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:17:252 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]`
|
||||
`test-repos/dotnet-docs/README.md:21:383 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊
|
||||
test-repos/dotnet-docs/README.md:39:451 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:21:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:22:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:23:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:24:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:25:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:26:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:27:1 error MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]␊
|
||||
test-repos/dotnet-docs/SECURITY.md:17:252 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]`
|
||||
|
|
Binary file not shown.
|
@ -8,71 +8,71 @@ Generated by [AVA](https://avajs.dev).
|
|||
|
||||
> Expected linting violations
|
||||
|
||||
`test-repos/mdn-content/files/en-us/glossary/denial_of_service/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/flex/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/function/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/https_rr/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/parameter/index.md:31 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/prefetch/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/session_hijacking/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/time_to_interactive/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h4]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/truthy/index.md:30 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/xhtml/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/xlink/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/learn_web_development/howto/solve_html_problems/index.md:11 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/contact_us/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/externally_connectable/index.md:53 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/host_permissions/index.md:39 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/1.5/what_s_new_in_1.5_alpha/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/dom_improvements/index.md:20 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/full_page_zoom/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/notable_bugs_fixed/index.md:26 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/templates/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/xul_improvements_in_firefox_3/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/accessibility/aria/how_to/file_aria-related_bugs/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/canvasrenderingcontext2d/save/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/expectedimprovement/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/presentationarea/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/fetchevent/respondwith/index.md:30 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/htmlelement/dataset/index.md:40 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/htmlelement/editcontext/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/reportbody/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/bytesdiscardedonsend/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/consentrequestssent/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsdiscardedonsend/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsreceived/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetssent/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/foundation/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/priority/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/usernamefragment/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcrtpreceiver/transform/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcrtpsender/transform/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/texttrack/mode/index.md:21 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/css_selectors/selector_structure/index.md:14 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/font-variant-caps/index.md:54 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/crossorigin/index.md:63 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/maxlength/index.md:18 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/required/index.md:26 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/elements/input/time/index.md:43 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/data-_star_/index.md:73 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/itemscope/index.md:19 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/display_override/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/file_handlers/index.md:22 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/launch_handler/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/note_taking/index.md:15 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/protocol_handlers/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/serviceworker/index.md:16 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/share_target/index.md:20 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/app_structure/index.md:17 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/guides/namespaces_crash_course/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/guides/scripting/index.md:13 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/tutorials/svg_from_scratch/other_content_in_svg/index.md:12 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/webdriver/reference/capabilities/firefoxoptions/index.md:18 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h5]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xpath/guides/snippets/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/guides/common_errors/index.md:8 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/guides/pi_parameters/index.md:8 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/reference/element/stylesheet/index.md:10 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/webassembly/guides/existing_c_to_wasm/index.md:66 MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]`
|
||||
`test-repos/mdn-content/files/en-us/glossary/denial_of_service/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/flex/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/function/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/https_rr/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/parameter/index.md:31 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/prefetch/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/session_hijacking/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/time_to_interactive/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h4]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/truthy/index.md:30 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/xhtml/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/glossary/xlink/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/learn_web_development/howto/solve_html_problems/index.md:11 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/contact_us/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/externally_connectable/index.md:53 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/host_permissions/index.md:39 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/1.5/what_s_new_in_1.5_alpha/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/dom_improvements/index.md:20 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/full_page_zoom/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/notable_bugs_fixed/index.md:26 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/templates/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/mozilla/firefox/releases/3/xul_improvements_in_firefox_3/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/accessibility/aria/how_to/file_aria-related_bugs/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/canvasrenderingcontext2d/save/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/expectedimprovement/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/delegatedinktrailpresenter/presentationarea/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/fetchevent/respondwith/index.md:30 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/htmlelement/dataset/index.md:40 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/htmlelement/editcontext/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/reportbody/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/bytesdiscardedonsend/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/consentrequestssent/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsdiscardedonsend/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetsreceived/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatepairstats/packetssent/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/foundation/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/priority/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcicecandidatestats/usernamefragment/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcrtpreceiver/transform/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/rtcrtpsender/transform/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/texttrack/mode/index.md:21 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/css_selectors/selector_structure/index.md:14 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/css/font-variant-caps/index.md:54 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/crossorigin/index.md:63 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/maxlength/index.md:18 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/attributes/required/index.md:26 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/elements/input/time/index.md:43 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/data-_star_/index.md:73 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/html/reference/global_attributes/itemscope/index.md:19 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/display_override/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/file_handlers/index.md:22 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/launch_handler/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/note_taking/index.md:15 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/protocol_handlers/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/serviceworker/index.md:16 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/manifest/reference/share_target/index.md:20 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/app_structure/index.md:17 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/guides/namespaces_crash_course/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/guides/scripting/index.md:13 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/svg/tutorials/svg_from_scratch/other_content_in_svg/index.md:12 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/webdriver/reference/capabilities/firefoxoptions/index.md:18 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h5]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xpath/guides/snippets/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/guides/common_errors/index.md:8 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/guides/pi_parameters/index.md:8 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/web/xml/xslt/reference/element/stylesheet/index.md:10 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]␊
|
||||
test-repos/mdn-content/files/en-us/webassembly/guides/existing_c_to_wasm/index.md:66 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]`
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue