feat: add oxlint with correctness defaults (#22682)

This commit is contained in:
Kit Langton 2026-04-15 20:45:19 -04:00 committed by GitHub
parent a554fad232
commit 3d6f90cb53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 165 additions and 122 deletions

10
.oxlintrc.json Normal file
View file

@ -0,0 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/nicolo-ribaudo/oxc-project.github.io/refs/heads/json-schema/src/public/.oxlintrc.schema.json",
"rules": {
// 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"
},
"ignorePatterns": ["**/node_modules", "**/dist", "**/.build", "**/.sst", "**/*.d.ts"]
}