Ed Sanders
0faac32661
eslint: Lint Gruntile.js using server rules
...
Change-Id: Ib0e7d62343689bb993476cb1ad40f93fc89a7190
2022-02-07 16:25:32 +00:00
libraryupgrader
b5cae2deed
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: I1484baf844452307972f6f3904a4e1dba9bd9fed
2021-03-13 07:17:44 +00:00
Ed Sanders
2518861bc1
build: Update devDependencies
...
Change-Id: I2f2967a1525c6a66eba2f5fc225e74b89380c5dd
2020-06-12 22:51:38 +01:00
libraryupgrader
32f0200ad4
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
The following rules are failing and were disabled:
* mediawiki/class-doc
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1
Change-Id: Ib86ef0f1d74240a618b5694c2c749d63184d2956
2020-04-22 06:41:41 +00:00
Ed Sanders
4d8cca6473
build: Update linters
...
Change-Id: Icb1da99172253d5ccb7064885285dbb268e20fd3
2019-11-15 16:20:25 +00:00
Ed Sanders
e65e832f73
build: Update linters
...
Change-Id: Ibfd882d833e6adde10606b3fd50ef8ec635e25bf
2019-10-07 16:53:12 +01:00
Ed Sanders
37b49bfdc4
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I7ca5276791d9add0709387422016d7193e8d9945
2019-03-06 12:10:29 +00:00
Kunal Mehta
b5a2b5deec
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: I7f96f21d586e198abbeb965471dec620abecd845
2018-12-17 18:54:12 -08:00
James D. Forrester
854b63e18a
eslint: Drop 'dot-notation' rule
...
Bug: T210552
Change-Id: I76b2f32645ba43927b424a1fea5bc3bf2d08447b
2018-11-28 10:31:21 -08:00
Ed Sanders
7604581cc1
Remove obsolete aliases from closures
...
Bug: T208951
Change-Id: I64c2966b7c41d6b2b1911e2fb52e4c7364bf7964
2018-11-12 13:19:41 +00:00
Ed Sanders
1be09a9a1d
build: Update linters
...
Change-Id: I8d3aaf0b7d453033b72e5d6622b8f54df2c86bca
2018-09-12 00:03:19 +01:00
Ed Sanders
7b01a98ad0
VisualEditor source mode support
...
Long-term todo:
* Performance will be poor on large pages due
to using a auto-height textarea which CodeMirror
doesn't optimise.
Change-Id: I16598fcdbeee51e6fae88376ec81f1c8552b383d
2017-05-08 16:54:10 +01:00
Ed Sanders
66ba217ba2
build: Replace jshint/jscs with eslint, introduce stylelint
...
Change-Id: I9b5afb39f5a0d32e722b2a1f56c219b8c85b451c
2017-03-21 16:45:56 +00:00