Move two instances of deprecatedRuleNames into constants.js.

This commit is contained in:
David Anson 2021-11-11 22:37:16 -08:00
parent 983e586c9c
commit 573ebe7462
4 changed files with 5 additions and 4 deletions

View file

@ -25,7 +25,7 @@ const pluginTexMathOptions = {
"renderToString": () => ""
}
};
const deprecatedRuleNames = new Set([ "MD002", "MD006" ]);
const deprecatedRuleNames = new Set(constants.deprecatedRuleNames);
const configSchemaStrict = {
...configSchema,
"additionalProperties": false