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

@ -1177,7 +1177,6 @@ function readConfig(file, parsers, fs, callback) {
}
// Read file
file = helpers.expandTildePath(file, require("node:os"));
// eslint-disable-next-line n/prefer-promises/fs
fs.readFile(file, "utf8", (err, content) => {
if (err) {
// @ts-ignore