Commit graph

5 commits

Author SHA1 Message Date
libraryupgrader 68e12a83c9 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I0c7faa3794fae5ed0d4da5a58a9342177a9a5add
2020-11-04 06:46:28 +00:00
Umherirrender 586a64e657 build: Remove unneeded exclude from .eslintrc.json
This reverts parts of commit 1cb5c2f93b.

Change-Id: I581ad903e73e3028648a24363232218cee17fe1e
2020-01-08 19:30:42 +00:00
libraryupgrader 1cb5c2f93b build: Updating npm dependencies
* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0
  The following rules are failing and were disabled:
  * brace-style
  * camelcase
  * eqeqeq
  * max-len
  * max-statements-per-line
  * new-cap
  * no-constant-condition
  * no-dupe-keys
  * no-empty
  * no-implicit-globals
  * 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.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I6add315b206d646b00bc39794ae5cdf94d324818
2020-01-08 02:37:33 +00:00
Kunal Mehta b058df99b8 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: I81139c50ce9cde87ecf4b52ad688719735d1f154
2018-12-17 18:57:17 -08:00
Ed Sanders 139d358299 build: Update linters
* jshint->eslint
* load message dirs from conf

Change-Id: Id644c79c96b4e7a6fe0f41223acd9193cf0c8c5e
2018-02-08 14:17:46 +00:00