e30e75b5d4
Changesets / Create Version PR (push) Waiting to run
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
97 lines
2.6 KiB
JSON
97 lines
2.6 KiB
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["typescript", "react", "import", "oxc"],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"perf": "off",
|
|
"suspicious": "off",
|
|
"pedantic": "off",
|
|
"style": "off",
|
|
"restriction": "off",
|
|
"nursery": "off"
|
|
},
|
|
"rules": {
|
|
"no-explicit-any": "off",
|
|
"no-array-index-key": "off",
|
|
"no-non-null-assertion": "off",
|
|
"no-namespace": "off",
|
|
"react/forward-ref-uses-ref": "off",
|
|
"react/no-array-index-key": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/exhaustive-deps": "warn",
|
|
"react/rules-of-hooks": "warn",
|
|
"no-unused-vars": "off",
|
|
"typescript/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"ignoreRestSiblings": true
|
|
}
|
|
],
|
|
"no-labels": "error",
|
|
"no-empty-pattern": "warn",
|
|
"no-prototype-builtins": "off",
|
|
"import/no-duplicates": "off",
|
|
"typescript/triple-slash-reference": "off",
|
|
"no-unsafe-optional-chaining": "warn",
|
|
"require-yield": "off",
|
|
"no-eval": "off",
|
|
"no-unused-expressions": "off",
|
|
"typescript/no-this-alias": "off",
|
|
"typescript/no-unnecessary-parameter-property-assignment": "off",
|
|
"oxc/const-comparisons": "warn"
|
|
},
|
|
"ignorePatterns": [
|
|
"**/dist/**",
|
|
"**/node_modules/**",
|
|
"**/.next/**",
|
|
"**/.vercel/**",
|
|
"**/out/**",
|
|
"**/.source/**",
|
|
"**/next-env.d.ts",
|
|
"**/.tanstack/**",
|
|
"**/.output/**",
|
|
"**/routeTree.gen.ts",
|
|
"**/*.html",
|
|
"**/build/**",
|
|
"**/.turbo/**",
|
|
"**/coverage/**",
|
|
"api-surface/**",
|
|
"apps/docs/components/tool-ui/weather-widget/generated/**"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"packages/ui/src/components/ui/**",
|
|
"packages/ui/src/components/assistant-ui/**",
|
|
"packages/ui/src/components/icons/**",
|
|
"templates/*/components/ui/**",
|
|
"templates/*/components/assistant-ui/**",
|
|
"templates/*/components/icons/**"
|
|
],
|
|
"rules": {
|
|
"react/exhaustive-deps": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"packages/core/src/react/runtimes/RemoteThreadListThreadListRuntimeCore.tsx",
|
|
"packages/core/src/react/runtimes/RemoteThreadListHookInstanceManager.tsx",
|
|
"packages/react/src/unstable/**",
|
|
"packages/react/src/context/react/utils/createStateHookForRuntime.ts"
|
|
],
|
|
"rules": {
|
|
"react/rules-of-hooks": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["packages/tap/src/__tests__/**"],
|
|
"rules": {
|
|
"react/exhaustive-deps": "off",
|
|
"react/rules-of-hooks": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|