Skip to content

Commit 6ead30d

Browse files
yardenshoham6543
andauthored
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>
1 parent 043f55f commit 6ead30d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.eslintrc.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ rules:
283283
i/unambiguous: [0]
284284
init-declarations: [0]
285285
jquery/no-ajax-events: [2]
286-
jquery/no-ajax: [0]
286+
jquery/no-ajax: [2]
287287
jquery/no-animate: [2]
288288
jquery/no-attr: [0]
289289
jquery/no-bind: [2]
@@ -396,7 +396,7 @@ rules:
396396
no-irregular-whitespace: [2]
397397
no-iterator: [2]
398398
no-jquery/no-ajax-events: [2]
399-
no-jquery/no-ajax: [0]
399+
no-jquery/no-ajax: [2]
400400
no-jquery/no-and-self: [2]
401401
no-jquery/no-animate-toggle: [2]
402402
no-jquery/no-animate: [2]

0 commit comments

Comments
 (0)