gitea/tools
silverwind 37208fef7e
Fix a number of `strictNullChecks`-related issues (#35795)
In preparation to work on enabling
https://www.typescriptlang.org/tsconfig/#strictNullChecks, I fixed all
the issues outside of `web_src` that came up when the option was
enabled. There was also one lint issue in web_src that apparently only
came up with the option enabled, so I fixed that as well.

`isTruthy` is introduced because Typescript has a bug regarding
`filter(Boolean)` which they are seemingly unwilling to fix.

---------

Signed-off-by: silverwind <me@silverwind.io>
2025-11-03 20:17:06 +00:00
..
codeformat Move `codeformat` folder to tools (#35758) 2025-10-28 11:23:50 +00:00
code-batch-process.go Move `codeformat` folder to tools (#35758) 2025-10-28 11:23:50 +00:00
generate-images.ts Migrate tools and configs to typescript, require node.js >= 22.18.0 (#35421) 2025-09-06 12:58:25 +00:00
generate-svg-vscode-extensions.json Fix file icon mapping (#33855) 2025-03-11 21:06:59 +08:00
generate-svg.ts Fix a number of `strictNullChecks`-related issues (#35795) 2025-11-03 20:17:06 +00:00
gocovmerge.go Misc tool tweaks (#35734) 2025-10-23 09:07:39 +00:00
lint-go-gopls.sh Upgrade `gopls` to v0.19.0, add `make fix` (#34772) 2025-06-18 19:30:40 +00:00
lint-templates-svg.ts Migrate tools and configs to typescript, require node.js >= 22.18.0 (#35421) 2025-09-06 12:58:25 +00:00
test-echo.go Misc tool tweaks (#35734) 2025-10-23 09:07:39 +00:00
watch.sh move some scripts from 'build' to 'tools' directory, misc refactors (#29844) 2024-03-17 23:12:36 +01:00