gecko-dev/tools/lint
Kris Maglione b78186b970 Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : rebase_source : feca0a0ed339420ea19faa1f6614e6253f0c840e
extra : absorb_source : d32d3d23fbd2c7dcae082375a1f9a61766b04b75
extra : histedit_source : 83cebb4f3eb66a79d38ee5412a5739d0c603425b
2018-01-18 12:53:01 -08:00
..
docs Bug 1431452 - Fix formatting of ESLint's docs. r=mossop 2018-01-18 16:33:28 +00:00
eslint Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian 2018-01-18 12:53:01 -08:00
python Bug 1398765 - Fix directory exclusion bug in py-compat linters, r=gps 2017-09-11 09:03:53 -04:00
shell Bug 1432517 Add shellcheck support for mach lint r=ahal 2018-01-23 16:32:04 +00:00
tox Bug 1302773 - Install tox in docker image in MozReview; r=dustin 2017-05-13 02:31:37 +05:30
wpt Bug 1428585 - Fixup flake8 error, r=me ON A CLOSED TREE 2018-01-09 15:47:06 +00:00
yamllint_ Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
eslint.yml Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8 2018-01-09 20:03:58 -05:00
flake8.yml Bug 1430316: Lint the mozharness configs; r=jlund 2018-01-12 16:54:17 -07:00
hooks.py Bug 1386351 - Let the Lint hook default to pre-push (for git) if being called directly. r=glandium 2017-11-23 09:09:33 +00:00
mach_commands.py Bug 1384273 - Get lint root dir from mach; r=ahal 2017-07-22 01:28:34 -06:00
py2.yml Bug 1407763 - Enable py2 and py3 compat linters for testing/marionette. r=ahal 2018-01-17 16:14:43 +01:00
py3.yml Bug 1407763 - Enable py2 and py3 compat linters for testing/marionette. r=ahal 2018-01-17 16:14:43 +01:00
shellcheck.yml Bug 1432517 Add shellcheck support for mach lint r=ahal 2018-01-23 16:32:04 +00:00
test-disable.yml Bug 1392787 - Add a linter to prevent comment-disabling tests in manifestparser manifests, r=jmaher 2017-08-23 09:33:18 -04:00
wpt_manifest.yml Bug 1387862 - Lint the linter config yaml files themselves. r=ahal 2017-08-06 13:47:03 -04:00
wpt.yml Bug 1387862 - Lint the linter config yaml files themselves. r=ahal 2017-08-06 13:47:03 -04:00
yaml.yml Bug 1387862 - Lint the linter config yaml files themselves. r=ahal 2017-08-06 13:47:03 -04:00