Commit graph

7 commits

Author SHA1 Message Date
Umherirrender 377298b26f build: Use existing eslint also for json linting
Bug: T220036
Change-Id: I4adc34e96d61cd18013bfc9eeee1a836f0509782
2020-09-12 13:42:25 +02: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
libraryupgrader c8fc6e7268 build: Updating npm dependencies
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I482262ac0eee54fefab8d5f9523a711d9c5e154d
2019-08-01 23:21:14 +00:00
takidelfin e0d100ca60 Replaced CSSLint with StyleLint
Removed old csslint package and added grunt-stylelint and stylelint
config for Wikimedia. Fixed the violations caused by this change.

Bug: T206506
Change-Id: Ieb1f087de859f5321c4f1fe65c0e3bf7b655ca15
2018-11-25 23:53:51 +00:00
Fomafix 1416dc5465 Switch from jshint/jscs to eslint
Change-Id: I278905a67c42d268bb4a891c9df34b0fdbf4307d
2018-03-29 22:03:15 +02:00
Umherirrender d973bb7a7b build: Always exclude vendor and node_modules
Change-Id: Icc4f36c64da5836957289f4985f131b1dc09b1b3
2017-11-10 20:23:27 +01:00
Florian 97c134e397 Improve documentation of code and add test features (npm, composer)
Also: Add license (MIT).

Change-Id: Ia184b396b648ecb4ef30b40d13618e2ecf72294a
2016-01-10 19:31:07 +01:00