Skip to content

Commit 9219505

Browse files
authored
fix: type definitions (#736)
1 parent 74439c0 commit 9219505

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Linter } from '@typescript-eslint/utils/ts-eslint'
1+
import type { Linter } from 'eslint'
22
import { version } from '../package.json'
33
import lowerCaseTitle, { RULE_NAME as lowerCaseTitleName } from './rules/prefer-lowercase-title'
44
import maxNestedDescribe, { RULE_NAME as maxNestedDescribeName } from './rules/max-nested-describe'
@@ -255,7 +255,7 @@ const rules = {
255255
[preferCalledTimesName]: preferCalledTimes,
256256
[preferExpectTypeOfName]: preferExpectTypeOf,
257257
[warnTodoName]: warnTodo
258-
}
258+
} as const
259259

260260
const plugin = {
261261
meta: {
@@ -330,8 +330,8 @@ const plugin = {
330330
onTestFinished: 'writable',
331331
},
332332
},
333-
},
334-
},
335-
}
333+
} as const satisfies Linter.Config,
334+
} as const,
335+
} as const
336336

337337
export default plugin

0 commit comments

Comments
 (0)