Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Aug 29, 2024
1 parent a97716a commit 1ee1012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/checks/eslintConfigIsValid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export default async function eslintConfigIsValid() {
const eslintDisableOccurrences = [];

for await (const { path } of readdirp('.', {
directoryFilter: (dir) => !['.git', '.next', 'node_modules'].includes(dir.basename),
directoryFilter: (dir) =>
!['.git', '.next', 'node_modules'].includes(dir.basename),
fileFilter: (file) => /\.(?:js|jsx|ts|tsx)$/.test(file.basename),
})) {
const fileContents = await fs.readFile(path, 'utf-8');
Expand Down

0 comments on commit 1ee1012

Please sign in to comment.