mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Remove deprecated ESLint rules after version update.
This commit is contained in:
parent
760055e129
commit
3b1dfe42df
10 changed files with 8 additions and 57 deletions
|
|
@ -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")
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue