Commit graph

44 commits

Author SHA1 Message Date
James D. Forrester 003fd5778f build: Update all linters to latest as of September 2023
eslint-config-wikimedia     0.25.0  →  0.25.1
 grunt-eslint                24.0.1  →  24.3.0
 grunt-stylelint             0.18.0  →  0.19.0
 stylelint-config-wikimedia  0.15.0  →  0.16.1

Change-Id: If484bdb4a5c842e7c362ffececba666bd4eb9ee5
2023-09-20 09:22:51 +01:00
libraryupgrader 2afac57410 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I7aba627c9f3030888ea3453a70a98d291be72f87
2023-06-01 03:19:05 +00:00
libraryupgrader bf55c79938 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I4802dd63d3d8d131e24ab901754bd30222e24ff5
2023-05-05 03:05:24 +00:00
libraryupgrader d8bf746f73 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I6b9b7c44a6038272f8b959ff424e2bcc7bd0acde
2023-04-29 01:50:55 +00:00
libraryupgrader d52c98ddfb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* grunt-stylelint: 0.17.0 → 0.18.0
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Id7989047d64891ee0c12180e414410b1258fc710
2023-03-15 03:54:16 +00:00
libraryupgrader dd2a546c4a build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0

Change-Id: I57da041660f6ba7eadc3ab98c1480d08b7b300ae
2022-10-09 03:22:48 +00:00
libraryupgrader 4a95ef5d07 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt-eslint: 23.0.0 → 24.0.0
* grunt-stylelint: 0.16.0 → 0.17.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.0

Change-Id: I515f76b93896ec6ca50bcc936bfd5fbdabdd2b49
2022-05-21 01:50:17 +00:00
libraryupgrader c9dbe0b881 build: Updating grunt to 1.5.2
Change-Id: Iea4932c348ae7da05b6509c8715dc82a6f15f089
2022-04-27 08:59:57 +00:00
libraryupgrader 2470a44b07 build: Updating npm dependencies
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: Ibfa4a0d71b8567522870a54fe977a4fcc3194b4b
2022-04-15 01:26:23 +00:00
libraryupgrader 76c28efc14 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.20.0 → 0.21.0
* grunt: 1.4.0 → 1.4.1
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.

Change-Id: Ie64a0ab051ee3bee77c4dcaf285eb7d51d327a15
2022-02-06 08:30:22 +00:00
libraryupgrader ea600e46b6 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I224243231256d76041adc47a41c6c0bb4db88558
2021-09-04 19:19:31 +00:00
libraryupgrader 051a5ae558 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 3.0.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ic98cdab692266c3946a685d86b16cf595239696a
2021-05-09 09:09:51 +00:00
libraryupgrader d0f945c5c1 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ief4a81d7793ffc87f587f9ec09857297bd034613
2021-04-16 07:04:56 +00:00
libraryupgrader 7f0a229474 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I8cd7a2c9e4b884b77f2b4f2b1f77be0f54f0dc9c
2021-03-13 08:26:29 +00:00
libraryupgrader 919dd1f6bd build: Updating eslint-config-wikimedia to 0.18.2
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: I0f7018328a93d4ff9f2178fb53619741f6d11da4
2021-03-06 10:54:05 +00:00
libraryupgrader 57fa35260b build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I4749baf839c19067c555258aa2ac22dd6ae3401d
2021-01-29 07:34:33 +00:00
libraryupgrader f952dd1736 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I2c6469b3bb34fec6dbb304ec9924b004e0c0ba3f
2020-11-22 00:33:10 +00:00
libraryupgrader 0a8e8c9697 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: I5564c4e0d9731282648d795e81027c7ef8665a65
2020-09-05 11:37:07 +00:00
libraryupgrader 60912378c8 build: Updating grunt to 1.2.1
Change-Id: I2fb38907f397ea7f12f8468b5bbf9c3b882a4b0f
2020-07-18 03:40:35 +00:00
Ed Sanders bef158146d build: Update eslint-config-wikimedia to 0.16.2
Change-Id: I9feac84ca779aff3199762d8783caaa56c555f3b
2020-07-01 14:44:35 +00:00
libraryupgrader 9c17e60df2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: If6c9850e6063293cc21797feab9a96e34ba64a2a
2020-04-22 07:21:43 +00:00
libraryupgrader f532395286 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I49d0278615ab5dda2d578da4d5591e2edd4e2cd5
2020-04-19 02:36:10 +00:00
libraryupgrader e40b883e3f build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I374adfd9d0effe7ad83f31fab4c9d8730b021087
2020-03-18 05:30:24 +00:00
libraryupgrader 2b33438f7c build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I495b7da171bbd845bd93eebf92cb7dd8a6243efd
2020-02-20 20:40:24 +00:00
libraryupgrader f1e53c929b build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Id160d62640178e829908da34b5019b8005954466
2020-01-09 05:39:24 +00:00
Ed Sanders 29f8ba1162 build: Update linters
Change-Id: I7cdedec41a9960f8dce2bac3251d3d24e7999024
2019-11-15 16:46:40 +00:00
libraryupgrader b8d57783c1 build: Updating grunt-stylelint to 0.11.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I1983cc430a515466b9934353b5dde635e2919f43
2019-10-21 02:14:16 +00:00
libraryupgrader 2ab77613ea build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Ia6d94306df618084c64cd586492b97fef9120d85
2019-06-08 03:11:04 +00:00
James D. Forrester f18aaba76b build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I8d0c73a699f1ee39c652fd95fd1ce3aa37237d06
2019-05-06 15:31:16 -07:00
James D. Forrester 9ef3132dce build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I1e6c500b8a79f8d01b3050dabdece36e77d17706
2019-04-03 15:54:28 -07:00
Ed Sanders 28cb4a71da build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I78b2a1c233c97af39e1c8f8fd9d839d0ffc4936e
2019-02-10 15:44:37 +00:00
Volker E 0472aeae64 build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Change-Id: I6a9b69479df579fc27ca0f3178c6b34a105b88c0
2019-01-09 14:47:21 -08:00
Nouman Saleem e614050b6a ConfirmEdit: Support No CAPTCHA reCAPTCHA
Extend Captcha save error handler to verify user using
noCaptchaReCaptcha.

