summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2024-03-16 03:01:25 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-20 08:46:30 +0100
commit96e5d38b55c5af28a118e5d45e0b8a50a848cbbf (patch)
tree207f6197263642f81f95768cfc7f2e98bc92b61b /.eslintrc.yaml
parentRemove jQuery AJAX from the notifications (#29817) (diff)
downloadforgejo-96e5d38b55c5af28a118e5d45e0b8a50a848cbbf.tar.xz
forgejo-96e5d38b55c5af28a118e5d45e0b8a50a848cbbf.zip
Forbid jQuery AJAX (#29818)
Please use the fetch wrapper instead, or even better `htmx`. Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: 6543 <6543@obermui.de> (cherry picked from commit 6ead30dbc469803d7e8361b13217e07d87d6f80d)
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index e9991c02ba..f84cb39a41 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -283,7 +283,7 @@ rules:
i/unambiguous: [0]
init-declarations: [0]
jquery/no-ajax-events: [2]
- jquery/no-ajax: [0]
+ jquery/no-ajax: [2]
jquery/no-animate: [2]
jquery/no-attr: [0]
jquery/no-bind: [2]
@@ -396,7 +396,7 @@ rules:
no-irregular-whitespace: [2]
no-iterator: [2]
no-jquery/no-ajax-events: [2]
- no-jquery/no-ajax: [0]
+ no-jquery/no-ajax: [2]
no-jquery/no-and-self: [2]
no-jquery/no-animate-toggle: [2]
no-jquery/no-animate: [2]