File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import type { Linter } from '@typescript-eslint/utils/ts- eslint'
1+ import type { Linter } from 'eslint'
22import { version } from '../package.json'
33import lowerCaseTitle , { RULE_NAME as lowerCaseTitleName } from './rules/prefer-lowercase-title'
44import 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
260260const 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
337337export default plugin
You can’t perform that action at this time.
0 commit comments