Commit graph

45 commits

Author SHA1 Message Date
libraryupgrader da75004c11 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.10.3 → 0.11.1
* path-parse: 1.0.6 → 1.0.7
  * https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I2e703a924c66081a653a8ddc6577d0d778439b62
2021-09-04 22:54:19 +00:00
libraryupgrader fd8d214ff4 build: Updating jsdoc to 3.6.7
* https://npmjs.com/advisories/1674 (CVE-2021-23358)

Change-Id: I5f4726b9bb82f487fd871094eaac0c0dbcf719f8
2021-05-15 16:20:04 +00:00
libraryupgrader 21819626e6 build: Updating npm dependencies
* 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)
* websocket-extensions: 0.1.3 → 0.1.4
  * https://npmjs.com/advisories/1710 (CVE-2020-7662)

Change-Id: Icfab7b7db7df194f095dc5476fec2a714f0cf975
2021-05-14 05:01:21 +00:00
libraryupgrader 351c720c26 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I9c0fd28fa2fd7e0ba96323be4228b7baa3df3508
2021-04-14 08:30:09 +00:00
libraryupgrader 578aee3ed5 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I9ae968d7846b4c1596a6c802ea4eca8a008ab091
2021-03-14 17:40:19 +00:00
libraryupgrader 99de8fa660 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ia16f5401997e5144e27dde8fafb370a56f71e3ad
2021-03-08 02:55:10 +00:00
libraryupgrader b3342f69b6 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
  The following rules are failing and were disabled:
  * compat/compat

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

Change-Id: I6c04cb615ac1110833bbaaed686fc226b59d2c50
2021-01-30 14:53:11 +00:00
Adam Wight 1010e6fb78 Migrate from jsduck to jsdoc
Bug: T138401
Change-Id: Iae74fdcae5e8c2541416d8cec8de8221cfc282ef
2020-11-30 21:56:30 +01:00
libraryupgrader 49fc569c12 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: Ibc5e81ae5199cdce8aaff6cea82badc3ddbb6ae1
2020-11-22 10:56:06 +00:00
libraryupgrader e96711d7bb 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: Id43b02523bb5e0a706f64c1a40d1c1841aa3d345
2020-09-04 23:21:12 +00:00
Ed Sanders bf67ec6d52 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: Ib53aa55795f228768a6226eebfdb5734d8a976d1
2020-07-08 13:08:35 +01:00
libraryupgrader a217ede2fe 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: Iefc2135c456c7b637173bfc2f1dd3207dd34dd89
2020-04-22 20:26:30 +00:00
libraryupgrader ebb9d8f773 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Id09ef704eef28802ba672256c2bba756f8eea340
2020-04-19 20:24:31 +00:00
libraryupgrader 5831948faa build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Iaf16e4562eeae41c20f2fd0ba4f71f52d86f6bb2
2020-03-19 13:18:04 +00:00
libraryupgrader 0d706ec81d build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I48ef23697f84411c541c35688bcf69a192928f95
2020-02-21 03:11:50 +00:00
Ed Sanders 2db15c75a1 build: Update linters
Change-Id: Ie5cd0d355017eb802d0b302a69248886409fcbf9
2019-12-18 11:43:42 +00:00
libraryupgrader dc4a4288c7 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: I2629a209a541220730ba9aee9f1436edb7a9cbce
2019-06-09 00:52:41 +00:00
James D. Forrester 68c4348935 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I4510c552189ae7b0f458cb82f389dff7f14a0a96
2019-05-07 10:50:20 -07:00
Ed Sanders 6671a09959 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Ia109737bc7a0828dfdad14e4e2163d2add0c651c
2019-03-13 16:33:25 -07:00
Ed Sanders 49d469b2d1 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: Ia8baa12906d4f23fcdf07a0bb664b4a3435d18df
2019-02-10 22:14:11 +00:00
Ed Sanders 47c3c69baa Update eslint-config-wikimedia to 0.9.0
Also bump stylelint (no fixes required)

