mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue