Skip to content

Commit 52706ba

Browse files
committed
build: convert eslint-remote-tester config to typescript
Supporting the larger typescript migration, this change migrates the config for `eslint-remote-tester` to typescript, which will be necessary to run our plugin from source, once it's typescript.
1 parent 14fdcb2 commit 52706ba

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

eslint-remote-tester.config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import eslintPlugin from 'eslint-plugin-eslint-plugin';
21
import tsparser from '@typescript-eslint/parser';
2+
import type { Config } from 'eslint-remote-tester';
3+
4+
// @ts-expect-error - eslint-plugin is not typed yet
5+
import eslintPlugin from './lib/index.js';
36

4-
/** @type {import('eslint-remote-tester').Config} */
57
export default {
68
/** Repositories to scan */
79
repositories: [
@@ -43,6 +45,7 @@ export default {
4345
cache: false,
4446

4547
/** ESLint configuration */
48+
// @ts-expect-error - eslint-plugin is not typed yet
4649
eslintConfig: [
4750
{
4851
files: ['**/*.{js,mjs,cjs,ts,mts,cts}'],
@@ -56,4 +59,4 @@ export default {
5659
},
5760
},
5861
],
59-
};
62+
} satisfies Config;

0 commit comments

Comments
 (0)