Change-Id: Ia6bd3a8c0392eafb939f9ff05827e1320f56b706
2018-11-29 14:19:33 +00:00
Ed Sanders 9a8c807f51 eslint: Introduce wikimedia/qunit ruleset
Change-Id: I3972918c00e69d325c5cb2055d4996a8c07b1034
2018-11-15 23:21:32 +00:00
Ed Sanders 0736e6d572 build: Update devDependencies
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: I21d7b4e1418f2f9bf22d380b1302158c56ab4886
2018-11-15 23:14:32 +00:00
libraryupgrader b27e61ec3b build: Updating npm dependencies for security issues
* Updated grunt-contrib-watch to 1.1.0, addressing:
  * https://npmjs.com/advisories/534
  * CVE-2017-16137
  * https://npmjs.com/advisories/577
  * CVE-2018-3721
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: Ic7cc2041d63519835b3c569989a7c7c43738fb08
2018-10-11 11:15:00 +00:00
Ed Sanders ecaa84dda6 build: Update linters
Change-Id: Ia8229d0982d093215a46b1308d44d0b15bfd4811
2018-02-04 22:10:45 +00:00
Ed Sanders 6c7d8a43c3 build: Update linters
Change-Id: Idb5705ef24c0731c47f33b310a9a3fb2fa5f2227
2017-10-03 16:23:24 +01:00
Antoine Musso a7c3408cbc Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:41:00 +02:00
Ed Sanders 23e547a9fa build: Update eslint to 0.4.0
Change-Id: Ief28d7ca2459afb6a1ff30ccdd5c97d71e51f243
2017-05-04 22:00:48 +01:00
James D. Forrester 28c8a25a4f build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 15:27:41 -08:00
Ed Sanders 6565ee4cf5 build: Replace jscs/jshint with eslint
Change-Id: Iff79501de8d80a860eebb4a6e31dc8fca3285505
2016-12-02 22:05:13 +00:00
James D. Forrester f46951c94f build: Fix stylelint devDependencies
Change-Id: Ib2953ff01613c495680edd2b6271efabf181575a
2016-08-05 10:55:11 -07:00
Ed Sanders 479f887af9 Update stylelint-config version
Change-Id: Ib2bfe549ff3c054c4363abbbc3ac78f4b6c6b51c
2016-05-24 15:25:25 +01:00
James D. Forrester c8f4e02651 build: Replace csslint with stylelint and bump others
Change-Id: I84a1b850073ffae51c1c35a4f371cbac23b0d94e
2016-05-20 13:14:59 +01:00
James D. Forrester 9bb3c382f5 build: Bump devDependencies to latest and make pass
grunt-contrib-csslint   0.5.0  →  1.0.0
 grunt-contrib-jshint   0.11.3  →  1.0.0
 grunt-contrib-watch     0.6.1  →  1.0.0
 grunt-jscs              2.1.0  →  2.8.0

Change-Id: Ia6ca7c477b1c7ce8b3fc54994b1abf361c031eda
2016-03-24 08:54:20 -07:00
Timo Tijhof ee283c19fb build: Remove obsolete jscsrc overriddes
Also remove redundant 'name', 'repository' and 'licenses' properties
in package.json.

* Repository: Needslessly hardcodes location of itself. Only relevant for npm publish.
* Licenses: Deprecated in favour of 'license'. Needless duplication
  of COPYING file. Only relevant for npm publish.

Change-Id: I2d8a99cf235fa70279c31367d5371d45a6abd4e5
2016-03-20 04:23:08 +00:00
Kunal Mehta 8e4caaa69c build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I97677abcf72a0fc079fdc6b21a1bf388c0b2a541
2015-12-29 11:57:02 -08:00
James D. Forrester 98fffb3d78 build: Upgrade various devDependencies to latest and make pass
* grunt-contrib-csslint: 0.4.0 -> 0.5.0
* grunt-banana-checker: 0.2.2 -> 0.4.0
* grunt-jscs: 1.8.0 -> 2.1.0

Change-Id: I3070938723648ef4e320d6abf88112b9c5a2b802
2015-10-06 17:24:40 -07:00
James D. Forrester 5686adebb5 build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
Change-Id: I7b476da4dc068181208f3054534a1526ea8e0ccb
2015-09-03 14:21:34 -07:00
Kunal Mehta 050b478c00 build: Update banana-checker, add jsonlint
Change-Id: If6efa3f5ee9c4b070916e25d8e1b7d93a6a94e1a
2015-06-12 15:52:10 +00:00
James D. Forrester ac2c2f268e build: Switch from grunt-jscs-checker to grunt-jscs
Use the 'wikimedia' preset, and make pass.

Change-Id: I1923b391bf79cc0992eb02ebe64c969e08354b6f
2015-06-05 18:21:18 -07:00
Kunal Mehta 2940c124d7 build: Updating development dependencies
* grunt: 0.4.2 → 0.4.5
* grunt-contrib-csslint: 0.2.0 → 0.4.0
* grunt-contrib-jshint: 0.10.0 → 0.11.2
* grunt-banana-checker: 0.2.1 → 0.2.2
* grunt-jscs-checker: 0.4.4 → 0.8.1

Change-Id: I7a3be3af2a5665dd8d907beeecb0a2f1bbb94be5
2015-06-05 17:14:44 -07:00
Kunal Mehta d20e1c34c3 test: Add explicit dependency upon grunt-cli
Change-Id: Idf28d5834982bac3dad55b6cd5626725703872d2
2015-05-29 12:44:45 -07:00
James D. Forrester b8adf5764a build: Update grunt-banana-checker to v0.2.1
Change-Id: I0437598add5ab79760e68f937a9d70e45bfb7233
2015-03-27 16:49:45 -07:00
Timo Tijhof 3ecbaefef1 Document code with JSDuck
Change-Id: Ieb812a2fb85135f6db18a9a02c94efd83695a19e
2015-03-06 17:56:30 -08:00
James D. Forrester 64a39ae460 Add a grunt checker for jshint, jscs, csslint, and banana and pass them
There was a pre-existing jshint config (.jshintrc) file that this upgrades based
on the equivalent files for VisualEditor and OOjs UI.

Change-Id: I3ecb0e65cc7ff090b7457be895917fbd8b8afd18
2014-06-03 20:16:18 -07:00