Commit Graph

15 Commits

Author SHA1 Message Date
James D. Forrester
be400fe751 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ie5c456ce74674194fd10b3e05a283f32bac60f2f
2019-05-07 11:19:24 -07:00
Ed Sanders
c080452013 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Ic59891fab5f8e35420bddbed34072841883fa543
2019-03-13 23:41:14 +00:00
Ed Sanders
7bf345669a build: Update linters
eslint-config-wikimedia      0.8.1  →   0.9.0
 stylelint-config-wikimedia   0.4.3  →   0.5.0

Change-Id: I0f55e743c2f38bb8910931c3989a6516e0527703
2018-12-10 14:24:24 +00:00
Alangi Derick
445087e5fe Add recent pattern for ESLinting to repo
Use of all: '.' in Gruntfile.js for eslint config and
eslintIgnore in package.json to ignore linting the "vendor/"
etc directory.

Bug: T203648
Change-Id: I65756ab3b6f413021cedeb22c7933c6cffa2cb78
2018-09-06 18:05:42 +00:00
Volker E
f3d48beef7 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
- make use of pretty, indent and multipass options.

Also updating SVG accordingly.

Bug: T185596
Change-Id: I0030a711a2947ca8c1eb4e56d8540661c72a2639
2018-05-20 08:55:05 +00:00
Ed Sanders
3d00c5d8f6 Remove eslint:fix
Not very useful now rules are stable.

Change-Id: Iafc8a393449bdd1909385fb14d051b11255f7cca
2017-04-28 17:29:59 +01:00
Ed Sanders
d9b300e697 build: Re-use MessageDirs in banana conf
Change-Id: Idf2ef6e5b3b8b77a7422161e80fa479016aa0ff3
2017-01-23 14:18:14 +00:00
Ed Sanders
811944c49a build: Replace jscs+jshint with eslint
Change-Id: I7f114267fbb4efd62a9162758445cff4fb3c0973
2016-11-09 15:57:38 +00:00
Ed Sanders
e6dcdb56c4 Introduce stylelint and make pass
Change-Id: Iaf12e7773f21d42ff59591680abdf248bf121224
2016-05-25 09:24:47 +02:00
Ed Sanders
aaa144ca1d Bump package versions and sort
Remove grunt-cli as included by grunt.

Change-Id: If8f2a363ac9bbdf93979390087ac6c48959c5f40
2016-05-25 06:53:01 +00:00
Niklas Laxström
12b355b733 Add vendor to ignore for linters
Change-Id: Icfdc8f23485eee63e7aa33ed4405f8bcb51a0d9d
2016-05-18 09:52:23 +00:00
Siebrand Mazeland
6a2b2e0bba Update test files
- Updated versions and order of checkers.
- Some consistency updates in Gruntfile.js.
- Updates to make jscs pass.

Change-Id: I7ed93596ff383dc713bd17af2da0472be934d59d
2016-02-18 18:51:37 +00:00
paladox
e623702647 Add grunt-jscs
Change-Id: I0213d16e4e1dc3819ae0a663b896033ca572a37d
2015-09-23 09:40:45 +00:00
paladox
b436eab7af Add jshint to npm
Add jshint to gruntfile.js

Change-Id: I1b741215dd04db9dded330dbbd3ba901e20566d1
2015-09-21 07:58:17 +00:00
Kunal Mehta
ba2135f84e build: Configure banana-checker and jsonlint
Change-Id: Ie75e8b79e0b5b50d415c221e52fda73b6a2763f9
2015-06-20 22:32:53 -07:00