Commit graph

9 commits

Author SHA1 Message Date
libraryupgrader 9e8171867e build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I03280687b9740a26c27319c15f3aea9d41c28674
2021-03-14 04:29:18 +00:00
libraryupgrader 3b00441a5b build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Removed globals `mw`, `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: I01a98843715f98793da99b19b0130aab6f04a7b1
2020-11-04 05:11:20 +00:00
James D. Forrester 4314ecdfd7 build: Fix max-len rule
Change-Id: Icf881651c5aa2928b1c686a9318f10416eaee431
2019-04-06 17:15:07 -07:00
James D. Forrester d584d7caa4 build: Fix no-undef rule
Change-Id: Ia473353d487c59f7c6ea7f07c9cfcbfc16d082a1
2019-04-06 17:15:07 -07:00
James D. Forrester 7aabb5450d build: Fix vars-on-top and one-var rules
Change-Id: I70612df6e936229f95bce96b3abff508c74a8a03
2019-04-06 17:15:07 -07:00
James D. Forrester f3c558e148 build: Scrap default IIFE with default globals
Change-Id: I423325dcab6af1aa3e0a76d78928686571145dac
2019-04-06 17:15:07 -07:00
James D. Forrester a4257261af build: Enable quotes rule and make pass
Change-Id: If987ce711b83b7e88b9ed279786b5320af17341e
2019-04-06 17:06:22 -07:00
James D. Forrester b4269c1037 build: Enable whitespace rules and make pass
Change-Id: I67f46bf01ccd42e9d3473e7238cc6cf6494e1505
2019-04-06 17:05:17 -07:00
MarcoAurelio a97fe82c40 build: Replace deprecated jshint with eslint and make pass
Bug: T220161
Change-Id: I768d7da58f0ebb1ae10b41510d4a0b48a1139e3c
2019-04-06 16:54:39 -07:00