Mark Banner
ec6c584669
Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 50.2.2. r=zombie,frontend-codestyle-reviewers,translations-reviewers,backup-reviewers,kpatenio
...
Also fixes a few issues found with the newer versions of eslint-plugin-jsdoc.
Differential Revision: https://phabricator.services.mozilla.com/D219513
2024-08-23 16:43:57 +00:00
Mark Banner
a99d89a12c
Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
...
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.
Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 16:43:57 +00:00
Butkovits Atila
2837d313b2
Backed out 7 changesets (bug 1870226) for causing build bustages. CLOSED TREE
...
Backed out changeset 619244623dba (bug 1870226)
Backed out changeset e85a5647cae4 (bug 1870226)
Backed out changeset 21ea9baf83ea (bug 1870226)
Backed out changeset a506c0f0ce28 (bug 1870226)
Backed out changeset 77c78201a206 (bug 1870226)
Backed out changeset 7a98dfef087f (bug 1870226)
Backed out changeset f64ad89c2406 (bug 1870226)
2024-08-23 12:22:02 +03:00
Mark Banner
920ffbffdd
Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 50.2.2. r=zombie,frontend-codestyle-reviewers,translations-reviewers,backup-reviewers,kpatenio
...
Also fixes a few issues found with the newer versions of eslint-plugin-jsdoc.
Differential Revision: https://phabricator.services.mozilla.com/D219513
2024-08-23 08:55:49 +00:00
Mark Banner
09fa5144e1
Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
...
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.
Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 08:55:49 +00:00
Mark Banner
c671540aff
Bug 1898556 - Remove eslint-plugin-file-header, update various node modules. r=frontend-codestyle-reviewers,Gijs
...
The updates are general updates, though some of them include ESLint v9 compatibility changes
Differential Revision: https://phabricator.services.mozilla.com/D211413
2024-05-24 14:55:33 +00:00
Mark Banner
2847ac7375
Bug 1557040 - Remove eslint-plugin-fetch-options from the tree. r=Gijs,omc-reviewers,aminomancer,home-newtab-reviewers,frontend-codestyle-reviewers,thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D202628
2024-04-09 08:11:10 +00:00
Tomislav Jovanovic
c346a789f6
Bug 1880764 - Initial TypeScript tooling r=mossop,Standard8
...
* Initial tools/ts setup.
* Mach commands for buidling xpcom related typelibs.
* Mach command for updating the typelib references.
* Mach command for type-checking js projects.
Also included the dom typelib for reference.
Differential Revision: https://phabricator.services.mozilla.com/D197620
2024-03-15 19:20:45 +00:00
Mark Banner
a7f4e39ff2
Bug 1883780 - Update eslint-plugin-html and other ESLint related modules. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D203679
2024-03-06 13:57:36 +00:00
Mark Banner
9afffe8070
Bug 1878009
- Remove Babel from ESLint's node-modules. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D200366
2024-02-02 18:45:09 +00:00
Mark Banner
3ffbe232f8
Bug 1877676 - Remove test .ini file support from ESLint, remove multi-ini and update modules. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D200146
2024-02-01 10:05:10 +00:00
Mark Banner
dca85f4f1b
Bug 1873158 - Update ESLint related modules to their latest versions. r=mossop,aminomancer,devtools-reviewers,reusable-components-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D197765
2024-01-05 19:52:08 +00:00
Malte Juergens
c25e2104e7
Bug 1786290 - Update @microsoft/eslint-plugin-sdl to version 0.2.2 r=freddyb,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D193423
2023-11-20 09:27:48 +00:00
Mark Banner
e640e38886
Bug 1563927 - Upgrade stylelint to the latest version. r=Gijs
...
Depends on D186882
Differential Revision: https://phabricator.services.mozilla.com/D187424
2023-09-05 12:59:31 +00:00
Mark Banner
640bcbbba0
Bug 1563927 - Add JSON linting via ESLint. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D186882
2023-09-05 12:59:31 +00:00
Gijs Kruitbosch
b4130b15da
Bug 1832765 - start linting scss across the tree in our standard config, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D178532
2023-05-30 22:41:22 +00:00
Mark Banner
12189bf738
Bug 1826062 - Upgrade Prettier to 2.8.8. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D177026
2023-05-20 12:26:52 +00:00
Mark Banner
4ee0b4f787
Bug 1826062 - Upgrade Prettier to v2.0.5. r=mossop
...
Also keeps 'arrowParens' as 'avoid', rather than switching to the new Prettier default of 'always'.
Differential Revision: https://phabricator.services.mozilla.com/D177018
2023-05-20 12:26:49 +00:00
Gijs Kruitbosch
f238fa0035
Bug 1508369
- add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D177477
2023-05-11 16:06:38 +00:00
Mark Banner
35384ac9c9
Bug 1677562 - Remove eslint-plugin-prettier now that Prettier and ESLint are separated. r=Gijs,devtools-reviewers,ochameau
...
Depends on D175769
Differential Revision: https://phabricator.services.mozilla.com/D175770
2023-04-19 08:52:38 +00:00
Mark Banner
901b63a516
Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop
...
Depends on D168235
Differential Revision: https://phabricator.services.mozilla.com/D168236
2023-02-03 13:28:13 +00:00
Mark Banner
855c830d4b
Bug 1802860 - Update top-level and eslint-plugin-mozilla node_modules packages. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D163793
2022-12-06 14:35:07 +00:00
Mark Banner
7ad7c7e805
Bug 1792465 - Add eslint-plugin-jsdoc and upgrade node_modules to latest versions. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D158150
2022-10-03 06:55:28 +00: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
27daf1b0af
Bug 1766268 - Update eslint-plugin-mozilla's version of estraverse to fix issues with private identifiers. r=mossop
...
Due to babel still requiring an old version of estraverse, this disables our setup checking for changes
to modules in the eslint-plugin-mozilla package.json. For now, we'll need to remember to ensure there
is a top-level update to go with any changes - though that normally happens anyway.
For good measure, this also updates some of the top-level modules to ensure that node_modules is re-installed for everyone.
Differential Revision: https://phabricator.services.mozilla.com/D144758
2022-04-27 15:14:35 +00:00
Mark Banner
7a084ed84c
Bug 1725952 - Upgrade ESLint to v8.x. r=Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D144002
2022-04-22 11:23:30 +00:00
Ed Lee
70b90fb7c5
Bug 1553931 - Add eslint-plugin-react-hooks and enable for paths using React r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D140876
2022-03-25 18:01:21 +00:00
Mark Banner
42ff6628a7
Bug 1753652 - Update various node_modules to their latest versions. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D137872
2022-02-07 17:28:47 +00:00
Frederik Braun
07077e4449
Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128988
2021-10-21 13:08:11 +00:00
Mark Banner
9383f3e40e
Bug 1725934
- Remove unnecessary babel plugin, and update node modules to the latest versions. r=Mardak
...
plugin-syntax-class-properties was supported by default in Babel 7.14.0.
This also adds top level await support in modules with the upgrade to Babel 7.15.0.
Differential Revision: https://phabricator.services.mozilla.com/D122865
2021-08-18 07:44:47 +00:00
Mark Banner
5f379eb4db
Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop
...
@babel/transform-flow-strip-types and eslint-plugin-flowtype are no longer required as devtools removed the uses of them in bug 1690742.
Differential Revision: https://phabricator.services.mozilla.com/D115402
2021-05-19 16:53:53 +00:00
Mark Banner
e6bcef6070
Bug 1556460
- Upgrade jsdoc version to 3.6.6. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D112345
2021-04-16 16:17:26 +00:00
Mark Banner
dae9d6efad
Bug 1498604 - Make './mach doc' use jsdoc installed into node_modules rather than the system. r=mossop,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D111652
2021-04-14 13:35:20 +00:00
Alexandru Michis
a2ac402751
Backed out changeset 53d4fb9f562f (bug 1498604) for causing doc generate failures.
...
CLOSED TREE
2021-04-14 02:22:56 +03:00
Mark Banner
6bdee38462
Bug 1498604 - Make './mach doc' use jsdoc installed into node_modules rather than the system. r=mossop,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D111652
2021-04-13 19:59:37 +00:00
Mark Banner
c3d0fbb56a
Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D110606
2021-04-04 08:05:39 +00:00
Gijs Kruitbosch
1aa2c4d5db
Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D91933
2020-10-02 18:00:40 +00:00
Duncan Dean
d99484e5ff
Bug 1620162 - Upgrade eslint-plugin-jest and fix new lint errors. r=bomsy,Standard8
...
Currently the `jest/no-standalone-expect` rule needs to be disabled for `jest-in-case` cases blocks as it is not compatible.
Differential Revision: https://phabricator.services.mozilla.com/D87184
2020-08-20 08:52:42 +00:00
Mark Banner
def8aa427a
Bug 1620537
- Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D84820
2020-07-24 21:37:12 +00:00
Dave Townsend
6ed37285b4
Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8
...
There appears to be a bug in babel-eslint where it still uses the old
`ExperimentalSpreadProperty` and `ExperimentalRestProperty` node types when
babel itself (and hence the AST visitor keys) have switched to `SpreadElement`
and `RestElement`. I suspect there isn't much point in filing a babel-eslint
issue for this, they are currently in the process of working on v11 which does
fix the issue but is currently only available as a beta release.
There are three alternatives:
1. Use the beta babel-eslint.
2. Hack the visitor keys to include the old node types.
3. Traverse the AST changing the nodes from the old types to the new types.
Using a beta version is probably not a great idea so this patch does 2 which is
the simplest of the other options. It does have the drawback however that if
any eslint rules we use rely on the new node type names they will fail to work.
Differential Revision: https://phabricator.services.mozilla.com/D66998
--HG--
extra : moz-landing-system : lando
2020-03-23 12:58:28 +00:00
Dave Townsend
8aefbf2bdc
Bug 1617959: Switch to the babel-eslint parser and turn on support for optional chaining and nullish coalescing operator syntaxes. r=Standard8
...
The babel-eslint parser defaults to assuming all scripts are modules. Although
we're moving in that direction it seems reasonable to set the default as regular
scripts for now. All the places that were previously overriding the parser are
already specifying the sourceType in their eslint configs.
I chose to put the babel config in a file that babel itself won't look to avoid
the risk of this config impacting the use of babel elsewhere in the tree.
Differential Revision: https://phabricator.services.mozilla.com/D66127
--HG--
extra : moz-landing-system : lando
2020-03-13 19:15:11 +00:00
Ed Lee
8a70e001ee
Bug 1620556 - Update Prettier to 1.19.1. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D66129
--HG--
extra : moz-landing-system : lando
2020-03-13 23:39:00 +00:00
Mark Banner
c33838afba
Bug 1620218
- Update Prettier to 1.18.2 and other ESLint modules to the latest versions. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D65510
--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:23 +00:00
Mark Banner
793a87d40a
Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D59691
--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:06 +00:00
Mihai Alexandru Michis
2dab66d06e
Backed out 9 changesets (bug 1607172, bug 1609998, bug 1608799) for causing xpcshell failures in test_parser.js
...
CLOSED TREE
Backed out changeset 7753083b67dd (bug 1609998)
Backed out changeset e6f5aac734ab (bug 1608799)
Backed out changeset 90ea35966b73 (bug 1608799)
Backed out changeset 6fafa451b3f9 (bug 1608799)
Backed out changeset e07a4aea2ae1 (bug 1608799)
Backed out changeset d69d6dfdccad (bug 1607172)
Backed out changeset 93023b1b6153 (bug 1607172)
Backed out changeset 99ce7a56080e (bug 1607172)
Backed out changeset 20aa5934c785 (bug 1607172)
2020-01-21 21:44:03 +02:00
Mark Banner
96709101c1
Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D59691
--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:10 +00:00
Jason Laster
ec444c0fc8
Bug 1605231 - update Yarn to 1.21.1. r=dmose
...
Differential Revision: https://phabricator.services.mozilla.com/D57880
--HG--
extra : moz-landing-system : lando
2019-12-19 23:31:07 +00:00
Razvan Maries
545501e5e4
Backed out changeset 00af692eccde (bug 1605231) for Lint failure. CLOSED TREE
2019-12-20 00:57:57 +02:00
Jason Laster
c3ba00b53a
Bug 1605231 - update Yarn to 1.21.1. r=dmose
...
Differential Revision: https://phabricator.services.mozilla.com/D57880
--HG--
extra : moz-landing-system : lando
2019-12-19 21:34:00 +00:00
Mark Banner
676f82a489
Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D43590
--HG--
extra : moz-landing-system : lando
2019-08-27 14:51:29 +00:00