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 @@ -5,6 +5,7 @@ import type { MemberOrderingRule } from './member-ordering';
5
5
import type { NoExplicitAnyRule } from './no-explicit-any' ;
6
6
import type { NoInferrableTypesRule } from './no-inferrable-types' ;
7
7
import type { NoParameterPropertiesRule } from './no-parameter-properties' ;
8
+ import type { NoUnsafeAssignmentRule } from './no-unsafe-assignment' ;
8
9
9
10
/**
10
11
* All @typescript-eslint rules.
@@ -15,4 +16,5 @@ export type TypeScriptEslintRules = BanTsCommentRule &
15
16
MemberOrderingRule &
16
17
NoExplicitAnyRule &
17
18
NoInferrableTypesRule &
18
- NoParameterPropertiesRule ;
19
+ NoParameterPropertiesRule &
20
+ NoUnsafeAssignmentRule ;
Original file line number Diff line number Diff line change
1
+ import type { RuleConfig } from '../rule-config' ;
2
+
3
+ /**
4
+ * Disallows assigning any to variables and properties.
5
+ *
6
+ * @see [no-unsafe-assignment](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md)
7
+ */
8
+ export type NoUnsafeAssignmentRuleConfig = RuleConfig < [ ] > ;
9
+
10
+ /**
11
+ * Disallows assigning any to variables and properties.
12
+ *
13
+ * @see [no-unsafe-assignment](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md)
14
+ */
15
+ export interface NoUnsafeAssignmentRule {
16
+ /**
17
+ * Disallows assigning any to variables and properties.
18
+ *
19
+ * @see [no-unsafe-assignment](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md)
20
+ */
21
+ '@typescript-eslint/no-unsafe-assignment' : NoUnsafeAssignmentRuleConfig ;
22
+ }
You can’t perform that action at this time.
0 commit comments