Commit graph

5 commits

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

Change-Id: I063fcbd4b61b1da9e29a3ce4f2b15a3026289e2d
2021-03-14 06:57:12 +00:00
libraryupgrader 8031ec046d build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* Generic.ControlStructures.DisallowYodaConditions.Found
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic

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

Change-Id: I5fdd27af9331ccdf5640cc65437549155db85dd0
2020-11-04 07:14:28 +00:00
Umherirrender f3aa6a71ff build: Remove unneeded exclude from .eslintrc.json
This reverts parts of commit e948bf3b51.

Change-Id: Ic3dd6651b85a7f46c2fa38fd2d80a129ec1c1346
2020-01-08 19:30:27 +00:00
libraryupgrader e948bf3b51 build: Updating npm dependencies
* 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-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

* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I3a57a2cc46f83ef5792e02e2c2a842dd833d008a
2020-01-08 03:01:44 +00:00
James D. Forrester c1399a6d3d build: Install eslint
Change-Id: Ie129e854469e276022bad488bfc813b550256542
2019-05-07 10:14:19 -07:00