Commit Graph

387 Commits

Author SHA1 Message Date
Mark Banner
e38c299d5e Bug 1778107 - Move storybook code to use mjs files, rather than defining sourceType for ESLint. r=mstriemer
Depends on D161259

Differential Revision: https://phabricator.services.mozilla.com/D161260
2022-11-04 17:16:58 +00:00
Mark Banner
5171378622 Bug 1795602 - Stop using the 'with' statement in dom/. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D159477
2022-10-17 12:53:07 +00:00
Mark Banner
8f884a04f5 Bug 1793369 - Enable ESLint rule no-unused-vars globally on dom/indexedDB xpcshell-tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D158470
2022-10-03 16:30:03 +00:00
Mark Banner
b14986d4d9 Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in tests in extensions and toolkit. r=Gijs,application-update-reviewers,bytesized
Depends on D158347

Differential Revision: https://phabricator.services.mozilla.com/D158348
2022-10-01 09:03:12 +00:00
Mark Banner
5805b921dc Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in modules/. r=valentin
Depends on D158346

Differential Revision: https://phabricator.services.mozilla.com/D158347
2022-10-01 09:03:12 +00:00
Mark Banner
226c0dffea Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in image/test. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D158346
2022-10-01 09:03:11 +00:00
Mark Banner
860b0acba4 Bug 1792694 - Set up ESLint on the dom/ directory for enabling no-unused-vars and no-undef in more places across the dom tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158254
2022-09-28 17:23:12 +00:00
Mark Banner
d8d50459f8 Bug 1791282 - Enable all ESLint rules on testing/mochitest files. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D157586
2022-09-21 14:53:18 +00:00
Jonathan Sudiaman
14caa6c047 Bug 1790675 - Fix ESLint rule warnings for no-unused-vars in modules/libjar/test/unit/test_empty_jar_telemetry.js r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D157241
2022-09-14 07:45:42 +00:00
Mark Banner
a49daebe0d Bug 1789249 - ESLint should ignore files listed in Generated.txt, and ESLint linter tests. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D156457
2022-09-09 18:46:38 +00:00
Artur Iunusov
f960b73887 Bug 1585131, 1356045 - Removed unused dom/ipc/test.xhtml. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D156701
2022-09-08 18:03:34 +00:00
Butkovits Atila
e03fe088c7 Backed out changeset 44fb0e3f3843 (bug 1789249) for causing mozlint failures. CLOSED TREE 2022-09-07 11:52:01 +03:00
lyavor
c4dd970059 Bug 1709150 - Consider linter rule to make https the default for all kind of tests we add. r=Standard8,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149394
2022-09-07 08:45:12 +00:00
Mark Banner
84e57ea707 Bug 1789249 - ESLint should ignore files listed in Generated.txt, and ESLint linter tests. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D156457
2022-09-06 12:45:30 +00:00
Mark Banner
dcf3abed55 Bug 1788038 - Turn on ESLint rule for prefer-boolean-length-check for netwerk. r=necko-reviewers,dragana
Depends on D155965

Differential Revision: https://phabricator.services.mozilla.com/D155966
2022-09-05 22:01:07 +00:00
Mark Banner
783a2f2187 Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Mark Banner
3644b07dd2 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for a few test files. r=mossop
This also moves the layout disabling to the layout section - to be enabled later.

