Anders Kaseorg
|
e8a30060ee
|
js: Enable no-jquery/no-constructor-attributes.
https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/docs/rules/no-constructor-attributes.md
The motivation for this rule is a subtle caveat buried in the
documentation:
https://api.jquery.com/jquery/#jQuery-html-attributes
“While the second argument is convenient, its flexibility can lead to
unintended consequences (e.g. $( "<input>", {size: "4"} ) calling the
.size() method instead of setting the size attribute).”
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2022-08-16 13:42:28 -07:00 |
Anders Kaseorg
|
6aec27e646
|
js: Fix no-jquery/no-parse-html-literal.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2022-03-17 13:16:34 -07:00 |
Anders Kaseorg
|
e32ec3f7eb
|
ui_report: Fix inappropriate $ prefix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2022-03-17 13:16:34 -07:00 |
Anders Kaseorg
|
f84a2c08d5
|
js: Prefix jQuery object variable names with $.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2022-03-16 12:52:07 -07:00 |
Priyank Patel
|
f7235912ff
|
ts: Convert ui_report module to TypeScript.
|
2021-06-22 09:09:36 -07:00 |