Commit graph

12 commits

Author SHA1 Message Date
jenkins-bot 0ad3562e4b Merge "Migrate from jsduck to jsdoc" 2020-12-04 17:09:34 +00:00
Adam Wight 1ff3ddc105 Lint with "commonsjs" rules
This will allow us to migrate to ResourceLoader "package files"
modules.

Bug: T260343
Change-Id: Id4c0a018ea6f3d9a54d468fc3e6c35bfdf5ce1dd
2020-12-04 16:39:00 +00:00
Adam Wight 1010e6fb78 Migrate from jsduck to jsdoc
Bug: T138401
Change-Id: Iae74fdcae5e8c2541416d8cec8de8221cfc282ef
2020-11-30 21:56:30 +01:00
libraryupgrader e96711d7bb build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: Id43b02523bb5e0a706f64c1a40d1c1841aa3d345
2020-09-04 23:21:12 +00:00
Ed Sanders bf67ec6d52 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: Ib53aa55795f228768a6226eebfdb5734d8a976d1
2020-07-08 13:08:35 +01:00
Kunal Mehta f21a1a0017 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I7f51224c618c89e57e472fdeca52dceed4c05263
2018-12-17 18:58:37 -08: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
James D. Forrester 64367bfebe eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: I61010c115d5660ca76832e5380e12466b5b537f1
2018-11-28 11:14:08 -08: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
Ed Sanders 099805735b Remove duplicate lint rule
Change-Id: Iccea0c7f7bde92edfcf53f1b0b19ac1055fc1d2a
2017-05-03 10:21:53 +01:00
Ed Sanders 6565ee4cf5 build: Replace jscs/jshint with eslint
Change-Id: Iff79501de8d80a860eebb4a6e31dc8fca3285505
2016-12-02 22:05:13 +00:00