mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Break coverage.
This commit is contained in:
parent
2fb2a66c49
commit
fb91bff141
1 changed files with 5 additions and 0 deletions
|
|
@ -12,8 +12,13 @@ const cache = require("./cache");
|
|||
|
||||
const deprecatedRuleNames = [ "MD002" ];
|
||||
|
||||
function bork() {}
|
||||
|
||||
// Validates the list of rules for structure and reuse
|
||||
function validateRuleList(ruleList) {
|
||||
if (ruleList.length > 100) {
|
||||
bork();
|
||||
}
|
||||
let result = null;
|
||||
if (ruleList.length === rules.length) {
|
||||
// No need to validate if only using built-in rules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue