Commit graph

20 commits

Author SHA1 Message Date
Ed Sanders e1f5f5487f build: Update linters
Change-Id: I19e2482fa377342b15733f5ef0bebe18e3238cef
2023-09-27 16:07:55 +01:00
Moritz Schubotz (physikerwelt) 81fa5b0c97
Fix significant typo in grammar
* Uq and Dq was mixed
* Simplify regeneration of grammar for node developers
* Speed up npm test by ignoring local test json files

Change-Id: Iec273dcc967be46d3df52260fc56f1969667e497
2022-12-30 16:58:39 +01:00
Ed Sanders 73cbed9cd1 eslint: Lint Gruntile.js using server rules
Change-Id: I87efd77d71d8787300539813da04d8679dca764b
2022-02-07 16:35:42 +00:00
Ed Sanders e489beac5b build: Update eslint-config-wikimedia to 0.16.1
Change-Id: I9c2de727e1a4c7657ccca4dd22a175bfad06a852
2020-06-16 15:59:33 +01:00
Ed Sanders e9bd09f2b3 build: Update linters
Change-Id: I9fc31886e09a0dc0a77449907054136a61eda248
2019-11-01 16:33:18 -07:00
Umherirrender 5ecbf750c1 build: Fix exclude of vendor and node_modules in Gruntfile.js
It should exclude vendor in the root, so there should no `**/` be at the
begin.

Change-Id: Ice2c4d16de258dac5506322d6f4551587b8e3022
2019-10-25 17:39:38 +00:00
Ed Sanders 085ee7dcec build: Update linters
Change-Id: I0d6b323864a0e24f72ec6a823611927ea66ce025
2019-09-17 14:46:05 +01:00
James D. Forrester 67d67dea7c build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Iae12ae140e1e10d97016bca5cf329d80da640343
2019-05-06 16:35:47 -07:00
James D. Forrester 0eac1464c4 build: Upgrade eslint-config-wikimedia from 0.10.0 to 0.11.0
Change-Id: Ia1dc32374abf4756b2d2333aa087a28b6b282ebd
2019-04-03 15:29:36 -07:00
Ed Sanders cf33c80b98 eslint: Use in all folders (including tests/selenium)
Change-Id: I0ab0a9f99817077934e7569d19d76735c33678e9
2018-11-12 17:08:22 +00:00
Umherirrender 239c7dff62 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I79efadb3c75b3c14f81d7bd7848beafef71e2dd9
2017-08-19 09:58:39 +02:00
Ed Sanders 3189409b7c Remove separate stylelint config for VE
Change-Id: I2698ef817a27a783f19b73c2780ba7410640a2b8
2017-04-28 17:37:45 +01:00
Ed Sanders 9e1986131c Remove eslint:fix
Not very useful now rules are stable.

Change-Id: I67407404acbf4f647c800961c46452628981330e
2017-04-28 17:37:45 +01:00
Ed Sanders 40f5a212ab build: Re-use MessageDirs in banana conf
Change-Id: I9cc8593d38154dd092f576443ea3a5c2302d7cd7
2017-01-23 13:48:34 +00:00
Ed Sanders f66ef920fb build: Replace jscs and jshint with eslint
Change-Id: I95f59d9bef6bb8fec69b454dc8efe4b4c7e40805
2016-10-28 11:11:26 -07:00
Ed Sanders 7fa037e120 Fix watch path for css
Change-Id: I854cc44e4848ef077c5e1325ede840c6cc1d5721
2016-05-20 14:01:31 +01:00
Ed Sanders e2139b1657 build: Introduce stylelint to lint for css errors
Also update the rest of the CI world whilst we're at it.

Change-Id: Iaad2867797cccb2dd0df7758e448b553859fa62c
2016-05-19 19:16:00 +01:00
Ed Sanders abad392272 Rename modules/VisualEditor to modules/ve-math
Per new naming convention (i.e. to be consistent with
ve-graph).

Change-Id: I3eae4ce011f0078b204d882a8068f844cd19daa3
2015-09-17 15:10:30 +00:00
Thalia fe3165faff build: Add csshint, jshint and jscs to math extension
Also adds the corrections made to various js files when jscs
was run, and removes an old version of .jshintrc. Only
VisualEditor files are checked by csshint due to clashes with
an upstream bug in the csslint parser. This could be looked
into in the future.

Bug: T112576
Change-Id: I611901040d3b38ae3ef707deb8d25771f043b1d8
2015-09-14 22:28:15 +00:00
Kunal Mehta 7aab828848 build: Configure banana-checker and jsonlint
Change-Id: Ic23af37d4353cfb5f663f84317c862f47ce26637
2015-06-19 21:54:10 -07:00