diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-02-19 13:20:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 13:20:57 +0100 |
commit | c10945d0e15c5048ae8b5b7e3f8241ad27671a7c (patch) | |
tree | ae5b54aeae5f61a9cf17005596e4e29aaeeb829f /src | |
parent | 8751e9ef86c007e55c9e4a2fe3c9212fb2cadcca (diff) | |
download | jquery-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.json | 6 |
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 + } } |