We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3312d commit d70a58bCopy full SHA for d70a58b
Herebyfile.mjs
@@ -12,6 +12,8 @@ import which from "which";
12
const __filename = url.fileURLToPath(new URL(import.meta.url));
13
const __dirname = path.dirname(__filename);
14
15
+const isCI = !!process.env.CI;
16
+
17
const $pipe = _$({ verbose: "short" });
18
const $ = _$({ verbose: "short", stdio: "inherit" });
19
@@ -134,7 +136,7 @@ export const lint = task({
134
136
if (!isInstalled(customLinterPath)) {
135
137
await buildCustomLinter();
138
}
- await $`${customLinterPath} run ${options.fix ? ["--fix"] : []}`;
139
+ await $`${customLinterPath} run ${options.fix ? ["--fix"] : []} ${isCI ? ["--timeout=5m"] : []}`;
140
},
141
});
142
0 commit comments