Skip to content

Commit f16789e

Browse files
committed
feat(deps): update to @typescript-eslint/* v7
1 parent f07ee64 commit f16789e

File tree

4 files changed

+139
-145
lines changed

4 files changed

+139
-145
lines changed

lib/create-testing-library-rule/detect-testing-library-utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
PRESENCE_MATCHERS,
2626
} from '../utils';
2727

28-
const SETTING_OPTION_OFF = 'off' as const;
28+
const SETTING_OPTION_OFF = 'off';
2929

3030
export type TestingLibrarySettings = {
3131
'testing-library/utils-module'?:

lib/rules/no-await-sync-events.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import {
99
isProperty,
1010
} from '../node-utils';
1111

12-
const USER_EVENT_ASYNC_EXCEPTIONS: string[] = ['type', 'keyboard'];
13-
const FIRE_EVENT_OPTION = 'fire-event' as const;
14-
const USER_EVENT_OPTION = 'user-event' as const;
12+
const USER_EVENT_ASYNC_EXCEPTIONS = ['type', 'keyboard'];
13+
const FIRE_EVENT_OPTION = 'fire-event';
14+
const USER_EVENT_OPTION = 'user-event';
1515
const VALID_EVENT_MODULES = [FIRE_EVENT_OPTION, USER_EVENT_OPTION];
1616
const DEFAULT_EVENT_MODULES = [FIRE_EVENT_OPTION];
1717

0 commit comments

Comments
 (0)