mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-08 21:09:23 +08:00
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["unicorn", "typescript", "oxc"],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"perf": "error",
|
|
"suspicious": "error"
|
|
},
|
|
"rules": {
|
|
"curly": "error",
|
|
"eslint-plugin-unicorn/prefer-array-find": "off",
|
|
"eslint/no-await-in-loop": "off",
|
|
"eslint/no-new": "off",
|
|
"oxc/no-accumulating-spread": "off",
|
|
"oxc/no-async-endpoint-handlers": "off",
|
|
"oxc/no-map-spread": "off",
|
|
"typescript/no-extraneous-class": "off",
|
|
"typescript/no-redundant-type-constituents": "off",
|
|
"typescript/no-unnecessary-template-expression": "off",
|
|
"typescript/no-unsafe-type-assertion": "off",
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/require-post-message-target-origin": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
"assets/",
|
|
"dist/",
|
|
"docs/_layouts/",
|
|
"node_modules/",
|
|
"patches/",
|
|
"pnpm-lock.yaml/",
|
|
"skills/",
|
|
"src/canvas-host/a2ui/a2ui.bundle.js",
|
|
"Swabble/",
|
|
"vendor/"
|
|
]
|
|
}
|