mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
482f8a956c
There is currently no built-in user interface to mozlint. The only existing interface is the external cli provided by |mach lint|. However, in the future mozlint may need to be used in a context where mach isn't readily available (i.e version-control-tools). This patch basically just moves the cli logic out of mach_commands.py, and into mozlint core. That way it can be re-used in other places without needing to be re-implemented. The |mach lint setup| subcommand was removed because apparently subcommands don't work with the parser attribute. Nothing was using it yet anyway, so I removed it for now. It may get re-added in some form in the future. MozReview-Commit-ID: aOGp2Yrncs --HG-- extra : rebase_source : 8f7530de96e5c131d2ed5bfcdd7a159329401e5b |
||
---|---|---|
.. | ||
docs | ||
eslint | ||
eslint-formatter.js | ||
flake8.lint | ||
mach_commands.py | ||
wpt.lint |