Update and simplify .eslintrc.json.

This commit is contained in:
David Anson 2024-01-03 22:12:23 -08:00
parent a4ff6061b3
commit 0ddbffdecf
5 changed files with 9 additions and 104 deletions

View file

@ -2926,7 +2926,6 @@ function readConfig(file, parsers, fs, callback) {
}
// Read file
file = helpers.expandTildePath(file, __webpack_require__(/*! node:os */ "?e6c4"));
// eslint-disable-next-line n/prefer-promises/fs
fs.readFile(file, "utf8", function (err, content) {
if (err) {
// @ts-ignore
@ -3540,6 +3539,7 @@ module.exports = {
while (current = getTokenParentOfType(current, unorderedParentTypes)) {
if (current.type === "listUnordered") {
nesting++;
// eslint-disable-next-line no-continue
continue;
} else if (current.type === "listOrdered") {
nesting = -1;