Skip to content

Commit

Permalink
excluded node_modules from eslint disable check
Browse files Browse the repository at this point in the history
  • Loading branch information
im-vedant committed Dec 22, 2024
1 parent 7d26173 commit b575036
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/eslint_disable_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def check_eslint(directories):
)
sys.exit(1)
for root, _, files in os.walk(directory):
if "node_modules" in root:
continue
for file_name in files:
if (
file_name.endswith(".tsx")
Expand Down

0 comments on commit b575036

Please sign in to comment.