summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-01-28 13:00:11 -0800
committerGitHub <noreply@github.com>2022-01-28 21:00:11 +0000
commit19b017f3986655468d72b383141256f11d58c186 (patch)
tree3d9856a8515936f704f4be2dc008365092dbef7e /.eslintrc
parent7b04c97b7b0fd96676c94e02a857a43a6ef32b3d (diff)
downloadgitea-19b017f3986655468d72b383141256f11d58c186.tar.gz
gitea-19b017f3986655468d72b383141256f11d58c186.zip
Use explicit jQuery import, remove unused eslint globals (#18435)
- Don't rely on globals (window.$) for jQuery import - Remove eslint globals no longer in use
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc4
1 files changed, 0 insertions, 4 deletions
diff --git a/.eslintrc b/.eslintrc
index b65d3528a8..646e66836a 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -23,9 +23,6 @@ env:
globals:
__webpack_public_path__: true
- CodeMirror: false
- Dropzone: false
- SimpleMDE: false
settings:
html/html-extensions: [".tmpl"]
@@ -34,7 +31,6 @@ overrides:
- files: ["web_src/**/*.js", "web_src/**/*.vue", "templates/**/*.tmpl"]
env:
browser: true
- jquery: true
node: false
- files: ["templates/**/*.tmpl"]
rules: