summaryrefslogtreecommitdiffhomepage
path: root/.oxlintrc.json
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-15 21:33:54 -0400
committerGitHub <[email protected]>2026-04-15 21:33:54 -0400
commitf7d4665e4091c88c2fde0f9db70d6333f83b86fd (patch)
tree6ba0c28c195c73bfe93e2db478592a5de1d39733 /.oxlintrc.json
parentbbdbc107ae1f935f9694fc36b79c833643ee87a4 (diff)
downloadopencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.tar.gz
opencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.zip
fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
Diffstat (limited to '.oxlintrc.json')
-rw-r--r--.oxlintrc.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/.oxlintrc.json b/.oxlintrc.json
index 0875f3832..c366084ee 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -4,7 +4,13 @@
// Effect uses `function*` with Effect.gen/Effect.fnUntraced that don't always yield
"require-yield": "off",
// SolidJS uses `let ref: T | undefined` for JSX ref bindings assigned at runtime
- "no-unassigned-vars": "off"
+ "no-unassigned-vars": "off",
+ // SolidJS tracks reactive deps by reading properties inside createEffect
+ "no-unused-expressions": "off",
+ // Intentional control char matching (ANSI escapes, null byte sanitization)
+ "no-control-regex": "off",
+ // SST and plugin tools require triple-slash references
+ "triple-slash-reference": "off"
},
"ignorePatterns": ["**/node_modules", "**/dist", "**/.build", "**/.sst", "**/*.d.ts"]
}