refactor: migrate linting to Oxlint

This commit is contained in:
Turtle
2026-07-29 14:32:11 +08:00
parent 1f242753ec
commit 95a995968b
88 changed files with 1026 additions and 616 deletions

View File

@@ -32,6 +32,7 @@ class ObservedStateGate {
* the write/edit prior-observation policy.
*/
private owner(actor: object | undefined): object | undefined {
// oxlint-disable-next-line typescript/no-unnecessary-type-assertion -- tsc requires the structural view before property access.
return (actor as FsPolicyExec | undefined)?.agent?.session
}