Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 41399a4

Browse files
committed
Strictify no-case-declarations and no-debugger
1 parent 91ab1ae commit 41399a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/eslint/no-case-declarations.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { RuleConfig } from '../rule-config';
55
*
66
* @see [no-case-declarations](https://eslint.org/docs/rules/no-case-declarations)
77
*/
8-
export type NoCaseDeclarationsRuleConfig = RuleConfig;
8+
export type NoCaseDeclarationsRuleConfig = RuleConfig<[]>;
99

1010
/**
1111
* Disallow lexical declarations in case/default clauses.

src/rules/eslint/no-debugger.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { RuleConfig } from '../rule-config';
55
*
66
* @see [no-debugger](https://eslint.org/docs/rules/no-debugger)
77
*/
8-
export type NoDebuggerRuleConfig = RuleConfig;
8+
export type NoDebuggerRuleConfig = RuleConfig<[]>;
99

1010
/**
1111
* Disallow the use of debugger.

0 commit comments

Comments
 (0)