Commit graph

39 commits

Author SHA1 Message Date
Sam Wilson 9921163d54 Add JSDoc configuration and test
Bug: T307415
Change-Id: I770677608b5d2e4532528467d1c4141019dd01e4
2022-05-03 15:28:02 +08:00
Ed Sanders 930335fc0d build: Update devDependencies
Change-Id: Ibe0e5fb26ecbdf6dbf3792bbb5b53d92c88eaf20
2022-03-13 22:46:07 +00:00
Ed Sanders 7fea791042 build: Update eslint-config-wikimedia to 0.21.0
Change-Id: I87bca80d107c965296af74e16961cd855d72b806
2022-02-07 17:27:27 +00:00
Ed Sanders b3dbb96cf3 Update stylelint-config-wikimedia
Change-Id: Ib7c44812e8adc159ff2c1d634712e05cc8511078
2021-06-15 15:14:04 +01:00
libraryupgrader 5b056917e9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I4131e72fa587a7696c37894615589632e7de8c7e
2021-05-15 16:58:23 +00:00
libraryupgrader 1505faa100 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id5007330e0510ebe9ad046cac22fb8981c77c2af
2021-04-15 03:38:35 +00:00
libraryupgrader 90481ffb7d build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I590aa8bcab59a573d3d511a33420bc59cd8d8632
2021-03-14 23:14:06 +00:00
libraryupgrader 21028fc6ff build: Updating eslint-config-wikimedia to 0.18.2
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: Ice271e32dc3c36e9f012434b585952eda55dd036
2021-03-08 09:54:09 +00:00
libraryupgrader 042acbf799 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.18.0 → 0.18.1

Change-Id: If9f846e23998cac9cc2ea5d5a32b03b2b2372bf8
2021-01-30 19:47:49 +00:00
libraryupgrader 2081766cb4 build: Updating eslint-config-wikimedia to 0.18.0
Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I664a503f515018d3f4c0d37b03a03eb0711c0a3b
2021-01-27 01:50:16 +00:00
libraryupgrader 7b8f19eb99 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I0590e5e22e7f02a4df4f3ac0e65b2784508fbce5
2020-11-22 13:15:19 +00:00
libraryupgrader 1028ca9263 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: I16b698f8829139fdcd16c5ede0ff9e9a7813d321
2020-09-05 03:55:43 +00:00
libraryupgrader 5b18e65d7b build: Updating grunt to 1.2.1
Change-Id: Ib5e4e0bcc86160d1e372340ab12b7a17c6c8fc98
2020-07-19 04:43:51 +00:00
libraryupgrader d3fab1c494 build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: Icb97167116171aeaa7e5ce17b4da2bb59992a33d
2020-07-17 06:12:18 +00:00
libraryupgrader 18dcb04836 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
  The following sniffs now pass and were enabled:
  * MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

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

Change-Id: I892964b1b124914f76d75173a23aec54baf03257
2020-04-22 23:06:54 +00:00
libraryupgrader e49f2f12e0 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I7ca3f78c44f077452b23a27ee5bbe1cd21e11a91
2020-04-19 23:40:46 +00:00
libraryupgrader 0831476636 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I277b996ff31292e88ee3ff25ec440e6d547f004a
2020-03-19 21:31:33 +00:00
libraryupgrader 4787c733d6 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I13751d02f31523b4306d9c43c4f63b5564b2e5e3
2020-02-21 04:36:26 +00:00
libraryupgrader 55135eb856 build: Updating npm dependencies
* grunt-stylelint: 0.12.0 → 0.13.0
* stylelint-config-wikimedia: 0.7.0 → 0.8.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I54da0b90c4a3c2512d4d5105800ab5e7076a92fa
2020-01-10 17:56:32 +00:00
Ed Sanders 85ac5f2e07 build: Update linters
Change-Id: Idcac2a782781a86dabd91f30a41adac1ea94ef16
2019-10-29 22:16:13 +00:00
Ed Sanders 2112538387 build: Update linters
Change-Id: I3a50982ee652c4c1c9b357c793e07cccf014e261
2019-10-07 16:52:10 +01:00
libraryupgrader a1277d9175 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I7d5d8521d32fd28228a6bb6630d7f6d83510c481
2019-06-09 04:32:34 +00:00
James D. Forrester b374d6beed build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I4c82af69580292b91177fb1021908613292de5da
2019-05-07 11:30:32 -07:00
Ed Sanders be24835f03 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I5cd1842820b8d70484716c9adf5080cb33008f51
2019-03-13 22:45:20 +00:00
Ed Sanders f9f01cf6b7 build: Update eslint-config-wikimedia 0.10.1
Change-Id: I71b5c0a1b499865b56ef6957427cae7c97609d73
2019-02-06 01:26:47 +00:00
Ed Sanders 583ad04b87 build: Update eslint-config-wikimedia to 0.10.0
Change-Id: I5fea8a1d6c91ea69c3490101ea38ce4626bd7e11
2019-01-08 23:32:56 +00:00
Ed Sanders c13f6b77ce Update stylelint-config-wikimedia to 0.5.0
Change-Id: I46d65752974a71cc07c9ce622b6cd8c7389f354d
2018-12-04 17:33:05 -05:00
Ed Sanders c19397ffbc Update eslint-config-wikimedia to 0.9.0
Change-Id: Ie60321d33b786a9f56fbf0df26571be7c0a29de8
2018-11-27 17:36:31 +00:00
Ed Sanders 5a5d351aaf build: Update linters
Change-Id: Ib52195a49c7333ab0cc8a703f987126cfc4e603e
2018-09-14 13:19:52 +01:00
Ed Sanders 66a29b9c0a build: Update linters and fix errors
Change-Id: I3d316cfa7432d0600f0114608342155c1d1f6c1d
2017-10-31 18:40:57 +00:00
Antoine Musso 00a9f0fd6b Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:44:46 +02:00
Ed Sanders 1b0bd60ee8 build: Update eslint to 0.4.0 and make pass
Change-Id: Ib0ac14fb53479eb964a5d51066661b4771b1f72e
2017-05-04 22:38:47 +00:00
Ed Sanders d4b3d2c87f build: Update stylelint to 0.4.1
Change-Id: I4f21c19a9b834fa5442df201c4d65c6184bcbd2c
2017-03-20 14:39:18 +00:00
Ed Sanders 7eed707a48 Replace jshint/jscs with eslint/stylelint
Change-Id: Ife5e782bd5513e0496e384655b9b203de5c841a5
2016-11-21 21:02:38 +00:00
Kunal Mehta 609fad7ad0 build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I80bc77c65f940472d4ae698a2dcbb69a46dee525
2015-12-29 12:06:03 -08:00
Paladox e01119c931 Update grunt-jscs to 2.5.0
Change-Id: I2b3e4e8c6d0f170330880f4295b552f4ec96899f
2015-12-09 20:41:15 +00:00
paladox 657094276a Update packages
Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Also update kk-cyrl.json messages.

Change-Id: I24bfa35f5245d2dedccffedbb37607d916363951
2015-11-19 22:54:40 +00:00
paladox bdb67f719c build: Test JS code with jshint and jscs via npm
Change-Id: I039bc4c17fbba3c74a5050066b20af05434ca482
2015-11-18 12:06:36 +00:00
Kunal Mehta 8ffaace14b build: Configure banana-checker and jsonlint
Change-Id: If03ad206dc0a499935dc9fa66c12a788a01081af
2015-06-22 16:29:10 -07:00