Mark Banner
ea6c3b2e37
Bug 1456762 - Add parsing of HTML files to ESLint to discover their script tags and the globals that are imported. r=mossop
...
MozReview-Commit-ID: 6jiEbZnyv6e
Differential Revision: https://phabricator.services.mozilla.com/D1643
2018-06-16 08:20:38 +00:00
Kris Maglione
8e2ebd7698
Bug 1456686: Part 2 - Update ESLint plugin to treat explicit imports as real variable definitions. r=standard8
...
This has the effect of exposing explicit imports (e.g., defineModuleGetter),
but not implicit imports (e.g., Cu.import), to rules like no-unused-vars and
no-shadow.
MozReview-Commit-ID: C8oXoSKMU1s
2018-04-24 20:17:12 -07:00
Mark Banner
d30cec486b
Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
...
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.
MozReview-Commit-ID: 6wLY7Oj0am3
2018-03-05 10:34:38 +00:00
Mark Banner
a6a3398f4b
Bug 1382647 - Improve eslint-plugin-mozilla's performance when searching for globals by avoiding rebuilding source when we don't need to. r=mossop
...
MozReview-Commit-ID: 84uHuepWhZR
2017-07-18 22:23:58 +01:00
Mark Banner
0c297e6ed9
Bug 1375418 - Add eslint 4 support to eslint-plugin-mozilla. r=mossop
...
Change how comments are handled due to ESLint's 4 reworked comment handling.
MozReview-Commit-ID: BG4cvbhy45Z
2017-06-21 15:06:04 +01:00
Mark Banner
794d601fad
Bug 1365555 - eslint-plugin-mozilla fails when used with babel-eslint, provide an addition argument for the options. r=florian
...
MozReview-Commit-ID: 1L3Ysj31gfL
2017-05-17 11:34:26 +01:00
Mark Banner
2df8b77773
Bug 1347709 - Allow modules.json to be loaded from a local version for out-of-tree uses of eslint-plugin-mozilla. r=mossop
...
MozReview-Commit-ID: 7RzAUqNJQ15
2017-04-13 12:03:30 +01:00
Mark Banner
65e864120b
Bug 1355778 - Manual fix of ESLint issues in eslint-plugin-* due to the rule changes. r=mossop
...
MozReview-Commit-ID: Ieh4qkSORjW
2017-04-12 12:19:14 +01:00
Mark Banner
dce9b9f795
Bug 1355778 - Autofix ESLint issues in eslint-plugin-* due to the rule changes. r=mossop
...
MozReview-Commit-ID: AGnEkeNuxhx
2017-04-12 12:15:13 +01:00
Mark Banner
9bb6146a83
Bug 1344027 - Move eslint-plugin-mozilla's .eslintrc.js file so that all of the plugin is linted, and fix the resulting issues. r=mossop
...
MozReview-Commit-ID: POYhxkeOaw
2017-03-03 10:17:54 +00:00
Mark Banner
e21fc78563
Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
...
MozReview-Commit-ID: BERAbtYkxsF
2017-02-22 10:19:11 +00:00
Mark Banner
3d5cf8ade7
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Carsten "Tomcat" Book
e03a98e408
Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul
2017-02-15 15:24:32 +01:00
Mark Banner
fcc130aa4e
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Mark Banner
c29aa91bab
Bug 1330545 - [eslint] Handle importScripts in workers for determining global variables. r=mossop
...
MozReview-Commit-ID: 6NkcAcaNjur
2017-01-05 07:31:13 +00:00
Mark Banner
545ce6cb35
Bug 1325374 - Specify more globals in browser.js/nsBrowserGlue.js, and start fixing up some of places. r=mossop
...
MozReview-Commit-ID: C22lTfaUzHB
2016-12-22 12:14:05 +00:00
Dave Townsend
8eedc05056
Bug 1312355: Use a fixed lookup table for variables imported from JS modules. r=standard8
...
MozReview-Commit-ID: EhKhBvAAlXd
2016-11-01 12:24:04 -07:00
Andrew Halberstadt
0fad1a97d3
Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker
...
This commit simply moves 'testing/eslint' to 'tools/lint/eslint' and the eslint related
mach command from 'python/mach_commands.py' to 'tools/lint/mach_commands.py'. It shouldn't
have any functional change on running eslint, either through mach or taskcluster.
This is in preparation for bug 1258341, to make the diffs there a little easier to read.
MozReview-Commit-ID: K03sn9lv9Lv
2016-06-02 15:38:36 -04:00