Commit graph

29 commits

Author SHA1 Message Date
libraryupgrader dc4a4288c7 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I2629a209a541220730ba9aee9f1436edb7a9cbce
2019-06-09 00:52:41 +00:00
James D. Forrester 68c4348935 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I4510c552189ae7b0f458cb82f389dff7f14a0a96
2019-05-07 10:50:20 -07:00
Ed Sanders 6671a09959 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Ia109737bc7a0828dfdad14e4e2163d2add0c651c
2019-03-13 16:33:25 -07:00
Ed Sanders 49d469b2d1 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: Ia8baa12906d4f23fcdf07a0bb664b4a3435d18df
2019-02-10 22:14:11 +00:00
Ed Sanders 47c3c69baa Update eslint-config-wikimedia to 0.9.0
Also bump stylelint (no fixes required)

Change-Id: Ia6bd3a8c0392eafb939f9ff05827e1320f56b706
2018-11-29 14:19:33 +00:00
Ed Sanders 9a8c807f51 eslint: Introduce wikimedia/qunit ruleset
Change-Id: I3972918c00e69d325c5cb2055d4996a8c07b1034
2018-11-15 23:21:32 +00:00
Ed Sanders 0736e6d572 build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: I21d7b4e1418f2f9bf22d380b1302158c56ab4886
2018-11-15 23:14:32 +00:00
libraryupgrader b27e61ec3b build: Updating npm dependencies for security issues
* Updated grunt-contrib-watch to 1.1.0, addressing:
  * https://npmjs.com/advisories/534
  * CVE-2017-16137
  * https://npmjs.com/advisories/577
  * CVE-2018-3721
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: Ic7cc2041d63519835b3c569989a7c7c43738fb08
2018-10-11 11:15:00 +00:00
Ed Sanders ecaa84dda6 build: Update linters
Change-Id: Ia8229d0982d093215a46b1308d44d0b15bfd4811
2018-02-04 22:10:45 +00:00
Ed Sanders 6c7d8a43c3 build: Update linters
Change-Id: Idb5705ef24c0731c47f33b310a9a3fb2fa5f2227
2017-10-03 16:23:24 +01:00
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