Bug 1383318 - get rid of a dead `global` in eslint configuration.
MozReview-Commit-ID: 2SZyO8KSVD5
--- a/tools/lint/eslint/__init__.py
+++ b/tools/lint/eslint/__init__.py
@@ -29,17 +29,16 @@ eslint and needed plugins with:
mach eslint --setup
and try again.
""".strip()
def lint(paths, config, binary=None, fix=None, setup=None, **lintargs):
"""Run eslint."""
- global project_root
setup_helper.set_project_root(lintargs['root'])
module_path = setup_helper.get_project_root()
if not setup_helper.check_node_executables_valid():
return 1
if setup: