From 2a0e9dbf6eb741192917f51f9be016a98ea18906 Mon Sep 17 00:00:00 2001 From: Ramon Fernandez Date: Fri, 26 Aug 2016 16:54:42 -0400 Subject: [PATCH] Revert "SERVER-25814 Do not lint the js files in the tools import" This reverts commit e9ad3d5d40aedc9ccd607c00dc0e98a859e55147. --- .eslintignore | 1 - buildscripts/clang_format.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index a1ded284b11..00000000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -src/mongo/gotools/* diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py index ce6ea8538e8..0e9cb7e7416 100755 --- a/buildscripts/clang_format.py +++ b/buildscripts/clang_format.py @@ -500,8 +500,7 @@ class Repo(object): file_list = [line.rstrip() for line in gito.splitlines() if (line.startswith("jstests") or line.startswith("src")) - and not line.startswith("src/third_party/") - and not line.startswith("src/mongo/gotools/")] + and not line.startswith("src/third_party")] files_match = re.compile('\\.(h|cpp|js)$')