Skip to content

Commit

Permalink
fix: detect eslint flat config as disallowed files
Browse files Browse the repository at this point in the history
  • Loading branch information
ext committed Dec 28, 2023
1 parent 42a237f commit 811acaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/blacklist/eslint.ts
Expand Up @@ -4,6 +4,10 @@ const regexp: RegExp[] = [
directory(".eslintcache"),
filename(".eslintignore"),
rcfile(`.eslintrc`),
filename("eslint.config.js"),
filename("eslint.config.cjs"),
filename("eslint.config.mjs"),
filename("eslint.config.ts"),
];

export default regexp;

0 comments on commit 811acaf

Please sign in to comment.