Commit graph

4 commits

Author SHA1 Message Date
libraryupgrader d01963f06e build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate

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

Change-Id: Ibaf2ade250d030974492a05c839ad2adf9765572
2020-10-29 09:50:58 +00:00
libraryupgrader 4f092b042c build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
  The following rules are failing and were disabled:
  * no-prototype-builtins

* grunt-eslint: 20.1.0 → 22.0.0
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0
  The following rules are failing and were disabled:
  * rule-empty-line-before

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I5218ef05353b85925bff7fdd4d5eeae0a71ccac2
2020-01-10 13:51:34 +00:00
Kunal Mehta 4c52bdcfdf 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: I154827ec97a7d379a42e3fbb04d562b1a844975c
2018-12-17 18:54:41 -08:00
Fomafix 1416dc5465 Switch from jshint/jscs to eslint
Change-Id: I278905a67c42d268bb4a891c9df34b0fdbf4307d
2018-03-29 22:03:15 +02:00