Skip to content

Commit e4f255e

Browse files
committed
fix
1 parent 372e455 commit e4f255e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/eslint-plugin-svelte/src/rule-types.ts

-2
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,7 @@ type SveltePreferClassDirective = []|[{
525525
type SveltePreferConst = []|[{
526526
destructuring?: ("any" | "all")
527527
ignoreReadBeforeAssign?: boolean
528-
additionalProperties?: never
529528
excludedRunes?: string[]
530-
[k: string]: unknown | undefined
531529
}]
532530
// ----- svelte/shorthand-attribute -----
533531
type SvelteShorthandAttribute = []|[{

packages/eslint-plugin-svelte/src/rules/prefer-const.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ export default createRule('prefer-const', {
6161
properties: {
6262
destructuring: { enum: ['any', 'all'] },
6363
ignoreReadBeforeAssign: { type: 'boolean' },
64-
additionalProperties: false,
6564
excludedRunes: {
6665
type: 'array',
6766
items: {
6867
type: 'string'
6968
}
7069
}
71-
}
70+
},
71+
additionalProperties: false
7272
}
7373
]
7474
},

0 commit comments

Comments
 (0)