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

Commit 602bc32

Browse files
committed
Add rule @typescript-eslint/interface-name-prefix
1 parent aa5b2df commit 602bc32

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import type { BanTsCommentRule } from './ban-ts-comment';
22
import type { ExplicitFunctionReturnTypeRule } from './explicit-function-return-type';
3+
import type { InterfaceNamePrefixRule } from './interface-name-prefix';
34

45
/**
56
* All @typescript-eslint rules.
67
*/
7-
export type TypeScriptEslintRules = BanTsCommentRule & ExplicitFunctionReturnTypeRule;
8+
export type TypeScriptEslintRules = BanTsCommentRule & ExplicitFunctionReturnTypeRule & InterfaceNamePrefixRule;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { RuleConfig } from '../rule-config';
2+
3+
/** @deprecated */
4+
export interface InterfaceNamePrefixRule {
5+
/** @deprecated */
6+
'@typescript-eslint/interface-name-prefix': RuleConfig;
7+
}

0 commit comments

Comments
 (0)