Commit graph

8 commits

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

Change-Id: I02b5785042760e16a734248f1087b1c11f2f52fd
2021-03-14 00:44:51 +00:00
libraryupgrader 3748153a1c build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

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

Change-Id: Ic5fe53a400a8b39820b470b98a2016143404435b
2020-10-28 17:20:51 +00:00
Ed Sanders 5cd258817b eslint: Remove rules exceptions
Change-Id: I456b63da7b047683d287bed856ffb4449b415bad
2020-04-27 09:06:13 -07:00
libraryupgrader 7b209c4f58 build: Updating npm dependencies
* grunt-banana-checker: 0.7.1 → 0.8.1
* eslint-config-wikimedia: 0.13.1 → 0.14.3
  The following rules are failing and were disabled:
  * brace-style
  * camelcase
  * eqeqeq
  * max-len
  * max-statements-per-line
  * new-cap
  * no-alert
  * no-console
  * no-constant-condition
  * no-dupe-keys
  * no-empty
  * no-implicit-globals
  * no-jquery/no-global-selector
  * no-mixed-spaces-and-tabs
  * no-redeclare
  * no-tabs
  * no-undef
  * no-underscore-dangle
  * no-unused-vars
  * no-use-before-define
  * no-useless-concat
  * one-var
  * valid-jsdoc
  * vars-on-top

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ia589740d8d63eb5d6c3f2add26539ab5f38ac039
2019-10-22 05:11:03 +00:00
Ed Sanders 2e3f4ee488 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I6299e2c479fe4106d180f6969f0abda291c51819
2019-02-10 16:06:13 +00:00
Kunal Mehta 1cd89bbd50 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: Ic4e3051e2a74b7576f27f076b043d3046761c4b1
2018-12-17 18:56:04 -08:00
Ed Sanders 1558e4515f Remove obsolete aliases from closures
Bug: T208951
Change-Id: I1375167c846b09943c174ae56482a8339d6051ed
2018-11-12 16:06:19 +00:00
Ed Sanders 8415ede5af build: Replace jshint/jscs with eslint
Change-Id: I7ba96e9ea01dd833235caf138c3ae9a9058ea22f
2017-05-11 16:24:21 +01:00