Bug 1228628: Move all eslintignore rules to the top-level of the tree. r=mconley

This commit is contained in:
Dave Townsend
2015-11-27 09:39:59 -08:00
parent 5aecd67101
commit 8ccbdf748e
4 changed files with 159 additions and 48 deletions

View File

@@ -212,11 +212,10 @@ class MachCommands(MachCommandBase):
cmd_args = [binary,
'--ext', ext, # This keeps ext as a single argument.
] + args
# Path must come after arguments. Path is '.' due to cwd below.
cmd_args += ['.']
# Path must come after arguments.
cmd_args += [path]
return self.run_process(cmd_args,
cwd=path,
pass_thru=True, # Allow user to run eslint interactively.
ensure_exit_code=False, # Don't throw on non-zero exit code.
)