mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 00:47:57 +00:00
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["unicorn", "typescript", "oxc"],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"perf": "error",
|
|
"suspicious": "error"
|
|
},
|
|
"rules": {
|
|
"curly": "off",
|
|
"eslint-plugin-unicorn/prefer-array-find": "off",
|
|
"eslint-plugin-unicorn/no-array-sort": "off",
|
|
"eslint/no-await-in-loop": "off",
|
|
"eslint/no-underscore-dangle": "off",
|
|
"eslint/no-new": "off",
|
|
"oxc/no-accumulating-spread": "off",
|
|
"oxc/no-async-endpoint-handlers": "off",
|
|
"oxc/no-map-spread": "off",
|
|
"typescript/no-explicit-any": "error",
|
|
"typescript/no-extraneous-class": "off",
|
|
"typescript/no-unnecessary-boolean-literal-compare": "off",
|
|
"typescript/no-unnecessary-type-assertion": "off",
|
|
"typescript/no-unsafe-type-assertion": "off",
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/require-post-message-target-origin": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
".output/",
|
|
".tanstack/",
|
|
"convex/_generated/",
|
|
"coverage/",
|
|
"dist/",
|
|
"node_modules/",
|
|
"public/",
|
|
"src/routeTree.gen.ts",
|
|
"test-results/"
|
|
]
|
|
}
|