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

Commit 9c1ef78

Browse files
committed
Don't generate empty array generic by default
1 parent 83adcbc commit 9c1ef78

File tree

192 files changed

+192
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+192
-192
lines changed

scripts/generate-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Object.entries((eslintPluginVue as Plugin).rules).forEach(([name, { meta }]) =>
3737
/**
3838
*
3939
*/
40-
export type ${pascalCase(name)}RuleConfig = RuleConfig<[]>;
40+
export type ${pascalCase(name)}RuleConfig = RuleConfig;
4141
4242
/**
4343
*

src/rules/vue/array-bracket-newline.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type ArrayBracketNewlineRuleConfig = RuleConfig<[]>;
6+
export type ArrayBracketNewlineRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/array-bracket-spacing.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type ArrayBracketSpacingRuleConfig = RuleConfig<[]>;
6+
export type ArrayBracketSpacingRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/arrow-spacing.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type ArrowSpacingRuleConfig = RuleConfig<[]>;
6+
export type ArrowSpacingRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/attribute-hyphenation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type AttributeHyphenationRuleConfig = RuleConfig<[]>;
6+
export type AttributeHyphenationRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/attributes-order.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type AttributesOrderRuleConfig = RuleConfig<[]>;
6+
export type AttributesOrderRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/block-lang.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type BlockLangRuleConfig = RuleConfig<[]>;
6+
export type BlockLangRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/block-spacing.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type BlockSpacingRuleConfig = RuleConfig<[]>;
6+
export type BlockSpacingRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/block-tag-newline.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type BlockTagNewlineRuleConfig = RuleConfig<[]>;
6+
export type BlockTagNewlineRuleConfig = RuleConfig;
77

88
/**
99
*

src/rules/vue/brace-style.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { RuleConfig } from '../rule-config';
33
/**
44
*
55
*/
6-
export type BraceStyleRuleConfig = RuleConfig<[]>;
6+
export type BraceStyleRuleConfig = RuleConfig;
77

88
/**
99
*

0 commit comments

Comments
 (0)