mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-14 00:01:53 +00:00
feat(task): replace built-in task adaptors with a sandboxed JS plugin system (#7076)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "../web/node_modules/oxlint/configuration_schema.json",
|
||||
"plugins": ["oxc"],
|
||||
"categories": {
|
||||
"correctness": "error",
|
||||
"suspicious": "warn"
|
||||
},
|
||||
"env": {
|
||||
"builtin": true
|
||||
},
|
||||
"globals": {
|
||||
"console": "readonly",
|
||||
"utils": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
||||
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^e$" }],
|
||||
"no-underscore-dangle": ["warn", { "allow": ["__fileRef"] }],
|
||||
"no-undef": "error",
|
||||
"no-var": "error"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user