Bug 1570772 - [lint] Add the root 'node_modules' to the GLOBAL_EXCLUDES list, r=sylvestre
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 13 Aug 2019 13:45:46 +0000
changeset 487655 e390027ffcc70096f686d0d57b6f8d34b6b8a21e
parent 487654 95cb06045cfc3329eee891324496bf34692f9b83
child 487656 ad6647c380c7fe812221b1bb0e0122a898296f62
push id36429
push userdvarga@mozilla.com
push dateTue, 13 Aug 2019 21:52:12 +0000
treeherdermozilla-central@eff8c62bdeb7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1570772
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1570772 - [lint] Add the root 'node_modules' to the GLOBAL_EXCLUDES list, r=sylvestre Depends on D41755 Differential Revision: https://phabricator.services.mozilla.com/D41756
tools/lint/mach_commands.py
--- a/tools/lint/mach_commands.py
+++ b/tools/lint/mach_commands.py
@@ -19,16 +19,17 @@ from mach.decorators import (
     CommandProvider,
     Command,
 )
 
 
 here = os.path.abspath(os.path.dirname(__file__))
 THIRD_PARTY_PATHS = os.path.join('tools', 'rewriting', 'ThirdPartyPaths.txt')
 GLOBAL_EXCLUDES = [
+    'node_modules',
     'tools/lint/test/files',
 ]
 
 
 def setup_argument_parser():
     from mozlint import cli
     return cli.MozlintParser()