Skip to content

Commit 54999bd

Browse files
committed
update
1 parent f833e0c commit 54999bd

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/*
2-
* IMPORTANT!
3-
* This file has been automatically generated,
4-
* in order to update its content execute "pnpm run update"
5-
*/
6-
export const name = 'eslint-plugin-svelte' as const;
7-
export const version = '3.4.0' as const;
1+
// IMPORTANT!
2+
// This file has been automatically generated,
3+
// in order to update its content execute "pnpm run update"
4+
export const name = 'eslint-plugin-svelte';
5+
export const version = '3.4.0';

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,9 @@ type SvelteNoInlineStyles = []|[{
488488
allowTransitions?: boolean
489489
}]
490490
// ----- svelte/no-inner-declarations -----
491-
type SvelteNoInnerDeclarations = []|[("functions" | "both")]
491+
type SvelteNoInnerDeclarations = []|[("functions" | "both")]|[("functions" | "both"), {
492+
blockScopedFunctions?: ("allow" | "disallow")
493+
}]
492494
// ----- svelte/no-navigation-without-base -----
493495
type SvelteNoNavigationWithoutBase = []|[{
494496
ignoreGoto?: boolean

packages/eslint-plugin-svelte/src/type-defs/estree.d.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
/*
2-
* IMPORTANT!
3-
* This file has been automatically generated,
4-
* in order to update its content execute "pnpm run update"
5-
*/
1+
// IMPORTANT!
2+
// This file has been automatically generated,
3+
// in order to update its content execute "pnpm run update"
64
//
75
// Replace type information to use "@typescript-eslint/types" instead of "estree".
86
//

packages/eslint-plugin-svelte/src/types-for-node.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
/*
2-
* IMPORTANT!
3-
* This file has been automatically generated,
4-
* in order to update its content execute "pnpm run update"
5-
*/
1+
// IMPORTANT!
2+
// This file has been automatically generated,
3+
// in order to update its content execute "pnpm run update"
64
//
75
// The information here can be calculated by calculating the type,
86
// but is pre-defined to avoid the computational cost.

0 commit comments

Comments
 (0)