summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2016-08-26 16:54:42 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-08-26 16:58:13 -0400
commit2a0e9dbf6eb741192917f51f9be016a98ea18906 (patch)
treeca66b4ede8dc2a6b8e55d611038ddc8c72b2e5c4
parent6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af (diff)
downloadmongo-2a0e9dbf6eb741192917f51f9be016a98ea18906.tar.gz
Revert "SERVER-25814 Do not lint the js files in the tools import"
This reverts commit e9ad3d5d40aedc9ccd607c00dc0e98a859e55147.
-rw-r--r--.eslintignore1
-rwxr-xr-xbuildscripts/clang_format.py3
2 files changed, 1 insertions, 3 deletions
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)$')