aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-02-19 13:20:57 +0100
committerGitHub <noreply@github.com>2019-02-19 13:20:57 +0100
commitc10945d0e15c5048ae8b5b7e3f8241ad27671a7c (patch)
treeae5b54aeae5f61a9cf17005596e4e29aaeeb829f /src
parent8751e9ef86c007e55c9e4a2fe3c9212fb2cadcca (diff)
downloadjquery-c10945d0e15c5048ae8b5b7e3f8241ad27671a7c.tar.gz
jquery-c10945d0e15c5048ae8b5b7e3f8241ad27671a7c.zip
Build: Remove obsolete globals from ESLint configuration
We had quite a few obsolete globals declared in various ESLint config files. We also no longer allow to rely on the `noGlobal` & `jQuery` globals in the built file which is not needed. Closes gh-4301
Diffstat (limited to 'src')
-rw-r--r--src/.eslintrc.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/.eslintrc.json b/src/.eslintrc.json
index 3a4a3d257..2083914bd 100644
--- a/src/.eslintrc.json
+++ b/src/.eslintrc.json
@@ -1,5 +1,9 @@
{
"root": true,
- "extends": "../.eslintrc-browser.json"
+ "extends": "../.eslintrc-browser.json",
+
+ "globals": {
+ "jQuery": true
+ }
}