Commit graph

4 commits

Author SHA1 Message Date
Ed Sanders e93b13a4f1 build: Update linters
Change-Id: Ib6b6d6590d6f2c5158ddad6664bbfce5efc7ceb8
2023-07-01 14:26:21 +01:00
libraryupgrader 5fc41bb340 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingVar
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I73a5f722738dff75c623cf631bfa7e3dcf8d6f82
2020-10-29 13:34:25 +00:00
Kunal Mehta c0696732b2 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: Ibf2b5483a108da4cde1c7db34e15bbf5e6b3d260
2018-12-17 18:55:22 -08:00
Ed Sanders 696051142d build: jshint -> eslint
Change-Id: Ifb33021326bfe6d2fafc80afbace9f593a35ca39
2018-11-12 14:30:52 +00:00