mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10: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
|
|
@ -12,7 +12,7 @@ const helpers = require("../helpers");
|
|||
const cache = require("./cache");
|
||||
|
||||
// @ts-ignore
|
||||
// eslint-disable-next-line camelcase, max-len, no-inline-comments, no-undef
|
||||
// eslint-disable-next-line camelcase, no-inline-comments, no-undef
|
||||
const dynamicRequire = (typeof __non_webpack_require__ === "undefined") ? require : /* c8 ignore next */ __non_webpack_require__;
|
||||
// Capture native require implementation for dynamic loading of modules
|
||||
|
||||
|
|
@ -604,7 +604,6 @@ function lintContent(
|
|||
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||
function throwError(property) {
|
||||
throw new Error(
|
||||
// eslint-disable-next-line max-len
|
||||
`Value of '${property}' passed to onError by '${ruleName}' is incorrect for '${name}'.`);
|
||||
}
|
||||
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ function convertHeadingToHTMLFragment(headingText) {
|
|||
inlineText
|
||||
.toLowerCase()
|
||||
// RegExp source with Ruby's \p{Word} expanded into its General Categories
|
||||
// eslint-disable-next-line max-len
|
||||
// https://github.com/gjtorikian/html-pipeline/blob/main/lib/html/pipeline/toc_filter.rb
|
||||
// https://ruby-doc.org/core-3.0.2/Regexp.html
|
||||
.replace(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue