mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:40:49 +00:00
chore: move oxlint tsconfigs under config
This commit is contained in:
@@ -84,7 +84,7 @@ export function applyLocalOxlintPolicy(args, env, hostResources) {
|
||||
const nextArgs = [...args];
|
||||
|
||||
insertBeforeSeparator(nextArgs, "--type-aware");
|
||||
insertBeforeSeparator(nextArgs, "--tsconfig", "tsconfig.oxlint.json");
|
||||
insertBeforeSeparator(nextArgs, "--tsconfig", "config/tsconfig/oxlint.json");
|
||||
insertBeforeSeparator(nextArgs, "--allow", "eslint/no-underscore-dangle");
|
||||
if (
|
||||
!hasFlag(nextArgs, "--report-unused-disable-directives") &&
|
||||
|
||||
@@ -23,15 +23,15 @@ if ((prepareResult.status ?? 1) !== 0) {
|
||||
const shards = [
|
||||
{
|
||||
name: "core",
|
||||
args: ["--tsconfig", "tsconfig.oxlint.core.json", "src", "ui", "packages"],
|
||||
args: ["--tsconfig", "config/tsconfig/oxlint.core.json", "src", "ui", "packages"],
|
||||
},
|
||||
{
|
||||
name: "extensions",
|
||||
args: ["--tsconfig", "tsconfig.oxlint.extensions.json", "extensions"],
|
||||
args: ["--tsconfig", "config/tsconfig/oxlint.extensions.json", "extensions"],
|
||||
},
|
||||
{
|
||||
name: "scripts",
|
||||
args: ["--tsconfig", "tsconfig.oxlint.scripts.json", "scripts"],
|
||||
args: ["--tsconfig", "config/tsconfig/oxlint.scripts.json", "scripts"],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user