Commit graph

4 commits

Author SHA1 Message Date
Ed Sanders
7712f1bf22 build: Update eslint-config-wikimedia to 0.10.0
Change-Id: I58983b156eab7090c245ad6febfa47f1552c7188
2019-01-14 21:00:07 +00:00
Timo Tijhof
51c3173892 build: Add 'root' and '$' settings
Follows-up 6bdb0c68c.

* Ensure consistent use of '$' over 'jQuery'
  (already followed in the code, but not previously ensured.)

* Prevent future issues similar to those fixed by 6bdb0c68c, by
  disabling inheritence from any parent directories.

Change-Id: Ifa2cb20b224403ad4c6137e0f690fa4233dd942e
2018-11-04 20:29:22 +00:00
Bartosz Dziewoński
6bdb0c68c9 .eslintrc.json: Add "mw" to globals
It seems that this setting was being inherited from MediaWiki core
until recently, but now it's not.

Change-Id: Ibd38d7340d5281a6fd4e6d54eb9f7ef72e3df107
2018-11-02 08:38:36 +01:00
Ed Sanders
19bca1e31a build: Introduce eslint & styleint and make a pass
Change-Id: I56c8c516ea8ac177ff4b46472ece1a3782c188d7
2017-01-23 15:14:01 +00:00