Bug: T203478
Change-Id: Ia5438bba6ff797dee822caf7664b911f01684744
2019-01-03 19:40:41 +00:00
James D. Forrester f6d5d6c990 build: Bump linting devDependencies to latest
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: Iea0208a6adc0950ba7b44def37611d7f1bd7d4d3
2018-11-06 15:24:40 -08:00
libraryupgrader 56756bf791 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: Iaeec5fbfb94742907cb34d4b76523f9825d46d7b
2018-10-11 05:31:21 +00:00
Ed Sanders 190c701217 build: Update linters
Change-Id: I95a14ebfd19a6632cf685444508fea5b5b33817f
2018-02-04 21:22:31 +00:00
Antoine Musso 52a313d9e0 Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 12:46:29 +02:00
Ed Sanders e01ded6b66 build: Update eslint to 0.4.0
Change-Id: Ib2fadb67ebfd8bdb669ae049748d4c5c6e8f398b
2017-05-04 21:07:47 +00:00
Ed Sanders 716fb7c4e6 build: Update stylelint to 0.4.1
Change-Id: I5efe4a0dbacc5b46ff64e89930b1b614d9f8c880
2017-03-20 14:28:51 +00:00
Ed Sanders ae85f2ac6b Replace jshint/jscs with eslint and add stylelint
Change-Id: I9c33c65c913d891739b913d5363abba66c2cd0dd
2017-01-18 16:53:09 -08:00
Kunal Mehta ece496b957 build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I518b1b6fff2dde7d33fcdefb2a27229e6de2f866
2015-12-29 11:20:52 -08:00
Paladox 325f21e117 Add grunt-jscs package
This will allow us to run jscs in npm.

Change-Id: Ica970dfd2459bbdf50abc55ecdb24fe47307ccaa
2015-11-26 23:34:47 +00:00
Paladox e0c5ac3344 Update grunt-jsonlint to 1.0.6
Change-Id: I847605a0b35d5b8e4022030ae40bd21bb1ea0b37
2015-11-26 16:55:02 +00:00
Paladox 4307f1ec19 Add some Jenkins tests
Add support for composer phplint and npm jshint, jsonlint
and banana-checker.

Change-Id: If509fdb96f35cdd252b6c53ece8a568b4a614926
2015-10-14 11:52:19 +01:00