This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
src/rules/typescript-eslint Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ import type { RuleConfig } from '../rule-config' ;
2
+
3
+ /**
4
+ * Require that member overloads be consecutive.
5
+ *
6
+ * @see [adjacent-overload-signatures](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.md)
7
+ */
8
+ export type AdjacentOverloadSignaturesRuleConfig = RuleConfig < [ ] > ;
9
+
10
+ /**
11
+ * Require that member overloads be consecutive.
12
+ *
13
+ * @see [adjacent-overload-signatures](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.md)
14
+ */
15
+ export interface AdjacentOverloadSignaturesRule {
16
+ /**
17
+ * Require that member overloads be consecutive.
18
+ *
19
+ * @see [adjacent-overload-signatures](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.md)
20
+ */
21
+ '@typescript-eslint/adjacent-overload-signatures' : AdjacentOverloadSignaturesRuleConfig ;
22
+ }
Original file line number Diff line number Diff line change
1
+ import type { AdjacentOverloadSignaturesRule } from './adjacent-overload-signatures' ;
1
2
import type { BanTsCommentRule } from './ban-ts-comment' ;
2
3
import type { ExplicitFunctionReturnTypeRule } from './explicit-function-return-type' ;
3
4
import type { InterfaceNamePrefixRule } from './interface-name-prefix' ;
@@ -16,7 +17,8 @@ import type { TypedefRule } from './typedef';
16
17
/**
17
18
* All @typescript-eslint rules.
18
19
*/
19
- export type TypeScriptEslintRules = BanTsCommentRule &
20
+ export type TypeScriptEslintRules = AdjacentOverloadSignaturesRule &
21
+ BanTsCommentRule &
20
22
ExplicitFunctionReturnTypeRule &
21
23
InterfaceNamePrefixRule &
22
24
MemberOrderingRule &
You can’t perform that action at this time.
0 commit comments