Commit graph

16 commits

Author SHA1 Message Date
Ed Sanders 053d1a9d8b build: Update linters
Change-Id: Ie6e85abdc0714adf4d89e515967bf2ab4c393215
2018-09-13 22:13:56 +01:00
Ed Sanders 2c3213485d build: Introduce eslint-plugin-qunit and enforce
Change-Id: I16c00628a0f8a4f505fc0c78991bd7d9394c18d9
2018-06-06 12:17:23 -07:00
Volker E d1f416278a Bring SVGO optimization to build step
Enabling SVGO automation with conservative plugin set, among those:
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- don't use multipass,
- enable removeRasterImages and sortAttrs

Bug: T185596
Change-Id: Ic13afb6e1cbc4d26af7a100cb7a916619fb4158e
2018-01-24 00:27:53 -08:00
Ed Sanders 42b577bae9 build: Update linters
Change-Id: I7262fb369df0428c39adaf55128b83f019afb4c0
2017-10-31 18:42:04 +00:00
Antoine Musso e0018d31c1 Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:27:37 +02:00
Ed Sanders 2264e5fdec build: Update eslint to 0.4.0 and make a pass
Change-Id: I444cfd511121a0547901ed87c9aedd410e7920bd
2017-05-17 11:30:45 +01:00
James D. Forrester 436bdca6a3 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
Depends-On: If53a735458703f0bd2c094349edf86f38f05ccd7
2017-02-18 02:01:45 +00:00
Ed Sanders d7ea64137c build: Replace jshint/jscs with eslint
Change-Id: I423add157245353031e36b7e44fee7ace7c753c7
2017-01-10 10:24:39 -08:00
jdlrobson 4372c5380b Upgrade stylelint
The old version is throwing errors.

Change-Id: Ibd708045ab7c9f09f664f1b1099bb4d490ab0151
2016-09-26 17:06:07 -07:00
Ed Sanders e7ff2ba8b6 build: Introduce stylelint and make pass
Change-Id: I6f97359c6f34f2e5687ce91ab9926c493e613bf5
2016-07-19 13:51:05 -07:00
Ed Sanders b46529d1b2 build: Introduce jshint & jscs and make a pass
These replace the hard-coded jshint task in CI.

Change-Id: Id14eec1ecba4ceae735ffd10f9114233a580302f
2016-07-19 13:48:06 -07:00
Ed Sanders 488514fd8d Sort and update packages
Change-Id: Idb5bd753d299de07973a10897fc92e03c4084eed
2016-07-18 13:47:12 +01:00
Prateek Saxena 8f1762a420 docs: Use the standard way of generating documentation
* Move the files from the docs directory
* Remove the generate script
* Add npm task

Change-Id: I2b404e132aab0be563c7abb9145ab607242c94cd
2016-03-11 16:13:50 +05:30
Kunal Mehta d2003e4861 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I3eb7ac596a7d23fcf4b69aa932ed30602aab788a
2015-12-29 11:41:52 -08:00
Kunal Mehta 643b14723f build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: Idada5b1b622e516730ef3d283432036c0bbbfb2f
2015-10-11 11:52:52 -04:00
Kunal Mehta d996d5e6ae build: Configure banana-checker and jsonlint
Change-Id: If625ff9a3324ac0835afa9fa03d6e5041d3ea331
2015-06-19 21:55:50 -07:00