Break coverage.

This commit is contained in:
David Anson 2019-06-01 14:03:46 -07:00
parent 2fb2a66c49
commit fb91bff141

View file

@ -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