mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Break lint.
This commit is contained in:
parent
2e761f8296
commit
38d65b0943
1 changed files with 1 additions and 5 deletions
|
|
@ -11,14 +11,10 @@ const helpers = require("../helpers");
|
|||
const cache = require("./cache");
|
||||
|
||||
const deprecatedRuleNames = [ "MD002" ];
|
||||
|
||||
function bork() {}
|
||||
const x = 5;
|
||||
|
||||
// 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