diff options
author | silverwind <me@silverwind.io> | 2023-04-02 00:40:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 18:40:22 -0400 |
commit | ae361135681477db0dbeb5b42078efe77b4dd5e4 (patch) | |
tree | f482204f2a0c46e76767ea235c4e65b2f9f749a5 /.eslintrc.yaml | |
parent | eadda68ded10fe65a6351198b47163eba9762d7a (diff) | |
download | gitea-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.yaml | 2 |
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] |