Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 21632ba53b Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander
packge-lock.json and tools/lint/eslint/manifest.tt were generated automatically by running tools/lint/eslint/setup.sh, as per previous revisions to package.json.

I've intentionally kept the package.json file simple for now, we can extend it as we get the requirements defined for vendoring new node modules.

Differential Revision: https://phabricator.services.mozilla.com/D7272

--HG--
extra : moz-landing-system : lando
2018-10-01 17:28:45 +00:00
Mark Banner 9b1b5e2821 Bug 1493654 - Upgrade eslint-plugin-html to 4.0.6 to pick up performance fix. r=mossop
Also upgrade eslint and eslint-plugin-react whilst we're here.

Differential Revision: https://phabricator.services.mozilla.com/D6659

--HG--
extra : moz-landing-system : lando
2018-09-24 15:33:56 +00:00
Mark Banner 226dbd7bdc Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop
MozReview-Commit-ID: 7yvvXKxYodA

Differential Revision: https://phabricator.services.mozilla.com/D2834

--HG--
extra : moz-landing-system : lando
2018-08-07 14:46:19 +00:00
Mark Banner 42fb2abfdb Bug 1471540 - Update eslint-plugin-react to 7.10.0. r=ahal
MozReview-Commit-ID: Bg4ayKKxDg1

Differential Revision: https://phabricator.services.mozilla.com/D2325

--HG--
extra : moz-landing-system : lando
2018-07-25 18:09:41 +00:00
Mark Banner 1933dd3a48 Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal
MozReview-Commit-ID: 3u1FeN5wVwf

--HG--
extra : rebase_source : ca88ffff457fa01148189bb317bd09af06695df5
2018-05-24 16:54:54 +01:00
Mark Banner 88e4fd5825 Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. r=mossop
MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
2018-04-23 11:33:31 +01:00
Mark Banner 0f3ec963be 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

--HG--
extra : rebase_source : 863313d7907e8246d1f5b0ee83164cc0f943f8f6
2018-03-05 10:34:38 +00:00
Mark Banner 8387fb332e Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop
MozReview-Commit-ID: 6S8Fq7yHISq

--HG--
extra : rebase_source : 719181833e15bd299a20239ac546734dbb11509a
2018-02-21 16:00:24 +00:00
Mark Banner b4f572f5fa Bug 1436389 - Upgrade ESLint to version 4.17.0. r=mossop
MozReview-Commit-ID: I4KBELxhBlM

--HG--
extra : rebase_source : d206fb88f8c70d161cc0541a068db1b2f02e7a37
2018-02-07 16:01:29 +00:00
Mark Banner c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Ricky Chien ba3ed5556d Bug 1410782 - Fix props.connector is undefined when running launchpad r=Honza
MozReview-Commit-ID: L0UbcaLfrOS

--HG--
extra : rebase_source : de350aba1587a28e363b024be0f9ce00b32755af
2017-10-23 15:39:47 +08:00
Mark Banner 7768aaa6a6 Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal
MozReview-Commit-ID: 9a4FwScmtVL

--HG--
extra : rebase_source : 651fc65f91c5bb02690a145c502ffbf1ec3212cc
2017-07-14 12:21:54 +01:00
Mark Banner 48fff1cefe Bug 1379092 - Update eslint-plugin-react to 7.1.0 for ESLint 4 compatibility. r=mossop
MozReview-Commit-ID: HZbAFZnufUr

--HG--
extra : rebase_source : b7247fa34c074c02b8c881d23e69a86cb9e53223
2017-06-21 15:06:04 +01:00
Frederik Braun 92e797f912 Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8.
MozReview-Commit-ID: MLaU5REYF
2017-07-03 20:07:00 +01:00
Panos Astithas aa041b451e Bug 1371669 - Add support for npm 5. r=standard8
MozReview-Commit-ID: 1X5w1Ui7nKf

--HG--
extra : rebase_source : 80db388c43451114f8c76671a17de2c84f113fd4
2017-06-09 17:18:52 +03:00
Mark Banner 2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst 95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner 256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Mark Banner 3dd96b34b3 Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop
Pick up autofix improvements in 3.19.0. Upgrade eslint-plugin-react. Also fix issues with the package.json file and the ESLint node_modules upload script.

MozReview-Commit-ID: IDZ1n4qTTuv

--HG--
extra : rebase_source : aa97cd6f314ce10d16d12446e50a27d6f994a9f1
2017-04-12 12:07:01 +01:00
Mark Banner b8e9cadef9 Bug 1305023 - Move ESLint's package.json and node_modules to the top level to improve editor integration. r=gps
Editors generally look for configurations at the top level of a project. For ESLint, they also look for the specific binary in node_modules before defaulting to the system binary. Whilst you can override the location, generally it doesn't work well when switching between projects.

The custom in-tree libraries make setup of a system ESLint more difficult as well.

Therefore to make it simple for developers to pick up the ESLint integrations with Editors, by moving the package.json and associated node_modules to the top-level directory.

MozReview-Commit-ID: 1pQpd7hTQ61

--HG--
rename : tools/lint/eslint/npm-shrinkwrap.json => npm-shrinkwrap.json
rename : tools/lint/eslint/package.json => package.json
extra : rebase_source : 9d69d791f86b5c55b1fcd5f6449f0ab84e56b05c
2017-03-22 12:27:00 +01:00