Commit graph

17 commits

Author SHA1 Message Date
Ed Sanders 137395538e Fix eslint warnings
Change-Id: I57b11c6b4c6e67bb38bb67a93b06d6d1d3009933
2021-05-23 15:49:49 +01: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 9c9bd59b0c build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

Additional changes:
* Removed global `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ie57d4c78cbd19b1cdbc57a1f161d3ac0ed4d8c5c
2020-11-04 21:37:10 +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 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
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
Ed Sanders be24835f03 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I5cd1842820b8d70484716c9adf5080cb33008f51
2019-03-13 22:45:20 +00:00
Roan Kattouw cd59ae1bf4 Migrate away from deprecated specialCharacters API
Use require('mediawiki.language.specialCharacters') instead of
mw.language.specialCharacters.

Change-Id: I74e706a6603bd8fa899193de91e49f246608c4c1
2019-02-08 17:20:29 -08:00
jenkins-bot 5202afd410 Merge "build: Update eslint-config-wikimedia to 0.10.0" 2019-01-08 23:53:22 +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
Kunal Mehta 7ec8e46e7a build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I6d8efcd3e4a31461c18c7fe20a3de932ef0a35a5
2018-12-17 18:59:48 -08:00
James D. Forrester c47a4b770b eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: If83ed68336e0259c3d2325ba7072d497a8a06a5c
2018-11-28 11:24:51 -08: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 4fa41179e8 Remove obsolete aliases from closures
Bug: T208951
Change-Id: I0b2993912de221e810414e46708c19be163922f6
2018-11-12 22:28:40 +00:00
Ed Sanders 5a5d351aaf build: Update linters
Change-Id: Ib52195a49c7333ab0cc8a703f987126cfc4e603e
2018-09-14 13:19:52 +01:00
Ed Sanders 7eed707a48 Replace jshint/jscs with eslint/stylelint
Change-Id: Ife5e782bd5513e0496e384655b9b203de5c841a5
2016-11-21 21:02:38 +00:00