Bug 1347906 - Add .git/.hg to .eslintignore to help speed up full ESLint runs. r?jaws draft
authorMark Banner <standard8@mozilla.com>
Thu, 16 Mar 2017 12:42:49 +0000
changeset 499913 7c31101ddfa25b4ebf57ce89518db47ff0f21d95
parent 499512 ff04d410e74b69acfab17ef7e73e7397602d5a68
child 549517 c3684d91d9e24c88b28df1ffdf8c6ac26b9dce3f
push id49590
push userbmo:standard8@mozilla.com
push dateThu, 16 Mar 2017 12:43:22 +0000
reviewersjaws
bugs1347906
milestone55.0a1
Bug 1347906 - Add .git/.hg to .eslintignore to help speed up full ESLint runs. r?jaws MozReview-Commit-ID: 5SmHyfhlCbC
.eslintignore
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,11 +1,15 @@
 # Always ignore node_modules.
 **/node_modules/**/*.*
 
+# Include these to speed up ESLint, see bug 1347906.
+.hg
+.git
+
 # Exclude expected objdirs.
 obj*/**
 
 # We ignore all these directories by default, until we get them enabled.
 # If you are enabling a directory, please add directory specific exclusions
 # below.
 addon-sdk/**
 build/**