aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-02 00:40:22 +0200
committerGitHub <noreply@github.com>2023-04-01 18:40:22 -0400
commitae361135681477db0dbeb5b42078efe77b4dd5e4 (patch)
treef482204f2a0c46e76767ea235c4e65b2f9f749a5 /.eslintrc.yaml
parenteadda68ded10fe65a6351198b47163eba9762d7a (diff)
downloadgitea-ae361135681477db0dbeb5b42078efe77b4dd5e4.tar.gz
gitea-ae361135681477db0dbeb5b42078efe77b4dd5e4.zip
Remove jQuery ready usage (#23858)
Replace it with equal function of our own and enable the eslint rule to forbid future usage.
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index a73df2ee34..2cde9d2aa5 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -164,7 +164,7 @@ rules:
jquery/no-parse-html: [2]
jquery/no-prop: [0]
jquery/no-proxy: [2]
- jquery/no-ready: [0]
+ jquery/no-ready: [2]
jquery/no-serialize: [2]
jquery/no-show: [2]
jquery/no-size: [2]