From b57503625856a2e5ab57fcdad9d8d8b690c91960 Mon Sep 17 00:00:00 2001 From: im-vedant <194vedantgutpa@gmail.com> Date: Mon, 23 Dec 2024 04:45:32 +0530 Subject: [PATCH] excluded node_modules from eslint disable check --- .github/workflows/eslint_disable_check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/eslint_disable_check.py b/.github/workflows/eslint_disable_check.py index 135b3c19c2..78351d88d7 100644 --- a/.github/workflows/eslint_disable_check.py +++ b/.github/workflows/eslint_disable_check.py @@ -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")