feat: add svelte/no-top-level-browser-globals
rule
#897
Annotations
4 errors
build
Process completed with exit code 2.
|
build
Argument of type 'HasKeyAttr' is not assignable to parameter of type 'SvelteAttribute | SvelteShorthandAttribute | SvelteDirective | SvelteStyleDirective | SvelteSpecialDirective | SvelteGenericsDirective'.
|
build
Argument of type '(attribute: SvelteAttribute | SvelteShorthandAttribute | SvelteSpreadAttribute | SvelteDirective | SvelteStyleDirective | SvelteSpecialDirective | SvelteGenericsDirective) => string[]' is not assignable to parameter of type '(this: undefined, value: SvelteAttribute | SvelteShorthandAttribute | SvelteSpreadAttribute | SvelteAttachTag | SvelteDirective | SvelteStyleDirective | SvelteSpecialDirective | SvelteGenericsDirective, index: number, array: (SvelteAttribute | ... 6 more ... | SvelteGenericsDirective)[]) => string | readonly string[]'.
|
build
Argument of type 'SvelteAttribute | SvelteShorthandAttribute | SvelteSpreadAttribute | SvelteAttachTag | SvelteDirective | SvelteStyleDirective | SvelteSpecialDirective | SvelteGenericsDirective' is not assignable to parameter of type 'SvelteAttribute | SvelteShorthandAttribute | SvelteSpreadAttribute | SvelteDirective | SvelteStyleDirective | SvelteSpecialDirective | SvelteGenericsDirective'.
|