Commit graph

18 commits

Author SHA1 Message Date
James D. Forrester 38b41c0f98 build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I6747b5e36f64d681b6f83461f0ebb9c9f88bea86
2019-04-03 15:57:20 -07:00
Ed Sanders 7ed027ddcf build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I776585adab962c2b1d353d18d3a02b6662941b13
2019-02-06 01:42:53 +00:00
Ed Sanders 4d03a4856d Update eslint-config-wikimedia to 0.9.0
Change-Id: Icd7b0f4ca54275c31eb61a759e2c3c9ce0a18952
2018-11-27 22:48:32 +00:00
Volker E b3b9720733 build: Extend 'svgmin' options and move to 'minify' task
Also re-crush all SVGs.

Bug: T185596
Change-Id: I9f2be4b1b5c4c0597d4040250d87c939567cb83b
2018-05-29 10:26:22 -07:00
Volker E 716598242c build: Make SVGO indent with tabs
Change-Id: If069b1f9b877861a21ba8aebdf7d6fc7ef6d8f49
2018-03-26 00:49:43 -07:00
Volker E c9403011c8 build: Bring SVGO optimization to build step
Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:
- enable removeRasterImages and sortAttrs,
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- don't use multipass.

Also updating SVGs accordingly.

Bug: T185596
Change-Id: I2288c7576ac96f8b5c4d5b8671218fceefaf6037
2018-02-09 23:06:28 -08:00
Umherirrender e1560c5998 build: Always exclude vendor
Change-Id: I29da9678f1adcfe9ed75a8e7d0d5e00c29d3a23d
2017-11-07 19:26:19 +01:00
Umherirrender 52d35663bd Use json extension for .stylelintrc
Bug: T173516
Change-Id: Ifb821fcc39fe296273fb73c4b11b8be4f20da587
2017-08-19 09:44:03 +02:00
Ed Sanders a42b461760 build: Re-use MessageDirs in banana conf
Change-Id: Ib3819bac7b8b616ccebf8086fc3cab0d7f56a228
2017-01-23 14:26:17 +00:00
Umherirrender 5562158dac Add i18n/api/ to banana config
Check for valid message files

Change-Id: Ia9cf82b3d9caea05f1ecbbbe78803026cd333b27
2017-01-21 12:29:13 +01:00
Ed Sanders c8d24ebd17 build: Replace jscs/jshint with eslint
Change-Id: Iee1d1b20ed31e636bfb8fc8cf9b18ff328bf608c
2016-11-23 15:25:59 -08:00
Volker E 6d2e560c1e Introduce stylelint
Introducing stylelint with configuration rules compliant to
Wikimedia CSS Coding Standards 'stylelint-config-wikimedia', nullifying
some for now and making majority pass.

Change-Id: I2c4acee41c9b56d9b00e2a2c5b7ab0ab5de454ce
2016-10-04 18:15:02 -07:00
Moriel Schottlender ea89b7d431 Ignore docs folder in all grunt tasks
Change-Id: I9938114502189ed5cd472f4782d2974d5a182283
2016-05-16 13:59:43 -07:00
Paladox 7e0a51b37f build: Remove grunt-contrib-csslint
This is no longer needed and useless since we switched all css files to
less.

Change-Id: I6c0ea55c236be94f3b612de2470585616d831dd8
2016-01-18 19:51:04 -08:00
Paladox a4bf773a49 Recurse into sub folders for jshint and jscs
Change-Id: I3799151bc4cf30f7bcb4bea2f860da9310959444
2015-11-09 12:52:42 +00:00
Matthew Flaschen f9c5808912 Move edit-user-talk to messages
Also:

* Clear the newtalk flag when they mark all their edit-user-talk
  read.

* Remove the section caching system.  It was designed to avoid
  performance problems with Flow messages, but now that standard talk pages
  are in 'messages', messages should be relatively common (alerts
  were already not cached by this).

* Minor cleanups to reflect that messages are not only Flow (and
  a typo fix in the Gruntfile).

Bug: T108760
Change-Id: I82d7b1d08331693830d6a1749612b55e96b95cf9
2015-09-04 18:36:40 -04:00
Kunal Mehta 2c71920c5c build: Adding configuration for jsonlint
Change-Id: I3c0d0c353a75bcc9da5dd3706d6c5dc6d34570fd
2015-06-11 21:32:18 -07:00
Roan Kattouw 5aefeb3f2e Add Grunt infrastructure for CI
* Update package.json based on Flow's
* Add Gruntfile.js based on Flow's
* Add .csslintrc and .jscsrc with rules to silence errors for now

Change-Id: Ia8e23537d8dccbcff9ee336f667dc463590c0235
2015-05-01 20:35:23 -07:00