gitea/web_src/js/utils
silverwind 224b7881d9
Forbid localStorage access in eslint (#36461)
Followup to
59f812bc1c,
enforce using our localStorage wrapper in eslint.

Also did a few tweaks in the eslint config, like removing the incomplete
list of globals, this is a non-issue with typescript.

---------

Signed-off-by: silverwind <me@silverwind.io>
2026-01-27 19:59:51 +00:00
..
color.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
color.ts Change function description comments to tsdoc style (#35185) 2025-07-31 15:59:34 -07:00
dom.test.ts Update JS dependencies, adjust webpack config, misc fixes (#36431) 2026-01-24 07:35:46 +00:00
dom.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
glob.test.ts Update eslint to v9 (#35485) 2025-09-14 19:15:06 +03:00
glob.test.txt Fix different behavior in status check pattern matching with double stars (#35474) 2025-09-13 11:53:27 +08:00
glob.ts Fix different behavior in status check pattern matching with double stars (#35474) 2025-09-13 11:53:27 +08:00
html.test.ts Improve html escape (#34911) 2025-07-01 21:44:05 +08:00
html.ts Update eslint to v9 (#35485) 2025-09-14 19:15:06 +03:00
image.test.ts Forbid localStorage access in eslint (#36461) 2026-01-27 19:59:51 +00:00
image.ts Update eslint to v9 (#35485) 2025-09-14 19:15:06 +03:00
match.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
match.ts Add `knip` linter (#36442) 2026-01-24 12:52:13 +00:00
testhelper.ts Migrate to `import.meta.env` and clean up types and eslint (#36362) 2026-01-15 11:01:23 +00:00
time.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
time.ts Update eslint to v9 (#35485) 2025-09-14 19:15:06 +03:00
url.test.ts Enable more markdown paste features in textarea editor (#35494) 2025-09-16 23:55:57 +00:00
url.ts Enable more markdown paste features in textarea editor (#35494) 2025-09-16 23:55:57 +00:00