Remove deprecated ESLint rules after version update.

This commit is contained in:
David Anson 2023-11-05 20:13:12 -08:00
parent 760055e129
commit 3b1dfe42df
10 changed files with 8 additions and 57 deletions

View file

@ -28,12 +28,9 @@ for (const rule in configSchema.properties) {
const transformComments = (input, commentPrefix) => (
commentPrefix +
// eslint-disable-next-line max-len
" Example markdownlint configuration with all properties set to their default value\n" +
input
// eslint-disable-next-line max-len
.replace(/^(\s*)[^-\s]+-sub-description"?: "?([^"\n]+)"?,?$/gm, "$1" + commentPrefix + " $2")
// eslint-disable-next-line max-len
.replace(/^(\s*)[^-\s]+-description"?: "?([^"\n]+)"?,?$/gm, "\n$1" + commentPrefix + " $2")
);