Differential Revision: https://phabricator.services.mozilla.com/D155177
2022-08-26 13:39:39 +00:00
Mark Banner
65b92de13b Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for tools. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D155176
2022-08-26 13:39:38 +00:00
Mark Banner
365f6e8e10 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for testing. r=jmaher,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D155175
2022-08-26 13:39:38 +00:00
Mark Banner
db6a9a6b64 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for taskcluster. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D155174
2022-08-26 13:39:38 +00:00
Mark Banner
1a1669c8c4 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for remote. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D155173
2022-08-26 13:39:37 +00:00
Mark Banner
9ed9c3503d Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for modules. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D155172
2022-08-26 13:39:37 +00:00
Mark Banner
baa8dfdef9 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for mobile/android. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D155171
2022-08-26 13:39:36 +00:00
Mark Banner
d86604e53c Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for gfx. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D155170
2022-08-26 13:39:36 +00:00
Mark Banner
4f95e6b415 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for editor. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D155169
2022-08-26 13:39:36 +00:00
Mark Banner
b4cf869f32 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for docshell. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D155168
2022-08-26 13:39:35 +00:00
Mark Banner
c83937cb5a Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D155167
2022-08-26 13:39:34 +00:00
Mark Banner
8fd5aae050 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D155166
2022-08-26 13:39:34 +00:00
Mark Banner
e3bad2d44a Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for security. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D155165
2022-08-26 13:39:34 +00:00
Mark Banner
145c8af411 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for js/src/builtin. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D155164
2022-08-26 13:39:33 +00:00
Mark Banner
3c7c57e783 Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for services. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D155163
2022-08-26 13:39:33 +00:00
samronning
f832ff9ad3 Bug 1786402 - Fix ESLint rule warnings for no-unused-vars in intl/uconv/tests/unit/test_bug340714.js r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D155290
2022-08-25 08:28:17 +00:00
Mark Banner
66dfc61a41 Bug 1786094 - Enable ESlint rule no-unused-vars on the global scope for dom/localstorage xpcshell-tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D155122
2022-08-23 21:10:15 +00:00
Mark Banner
a76d24cb29 Bug 1786094 - Enable ESlint rule no-unused-vars on the global scope for dom/cache xpcshell-tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D155121
2022-08-23 21:10:14 +00:00
Mark Banner
86c2f43119 Bug 1786094 - Enable ESlint rule no-unused-vars on the global scope for dom/tests xpcshell-tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D155120
2022-08-23 21:10:14 +00:00
Mark Banner
7ab282543e Bug 1786094 - Enable ESlint rule no-unused-vars on the global scope for dom/base xpcshell-tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D155119
2022-08-23 21:10:14 +00:00
Mark Banner
d05ce3e6d1 Bug 1786094 - Enable ESlint rule no-unused-vars on the global scope for dom/security xpcshell-tests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D155118
2022-08-23 21:10:13 +00:00
Mark Banner
5ced04706e Bug 1786068 - Enable ESlint rule no-unused-vars on the global scope for netwerk/ xpcshell-tests. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D155095
2022-08-23 12:06:15 +00:00
Mark Banner
da48e321ec Bug 1786104 - Enable all ESLint rules on dom production files. r=smaug
This changes the block of disabled rules for dom to only reference test directories,
and then fixes the few failures in the two production files (rules: mozilla/use-services,
no-else-return, consistent-return).

Differential Revision: https://phabricator.services.mozilla.com/D155130
2022-08-21 18:19:44 +00:00
Mark Banner
ff257fb43c Bug 1786076 - Enable ESlint rule no-unused-vars on the global scope for security/manager/ssl/ xpcshell-tests. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D155101
2022-08-19 20:44:02 +00:00
Mark Banner
2b5dc5de3f Bug 1783565 - Set ESLint rule no-shadow to warning for where it is turned on in netwerk. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D153899
2022-08-16 08:10:39 +00:00
Mark Banner
4c8877a5d0 Bug 1783565 - Enable ESLint rule no-global-assign for the rest of netwerk. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153898
2022-08-16 08:10:39 +00:00
Mark Banner
58f94b3835 Bug 1783565 - Enable ESLint rule no-redeclare on the rest of netwerk. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153897
2022-08-16 08:10:38 +00:00
Mark Banner
58ce1f1fce Bug 1783565 - Enable ESLint rules no-eval, no-nested-ternary, no-throw-literal for the rest of netwerk. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153896
2022-08-16 08:10:38 +00:00
Mark Banner
d5e2960048 Bug 1783565 - Enable ESLint rules for no-arbitrary-setTimeout, no-define-cc-etc and consistent-return on netwerk/. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153895
2022-08-16 08:10:38 +00:00
Butkovits Atila
57077f89fc Backed out 4 changesets (bug 1783565) for causing failures at test_origin.js. CLOSED TREE
Backed out changeset 289d233f1266 (bug 1783565)
Backed out changeset 3523c3cede7d (bug 1783565)
Backed out changeset cc2d5eaf69d2 (bug 1783565)
Backed out changeset 7e11b0d6e731 (bug 1783565)
2022-08-08 18:17:00 +03:00
Mark Banner
720ac1ec0a Bug 1783565 - Enable ESLint rule no-global-assign for the rest of netwerk. r=dragana,necko-reviewers
Depends on D153897

Differential Revision: https://phabricator.services.mozilla.com/D153898
2022-08-08 14:30:34 +00:00
Mark Banner
072eb34ade Bug 1783565 - Enable ESLint rule no-redeclare on the rest of netwerk. r=dragana,necko-reviewers
Depends on D153896

Differential Revision: https://phabricator.services.mozilla.com/D153897
2022-08-08 14:30:34 +00:00
Mark Banner
3a58ec0d05 Bug 1783565 - Enable ESLint rules no-eval, no-nested-ternary, no-throw-literal for the rest of netwerk. r=dragana,necko-reviewers
Depends on D153895

Differential Revision: https://phabricator.services.mozilla.com/D153896
2022-08-08 14:30:33 +00:00
Mark Banner
fc8a4aff9b Bug 1783565 - Enable ESLint rules for no-arbitrary-setTimeout, no-define-cc-etc and consistent-return on netwerk/. r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153895
2022-08-08 14:30:33 +00:00