Skip to content

feat: add svelte/no-top-level-browser-globals rule #897

feat: add svelte/no-top-level-browser-globals rule

feat: add svelte/no-top-level-browser-globals rule #897

Triggered via pull request May 16, 2025 00:12
Status Failure
Total duration 1m 37s
Artifacts

pkg.pr.new.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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'.