Commit graph

19 commits

Author SHA1 Message Date
Antoine Musso a7c3408cbc Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:41:00 +02:00
Ed Sanders 23e547a9fa build: Update eslint to 0.4.0
Change-Id: Ief28d7ca2459afb6a1ff30ccdd5c97d71e51f243
2017-05-04 22:00:48 +01:00
James D. Forrester 28c8a25a4f 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
2017-02-17 15:27:41 -08:00
Ed Sanders 6565ee4cf5 build: Replace jscs/jshint with eslint
Change-Id: Iff79501de8d80a860eebb4a6e31dc8fca3285505
2016-12-02 22:05:13 +00:00
James D. Forrester f46951c94f build: Fix stylelint devDependencies
Change-Id: Ib2953ff01613c495680edd2b6271efabf181575a
2016-08-05 10:55:11 -07:00
Ed Sanders 479f887af9 Update stylelint-config version
Change-Id: Ib2bfe549ff3c054c4363abbbc3ac78f4b6c6b51c
2016-05-24 15:25:25 +01:00
James D. Forrester c8f4e02651 build: Replace csslint with stylelint and bump others
Change-Id: I84a1b850073ffae51c1c35a4f371cbac23b0d94e
2016-05-20 13:14:59 +01:00
James D. Forrester 9bb3c382f5 build: Bump devDependencies to latest and make pass
grunt-contrib-csslint   0.5.0  →  1.0.0
 grunt-contrib-jshint   0.11.3  →  1.0.0
 grunt-contrib-watch     0.6.1  →  1.0.0
 grunt-jscs              2.1.0  →  2.8.0

Change-Id: Ia6ca7c477b1c7ce8b3fc54994b1abf361c031eda
2016-03-24 08:54:20 -07:00
Timo Tijhof ee283c19fb build: Remove obsolete jscsrc overriddes
Also remove redundant 'name', 'repository' and 'licenses' properties
in package.json.

* Repository: Needslessly hardcodes location of itself. Only relevant for npm publish.
* Licenses: Deprecated in favour of 'license'. Needless duplication
  of COPYING file. Only relevant for npm publish.

Change-Id: I2d8a99cf235fa70279c31367d5371d45a6abd4e5
2016-03-20 04:23:08 +00:00
Kunal Mehta 8e4caaa69c build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I97677abcf72a0fc079fdc6b21a1bf388c0b2a541
2015-12-29 11:57:02 -08:00
James D. Forrester 98fffb3d78 build: Upgrade various devDependencies to latest and make pass
* grunt-contrib-csslint: 0.4.0 -> 0.5.0
* grunt-banana-checker: 0.2.2 -> 0.4.0
* grunt-jscs: 1.8.0 -> 2.1.0

Change-Id: I3070938723648ef4e320d6abf88112b9c5a2b802
2015-10-06 17:24:40 -07:00
James D. Forrester 5686adebb5 build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
Change-Id: I7b476da4dc068181208f3054534a1526ea8e0ccb
2015-09-03 14:21:34 -07:00
Kunal Mehta 050b478c00 build: Update banana-checker, add jsonlint
Change-Id: If6efa3f5ee9c4b070916e25d8e1b7d93a6a94e1a
2015-06-12 15:52:10 +00:00
James D. Forrester ac2c2f268e build: Switch from grunt-jscs-checker to grunt-jscs
Use the 'wikimedia' preset, and make pass.

Change-Id: I1923b391bf79cc0992eb02ebe64c969e08354b6f
2015-06-05 18:21:18 -07:00
Kunal Mehta 2940c124d7 build: Updating development dependencies
* grunt: 0.4.2 → 0.4.5
* grunt-contrib-csslint: 0.2.0 → 0.4.0
* grunt-contrib-jshint: 0.10.0 → 0.11.2
* grunt-banana-checker: 0.2.1 → 0.2.2
* grunt-jscs-checker: 0.4.4 → 0.8.1

Change-Id: I7a3be3af2a5665dd8d907beeecb0a2f1bbb94be5
2015-06-05 17:14:44 -07:00
Kunal Mehta d20e1c34c3 test: Add explicit dependency upon grunt-cli
Change-Id: Idf28d5834982bac3dad55b6cd5626725703872d2
2015-05-29 12:44:45 -07:00
James D. Forrester b8adf5764a build: Update grunt-banana-checker to v0.2.1
Change-Id: I0437598add5ab79760e68f937a9d70e45bfb7233
2015-03-27 16:49:45 -07:00
Timo Tijhof 3ecbaefef1 Document code with JSDuck
Change-Id: Ieb812a2fb85135f6db18a9a02c94efd83695a19e
2015-03-06 17:56:30 -08:00
James D. Forrester 64a39ae460 Add a grunt checker for jshint, jscs, csslint, and banana and pass them
There was a pre-existing jshint config (.jshintrc) file that this upgrades based
on the equivalent files for VisualEditor and OOjs UI.

Change-Id: I3ecb0e65cc7ff090b7457be895917fbd8b8afd18
2014-06-03 20:16:18 -07:00