feat(task): replace built-in task adaptors with a sandboxed JS plugin system (#7076)

This commit is contained in:
Calcium-Ion
2026-08-29 18:51:57 +08:00
committed by GitHub
parent 7037ac15bd
commit eb48396d5f
336 changed files with 52333 additions and 6369 deletions
+22
View File
@@ -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"
}
}