From 51c317389234aaa392fedd5c2423950ca29bbe11 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 4 Nov 2018 20:29:22 +0000 Subject: [PATCH] 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 --- .eslintrc.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d3d79a4..1a49e0a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,10 +1,11 @@ { + "root": true, "extends": "wikimedia", "env": { - "browser": true, - "jquery": true + "browser": true }, "globals": { - "mw": false + "mw": false, + "$": false } }