Skip to content

Commit

Permalink
fix: ignore node_modules even if not in gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 31, 2023
1 parent 2ab02c6 commit a3324fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function disableProjectBasedRules() {
}
return entry.glob
})
ignore.push("./**/.git/**")
ignore.push("./**/.git/**", "./**/node_modules/**")

// check if there are any ts files
const hasTsFile = findOneFile(process.cwd(), tsFiles, ignore)
Expand Down

0 comments on commit a3324fc

Please sign in to comment.