Skip to content

Commit 030f590

Browse files
committed
fix lint
1 parent 5754fce commit 030f590

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

ecosystem-tests/cli.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,6 @@ async function withChdir<R>(newDir: string, fn: () => Promise<R>): Promise<R> {
562562
}
563563
}
564564

565-
function checkNever(x: never, detail: any = x): never {
566-
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
567-
throw new Error(`checkNever: impossible to call: ${detail}`);
568-
}
569-
570565
async function pathExists(path: string) {
571566
try {
572567
await fs.access(path);

ecosystem-tests/proxy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ async function startProxy() {
1919

2020
await new Promise<void>((resolve) => proxy.listen(0, '127.0.0.1', resolve));
2121

22-
console.log(proxy.address()!.toString())
22+
console.log(proxy.address()!.toString());
2323

2424
return () => {
25-
proxy.close()
26-
}
25+
proxy.close();
26+
};
2727
}

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default tseslint.config(
1010
parserOptions: { sourceType: 'module' },
1111
},
1212
files: ['**/*.ts', '**/*.mts', '**/*.cts', '**/*.js', '**/*.mjs', '**/*.cjs'],
13-
ignores: ['dist/', 'ecosystem-tests/'],
13+
ignores: ['dist/'],
1414
plugins: {
1515
'@typescript-eslint': tseslint.plugin,
1616
'unused-imports': unusedImports,
@@ -34,7 +34,7 @@ export default tseslint.config(
3434
},
3535
},
3636
{
37-
files: ['tests/**', 'examples/**'],
37+
files: ['tests/**', 'examples/**', 'ecosystem-tests/**'],
3838
rules: {
3939
'no-restricted-imports': 'off',
4040
},

0 commit comments

Comments
 (0)