We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-param-reassign
1 parent d715781 commit 8f630ebCopy full SHA for 8f630eb
lib/types/rules/best-practices.d.ts
@@ -685,16 +685,22 @@ export interface BestPractices extends Linter.RulesRecord {
685
*/
686
"no-param-reassign": Linter.RuleEntry<
687
[
688
- Partial<{
689
- /**
690
- * @default false
691
- */
692
- props: boolean;
693
694
- * @default []
695
696
- ignorePropertyModificationsFor: string[];
697
- }>,
+ | {
+ props?: false;
+ }
+ | ({
+ props: true;
+ } & Partial<{
+ /**
+ * @default []
+ */
+ ignorePropertyModificationsFor: string[];
698
699
+ * @since 6.6.0
700
701
702
+ ignorePropertyModificationsForRegex: string[];
703
+ }>),
704
]
705
>;
706
0 commit comments