1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

chore: update ESLint to v9 and switch to flat config (#2001)

This commit is contained in:
XhmikosR
2024-05-26 15:22:23 +03:00
committed by GitHub
parent 83bfee4768
commit 4daaa4251f
9 changed files with 155 additions and 152 deletions

View File

@ -34,7 +34,7 @@ export const loadConfig = async (configFile, cwd = process.cwd()) => {
}
}
let dir = cwd;
// eslint-disable-next-line no-constant-condition
while (true) {
const js = path.join(dir, 'svgo.config.js');
if (await isFile(js)) {