Repository: sveltejs/eslint-plugin-svelte Branch: main Commit: 21253c49bf65 Files: 2914 Total size: 2.2 MB Directory structure: gitextract_0ybn3993/ ├── .changeset/ │ ├── README.md │ └── config.json ├── .devcontainer/ │ └── devcontainer.json ├── .editorconfig ├── .env-cmdrc.json ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yml │ │ ├── feature_request.yml │ │ ├── new_rule_request.yml │ │ └── other.md │ └── workflows/ │ ├── GHPages.yml │ ├── NodeCI.yml │ ├── Release.yml │ ├── pkg.pr.new-comment.yml │ ├── pkg.pr.new.yml │ └── stale.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .vscode/ │ ├── extensions.json │ └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs/ │ ├── README.md │ ├── migration.md │ ├── rules/ │ │ ├── @typescript-eslint/ │ │ │ └── no-unnecessary-condition.md │ │ ├── block-lang.md │ │ ├── button-has-type.md │ │ ├── comment-directive.md │ │ ├── consistent-selector-style.md │ │ ├── derived-has-same-inputs-outputs.md │ │ ├── experimental-require-slot-types.md │ │ ├── experimental-require-strict-events.md │ │ ├── first-attribute-linebreak.md │ │ ├── html-closing-bracket-new-line.md │ │ ├── html-closing-bracket-spacing.md │ │ ├── html-quotes.md │ │ ├── html-self-closing.md │ │ ├── indent.md │ │ ├── infinite-reactive-loop.md │ │ ├── max-attributes-per-line.md │ │ ├── max-lines-per-block.md │ │ ├── mustache-spacing.md │ │ ├── no-add-event-listener.md │ │ ├── no-at-debug-tags.md │ │ ├── no-at-html-tags.md │ │ ├── no-dom-manipulating.md │ │ ├── no-dupe-else-if-blocks.md │ │ ├── no-dupe-on-directives.md │ │ ├── no-dupe-style-properties.md │ │ ├── no-dupe-use-directives.md │ │ ├── no-dynamic-slot-name.md │ │ ├── no-export-load-in-svelte-module-in-kit-pages.md │ │ ├── no-extra-reactive-curlies.md │ │ ├── no-goto-without-base.md │ │ ├── no-ignored-unsubscribe.md │ │ ├── no-immutable-reactive-statements.md │ │ ├── no-inline-styles.md │ │ ├── no-inner-declarations.md │ │ ├── no-inspect.md │ │ ├── no-navigation-without-base.md │ │ ├── no-navigation-without-resolve.md │ │ ├── no-not-function-handler.md │ │ ├── no-object-in-text-mustaches.md │ │ ├── no-raw-special-elements.md │ │ ├── no-reactive-functions.md │ │ ├── no-reactive-literals.md │ │ ├── no-reactive-reassign.md │ │ ├── no-restricted-html-elements.md │ │ ├── no-shorthand-style-property-overrides.md │ │ ├── no-spaces-around-equal-signs-in-attribute.md │ │ ├── no-store-async.md │ │ ├── no-svelte-internal.md │ │ ├── no-target-blank.md │ │ ├── no-top-level-browser-globals.md │ │ ├── no-trailing-spaces.md │ │ ├── no-unknown-style-directive-property.md │ │ ├── no-unnecessary-state-wrap.md │ │ ├── no-unused-class-name.md │ │ ├── no-unused-props.md │ │ ├── no-unused-svelte-ignore.md │ │ ├── no-useless-children-snippet.md │ │ ├── no-useless-mustaches.md │ │ ├── prefer-class-directive.md │ │ ├── prefer-const.md │ │ ├── prefer-destructured-store-props.md │ │ ├── prefer-style-directive.md │ │ ├── prefer-svelte-reactivity.md │ │ ├── prefer-writable-derived.md │ │ ├── require-each-key.md │ │ ├── require-event-dispatcher-types.md │ │ ├── require-event-prefix.md │ │ ├── require-optimized-style-attribute.md │ │ ├── require-store-callbacks-use-set-param.md │ │ ├── require-store-reactive-access.md │ │ ├── require-stores-init.md │ │ ├── shorthand-attribute.md │ │ ├── shorthand-directive.md │ │ ├── sort-attributes.md │ │ ├── spaced-html-comment.md │ │ ├── system.md │ │ ├── valid-compile.md │ │ ├── valid-each-key.md │ │ ├── valid-prop-names-in-kit-pages.md │ │ └── valid-style-parse.md │ ├── rules.md │ └── user-guide.md ├── docs-svelte-kit/ │ ├── eslint.config.mjs │ ├── package.json │ ├── src/ │ │ ├── app.css │ │ ├── app.html │ │ ├── lib/ │ │ │ ├── footer/ │ │ │ │ └── Footer.svelte │ │ │ ├── header/ │ │ │ │ └── Header.svelte │ │ │ ├── sidemenu/ │ │ │ │ ├── SideMenu.svelte │ │ │ │ └── UlMenu.svelte │ │ │ └── utils.js │ │ ├── reset.css │ │ └── routes/ │ │ ├── +error.svelte │ │ ├── +layout.js │ │ ├── +layout.svelte │ │ └── 404/ │ │ └── +page.svelte │ ├── svelte.config.js │ ├── tools/ │ │ ├── generate-routes.mts │ │ ├── highlight.mts │ │ ├── markdown-it-container-option.mts │ │ ├── markdown-it-markdown.mts │ │ ├── markdown-it-replace-link.mts │ │ ├── markdown-it-title.mts │ │ └── vite-plugin-svelte-md-option.mts │ ├── tsconfig.json │ └── vite.config.ts ├── package.json ├── packages/ │ └── eslint-plugin-svelte/ │ ├── .env-cmdrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── babel.config.cjs │ ├── eslint.config.mjs │ ├── internal-rules/ │ │ └── prefer-find-variable-safe.ts │ ├── package.json │ ├── postcss.config.cjs │ ├── src/ │ │ ├── configs/ │ │ │ └── flat/ │ │ │ ├── all.ts │ │ │ ├── base.ts │ │ │ ├── prettier.ts │ │ │ └── recommended.ts │ │ ├── index.ts │ │ ├── main.ts │ │ ├── meta.ts │ │ ├── processor/ │ │ │ └── index.ts │ │ ├── rule-types.ts │ │ ├── rules/ │ │ │ ├── @typescript-eslint/ │ │ │ │ └── no-unnecessary-condition.ts │ │ │ ├── block-lang.ts │ │ │ ├── button-has-type.ts │ │ │ ├── comment-directive.ts │ │ │ ├── consistent-selector-style.ts │ │ │ ├── derived-has-same-inputs-outputs.ts │ │ │ ├── experimental-require-slot-types.ts │ │ │ ├── experimental-require-strict-events.ts │ │ │ ├── first-attribute-linebreak.ts │ │ │ ├── html-closing-bracket-new-line.ts │ │ │ ├── html-closing-bracket-spacing.ts │ │ │ ├── html-quotes.ts │ │ │ ├── html-self-closing.ts │ │ │ ├── indent-helpers/ │ │ │ │ ├── ast.ts │ │ │ │ ├── commons.ts │ │ │ │ ├── es.ts │ │ │ │ ├── index.ts │ │ │ │ ├── offset-context.ts │ │ │ │ ├── svelte.ts │ │ │ │ └── ts.ts │ │ │ ├── indent.ts │ │ │ ├── infinite-reactive-loop.ts │ │ │ ├── max-attributes-per-line.ts │ │ │ ├── max-lines-per-block.ts │ │ │ ├── mustache-spacing.ts │ │ │ ├── no-add-event-listener.ts │ │ │ ├── no-at-debug-tags.ts │ │ │ ├── no-at-html-tags.ts │ │ │ ├── no-dom-manipulating.ts │ │ │ ├── no-dupe-else-if-blocks.ts │ │ │ ├── no-dupe-on-directives.ts │ │ │ ├── no-dupe-style-properties.ts │ │ │ ├── no-dupe-use-directives.ts │ │ │ ├── no-dynamic-slot-name.ts │ │ │ ├── no-export-load-in-svelte-module-in-kit-pages.ts │ │ │ ├── no-extra-reactive-curlies.ts │ │ │ ├── no-goto-without-base.ts │ │ │ ├── no-ignored-unsubscribe.ts │ │ │ ├── no-immutable-reactive-statements.ts │ │ │ ├── no-inline-styles.ts │ │ │ ├── no-inner-declarations.ts │ │ │ ├── no-inspect.ts │ │ │ ├── no-navigation-without-base.ts │ │ │ ├── no-navigation-without-resolve.ts │ │ │ ├── no-not-function-handler.ts │ │ │ ├── no-object-in-text-mustaches.ts │ │ │ ├── no-raw-special-elements.ts │ │ │ ├── no-reactive-functions.ts │ │ │ ├── no-reactive-literals.ts │ │ │ ├── no-reactive-reassign.ts │ │ │ ├── no-restricted-html-elements.ts │ │ │ ├── no-shorthand-style-property-overrides.ts │ │ │ ├── no-spaces-around-equal-signs-in-attribute.ts │ │ │ ├── no-store-async.ts │ │ │ ├── no-svelte-internal.ts │ │ │ ├── no-target-blank.ts │ │ │ ├── no-top-level-browser-globals.ts │ │ │ ├── no-trailing-spaces.ts │ │ │ ├── no-unknown-style-directive-property.ts │ │ │ ├── no-unnecessary-state-wrap.ts │ │ │ ├── no-unused-class-name.ts │ │ │ ├── no-unused-props.ts │ │ │ ├── no-unused-svelte-ignore.ts │ │ │ ├── no-useless-children-snippet.ts │ │ │ ├── no-useless-mustaches.ts │ │ │ ├── prefer-class-directive.ts │ │ │ ├── prefer-const.ts │ │ │ ├── prefer-destructured-store-props.ts │ │ │ ├── prefer-style-directive.ts │ │ │ ├── prefer-svelte-reactivity.ts │ │ │ ├── prefer-writable-derived.ts │ │ │ ├── reference-helpers/ │ │ │ │ └── svelte-store.ts │ │ │ ├── require-each-key.ts │ │ │ ├── require-event-dispatcher-types.ts │ │ │ ├── require-event-prefix.ts │ │ │ ├── require-optimized-style-attribute.ts │ │ │ ├── require-store-callbacks-use-set-param.ts │ │ │ ├── require-store-reactive-access.ts │ │ │ ├── require-stores-init.ts │ │ │ ├── shorthand-attribute.ts │ │ │ ├── shorthand-directive.ts │ │ │ ├── sort-attributes.ts │ │ │ ├── spaced-html-comment.ts │ │ │ ├── system.ts │ │ │ ├── valid-compile.ts │ │ │ ├── valid-each-key.ts │ │ │ ├── valid-prop-names-in-kit-pages.ts │ │ │ └── valid-style-parse.ts │ │ ├── shared/ │ │ │ ├── comment-directives.ts │ │ │ ├── index.ts │ │ │ ├── runes.ts │ │ │ └── svelte-compile-warns/ │ │ │ ├── extract-leading-comments.ts │ │ │ ├── ignore-comment.ts │ │ │ ├── index.ts │ │ │ └── transform/ │ │ │ ├── babel.ts │ │ │ ├── less.ts │ │ │ ├── postcss.ts │ │ │ ├── sass.ts │ │ │ ├── stylus.ts │ │ │ ├── types.ts │ │ │ └── typescript.ts │ │ ├── type-defs/ │ │ │ ├── @eslint-community/ │ │ │ │ └── eslint-utils.d.ts │ │ │ ├── estree.d.ts │ │ │ ├── postcss/ │ │ │ │ └── lib/ │ │ │ │ └── tokenize.d.ts │ │ │ └── postcss-safe-parser/ │ │ │ └── lib/ │ │ │ └── safe-parser.d.ts │ │ ├── types-for-node.ts │ │ ├── types.ts │ │ └── utils/ │ │ ├── ast-utils.ts │ │ ├── cache.ts │ │ ├── css-utils/ │ │ │ ├── index.ts │ │ │ ├── resource.ts │ │ │ ├── style-attribute.ts │ │ │ ├── template-safe-parser.ts │ │ │ ├── template-tokenize.ts │ │ │ └── utils.ts │ │ ├── element-occurences.ts │ │ ├── element-types.ts │ │ ├── eslint-core.ts │ │ ├── events.ts │ │ ├── expression-affixes.ts │ │ ├── get-node-module.ts │ │ ├── get-package-json.ts │ │ ├── index.ts │ │ ├── lines-and-columns.ts │ │ ├── load-module.ts │ │ ├── regexp.ts │ │ ├── rules.ts │ │ ├── svelte-context.ts │ │ └── ts-utils/ │ │ └── index.ts │ ├── tests/ │ │ ├── fixtures/ │ │ │ └── rules/ │ │ │ ├── @typescript-eslint/ │ │ │ │ └── no-unnecessary-condition/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── binary-expression01-errors.yaml │ │ │ │ │ ├── binary-expression01-input.svelte │ │ │ │ │ ├── binary-expression01-output.svelte │ │ │ │ │ ├── example-errors.yaml │ │ │ │ │ ├── example-input.svelte │ │ │ │ │ ├── example-output.svelte │ │ │ │ │ ├── nullish-coalescing01-errors.yaml │ │ │ │ │ ├── nullish-coalescing01-input.svelte │ │ │ │ │ ├── nullish-coalescing01-output.svelte │ │ │ │ │ ├── optional-chaining01-errors.yaml │ │ │ │ │ ├── optional-chaining01-input.svelte │ │ │ │ │ ├── optional-chaining01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── reactive-statement01-input.svelte │ │ │ │ └── template01-input.svelte │ │ │ ├── block-lang/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── script/ │ │ │ │ │ │ ├── enforce/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── no-script01-errors.yaml │ │ │ │ │ │ │ └── no-script01-input.svelte │ │ │ │ │ │ ├── javascript/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── javascript-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ │ ├── ts01-errors.yaml │ │ │ │ │ │ │ ├── ts01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ ├── js/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── js-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ │ ├── ts01-errors.yaml │ │ │ │ │ │ │ ├── ts01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ ├── module-context/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ │ ├── ts-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── ts-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ ├── multiple/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── null-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── ts-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── ts-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── typescript-as-style-lang01-errors.yaml │ │ │ │ │ │ │ └── typescript-as-style-lang01-input.svelte │ │ │ │ │ │ ├── null/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── null-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── ts01-errors.yaml │ │ │ │ │ │ │ ├── ts01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ ├── shorthand/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ │ ├── ts-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── ts-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ ├── ts/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ │ ├── ts-as-style-lang01-errors.yaml │ │ │ │ │ │ │ ├── ts-as-style-lang01-input.svelte │ │ │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ │ │ └── typescript/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── javascript01-errors.yaml │ │ │ │ │ │ ├── javascript01-input.svelte │ │ │ │ │ │ ├── js01-errors.yaml │ │ │ │ │ │ ├── js01-input.svelte │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ ├── ts01-errors.yaml │ │ │ │ │ │ ├── ts01-input.svelte │ │ │ │ │ │ ├── typescript-as-style-lang01-errors.yaml │ │ │ │ │ │ └── typescript-as-style-lang01-input.svelte │ │ │ │ │ └── style/ │ │ │ │ │ ├── enforce/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── no-style01-errors.yaml │ │ │ │ │ │ └── no-style01-input.svelte │ │ │ │ │ ├── null/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── null-as-script-lang01-errors.yaml │ │ │ │ │ │ ├── null-as-script-lang01-input.svelte │ │ │ │ │ │ ├── sass01-errors.yaml │ │ │ │ │ │ ├── sass01-input.svelte │ │ │ │ │ │ ├── scss01-errors.yaml │ │ │ │ │ │ └── scss01-input.svelte │ │ │ │ │ ├── sass/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ │ ├── sass-as-script-lang01-errors.yaml │ │ │ │ │ │ ├── sass-as-script-lang01-input.svelte │ │ │ │ │ │ ├── scss01-errors.yaml │ │ │ │ │ │ └── scss01-input.svelte │ │ │ │ │ └── scss/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── null01-errors.yaml │ │ │ │ │ ├── null01-input.svelte │ │ │ │ │ ├── sass01-errors.yaml │ │ │ │ │ ├── sass01-input.svelte │ │ │ │ │ ├── scss-as-script-lang01-errors.yaml │ │ │ │ │ └── scss-as-script-lang01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── non-svelte/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── non-svelte01-input.ts │ │ │ │ │ └── non-svelte02-input.js │ │ │ │ ├── script/ │ │ │ │ │ ├── enforce/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ └── script-present01-input.svelte │ │ │ │ │ ├── javascript/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ │ ├── js/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ │ ├── multiple/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ │ ├── null/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── no-lang01-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ │ ├── shorthand/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ │ ├── ts/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ │ ├── correct-lang02-input.svelte │ │ │ │ │ │ ├── correct-lang03-input.svelte │ │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ │ ├── style-lang01-input.svelte │ │ │ │ │ │ ├── style-lang02-input.svelte │ │ │ │ │ │ └── style-lang03-input.svelte │ │ │ │ │ └── typescript/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ ├── no-script01-input.svelte │ │ │ │ │ └── style-lang01-input.svelte │ │ │ │ └── style/ │ │ │ │ ├── enforce/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── style-present01-input.svelte │ │ │ │ ├── null/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── no-lang01-input.svelte │ │ │ │ │ ├── no-style01-input.svelte │ │ │ │ │ └── script-lang01-input.svelte │ │ │ │ ├── sass/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ │ ├── no-style01-input.svelte │ │ │ │ │ └── script-lang01-input.svelte │ │ │ │ └── scss/ │ │ │ │ ├── _config.json │ │ │ │ ├── correct-lang01-input.svelte │ │ │ │ ├── no-style01-input.svelte │ │ │ │ └── script-lang01-input.svelte │ │ │ ├── button-has-type/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── button-false/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── invalid-button-errors.yaml │ │ │ │ │ │ └── invalid-button-input.svelte │ │ │ │ │ ├── reset-false/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── invalid-reset-errors.yaml │ │ │ │ │ │ └── invalid-reset-input.svelte │ │ │ │ │ ├── submit-false/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── invalid-submit-errors.yaml │ │ │ │ │ │ └── invalid-submit-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── consistent-selector-style/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── global/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── should-be-id01-errors.yaml │ │ │ │ │ │ ├── should-be-id01-input.svelte │ │ │ │ │ │ ├── should-be-type01-errors.yaml │ │ │ │ │ │ └── should-be-type01-input.svelte │ │ │ │ │ ├── id-class-type/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── should-be-id-combination01-errors.yaml │ │ │ │ │ │ ├── should-be-id-combination01-input.svelte │ │ │ │ │ │ ├── should-be-id01-errors.yaml │ │ │ │ │ │ └── should-be-id01-input.svelte │ │ │ │ │ ├── id-type-class/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── should-be-id01-errors.yaml │ │ │ │ │ │ ├── should-be-id01-input.svelte │ │ │ │ │ │ ├── should-be-type01-errors.yaml │ │ │ │ │ │ └── should-be-type01-input.svelte │ │ │ │ │ ├── type-class-id/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── should-be-type01-errors.yaml │ │ │ │ │ │ └── should-be-type01-input.svelte │ │ │ │ │ └── type-id-class/ │ │ │ │ │ ├── should-be-id-with-components01-errors.yaml │ │ │ │ │ ├── should-be-id-with-components01-input.svelte │ │ │ │ │ ├── should-be-id01-errors.yaml │ │ │ │ │ ├── should-be-id01-input.svelte │ │ │ │ │ ├── should-be-type-with-components01-errors.yaml │ │ │ │ │ ├── should-be-type-with-components01-input.svelte │ │ │ │ │ ├── should-be-type01-errors.yaml │ │ │ │ │ └── should-be-type01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── class-id-type/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class-scss01-input.svelte │ │ │ │ │ └── class01-input.svelte │ │ │ │ ├── class-type-id/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class-scss01-input.svelte │ │ │ │ │ └── class01-input.svelte │ │ │ │ ├── id-class-type/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── id-scss01-input.svelte │ │ │ │ │ ├── id01-input.svelte │ │ │ │ │ └── svelte-5/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ └── class01-input.svelte │ │ │ │ ├── id-type-class/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── id-scss01-input.svelte │ │ │ │ │ ├── id01-input.svelte │ │ │ │ │ └── type01-input.svelte │ │ │ │ ├── type/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── id01-input.svelte │ │ │ │ │ ├── type-scss01-input.svelte │ │ │ │ │ └── type01-input.svelte │ │ │ │ ├── type-class-id/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── type-scss01-input.svelte │ │ │ │ │ └── type01-input.svelte │ │ │ │ ├── type-id/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── id01-input.svelte │ │ │ │ │ ├── type-scss01-input.svelte │ │ │ │ │ └── type01-input.svelte │ │ │ │ └── type-id-class/ │ │ │ │ ├── class-dynamic-prefix01-input.svelte │ │ │ │ ├── class-dynamic-suffix01-input.svelte │ │ │ │ ├── class-dynamic-universal01-input.svelte │ │ │ │ ├── class01-input.svelte │ │ │ │ ├── global01-input.svelte │ │ │ │ ├── id-dynamic-prefix01-input.svelte │ │ │ │ ├── id-dynamic-suffix01-input.svelte │ │ │ │ ├── id-dynamic-universal01-input.svelte │ │ │ │ ├── id01-input.svelte │ │ │ │ ├── recursive-loop01-input.svelte │ │ │ │ ├── type-scss01-input.svelte │ │ │ │ └── type01-input.svelte │ │ │ ├── derived-has-same-inputs-outputs/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.js │ │ │ │ └── valid/ │ │ │ │ └── test01-input.js │ │ │ ├── experimental-require-slot-types/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── no-slot-types01-errors.yaml │ │ │ │ │ └── no-slot-types01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── has-slot-types-with-alias01-input.svelte │ │ │ │ ├── has-slot-types01-input.svelte │ │ │ │ ├── named-slot01-input.svelte │ │ │ │ ├── no-slots01-input.svelte │ │ │ │ └── no-typescript01-input.svelte │ │ │ ├── experimental-require-strict-events/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── no-strict-events01-errors.yaml │ │ │ │ │ └── no-strict-events01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── has-events-interface01-input.svelte │ │ │ │ ├── has-events-type-alias01-input.svelte │ │ │ │ ├── has-strict-events01-input.svelte │ │ │ │ ├── no-typescript01-input.svelte │ │ │ │ └── script-module-context01-input.svelte │ │ │ ├── first-attribute-linebreak/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── below/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── beside/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── below/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── beside/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── html-closing-bracket-new-line/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── multiline-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── self-closing/ │ │ │ │ │ │ ├── always/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── test-errors.yaml │ │ │ │ │ │ │ ├── test-input.svelte │ │ │ │ │ │ │ └── test-output.svelte │ │ │ │ │ │ └── never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test-errors.yaml │ │ │ │ │ │ ├── test-input.svelte │ │ │ │ │ │ └── test-output.svelte │ │ │ │ │ ├── singleline-always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ └── test02-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── html-closing-bracket-spacing/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── closing-ignore/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── closing-ignore-errors.yaml │ │ │ │ │ │ ├── closing-ignore-input.svelte │ │ │ │ │ │ └── closing-ignore-output.svelte │ │ │ │ │ ├── end-ignore/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── end-ignore-errors.yaml │ │ │ │ │ │ ├── end-ignore-input.svelte │ │ │ │ │ │ └── end-ignore-output.svelte │ │ │ │ │ ├── start-ignore/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── start-ignore-errors.yaml │ │ │ │ │ │ ├── start-ignore-input.svelte │ │ │ │ │ │ └── start-ignore-output.svelte │ │ │ │ │ ├── test-01-errors.yaml │ │ │ │ │ ├── test-01-input.svelte │ │ │ │ │ └── test-01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test-01-input.svelte │ │ │ ├── html-quotes/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── all-quotes/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ │ └── test02-output.svelte │ │ │ │ │ ├── avoid-invalid-unquoted-in-html/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── inline-handlers-errors.yaml │ │ │ │ │ │ ├── inline-handlers-input.svelte │ │ │ │ │ │ ├── inline-handlers-output.svelte │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ │ └── test02-output.svelte │ │ │ │ │ ├── single/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── html-self-closing/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── component-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── component-never-errors.yaml │ │ │ │ │ │ ├── component-never-input.svelte │ │ │ │ │ │ └── component-never-output.svelte │ │ │ │ │ ├── math-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── svelte-never-errors.yaml │ │ │ │ │ │ ├── svelte-never-input.svelte │ │ │ │ │ │ └── svelte-never-output.svelte │ │ │ │ │ ├── normal-always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── component-never-errors.yaml │ │ │ │ │ │ ├── component-never-input.svelte │ │ │ │ │ │ └── component-never-output.svelte │ │ │ │ │ ├── normal-ignore/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── normal-any-errors.yaml │ │ │ │ │ │ ├── normal-any-input.svelte │ │ │ │ │ │ └── normal-any-output.svelte │ │ │ │ │ ├── normal-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── component-never-errors.yaml │ │ │ │ │ │ ├── component-never-input.svelte │ │ │ │ │ │ └── component-never-output.svelte │ │ │ │ │ ├── presets/ │ │ │ │ │ │ ├── html/ │ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ │ ├── preset-html-errors.yaml │ │ │ │ │ │ │ ├── preset-html-input.svelte │ │ │ │ │ │ │ └── preset-html-output.svelte │ │ │ │ │ │ └── none/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── preset-none-errors.yaml │ │ │ │ │ │ ├── preset-none-input.svelte │ │ │ │ │ │ └── preset-none-output.svelte │ │ │ │ │ ├── svelte-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── svelte-never-errors.yaml │ │ │ │ │ │ ├── svelte-never-input.svelte │ │ │ │ │ │ └── svelte-never-output.svelte │ │ │ │ │ ├── svg-never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── svelte-never-errors.yaml │ │ │ │ │ │ ├── svelte-never-input.svelte │ │ │ │ │ │ └── svelte-never-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ └── void-never/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── void-never-errors.yaml │ │ │ │ │ ├── void-never-input.svelte │ │ │ │ │ └── void-never-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── indent/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── 4-indent/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── align-attributes-vertically/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── attrs01-errors.yaml │ │ │ │ │ │ ├── attrs01-input.svelte │ │ │ │ │ │ └── attrs01-output.svelte │ │ │ │ │ ├── await01-errors.yaml │ │ │ │ │ ├── await01-input.svelte │ │ │ │ │ ├── await01-output.svelte │ │ │ │ │ ├── const-tag01-errors.yaml │ │ │ │ │ ├── const-tag01-input.svelte │ │ │ │ │ ├── const-tag01-output.svelte │ │ │ │ │ ├── deubg-tag01-errors.yaml │ │ │ │ │ ├── deubg-tag01-input.svelte │ │ │ │ │ ├── deubg-tag01-output.svelte │ │ │ │ │ ├── each01-errors.yaml │ │ │ │ │ ├── each01-input.svelte │ │ │ │ │ ├── each01-output.svelte │ │ │ │ │ ├── html-text01-errors.yaml │ │ │ │ │ ├── html-text01-input.svelte │ │ │ │ │ ├── html-text01-output.svelte │ │ │ │ │ ├── html-text02-errors.yaml │ │ │ │ │ ├── html-text02-input.svelte │ │ │ │ │ ├── html-text02-output.svelte │ │ │ │ │ ├── if01-errors.yaml │ │ │ │ │ ├── if01-input.svelte │ │ │ │ │ ├── if01-output.svelte │ │ │ │ │ ├── import-declaration01-errors.yaml │ │ │ │ │ ├── import-declaration01-input.svelte │ │ │ │ │ ├── import-declaration01-output.svelte │ │ │ │ │ ├── indent-script/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── indent-script-errors.yaml │ │ │ │ │ │ ├── indent-script-input.svelte │ │ │ │ │ │ └── indent-script-output.svelte │ │ │ │ │ ├── key01-errors.yaml │ │ │ │ │ ├── key01-input.svelte │ │ │ │ │ ├── key01-output.svelte │ │ │ │ │ ├── script-array01-errors.yaml │ │ │ │ │ ├── script-array01-input.svelte │ │ │ │ │ ├── script-array01-output.svelte │ │ │ │ │ ├── script-binary01-errors.yaml │ │ │ │ │ ├── script-binary01-input.svelte │ │ │ │ │ ├── script-binary01-output.svelte │ │ │ │ │ ├── script-binary02-errors.yaml │ │ │ │ │ ├── script-binary02-input.svelte │ │ │ │ │ ├── script-binary02-output.svelte │ │ │ │ │ ├── script-binary03-errors.yaml │ │ │ │ │ ├── script-binary03-input.svelte │ │ │ │ │ ├── script-binary03-output.svelte │ │ │ │ │ ├── script-block01-errors.yaml │ │ │ │ │ ├── script-block01-input.svelte │ │ │ │ │ ├── script-block01-output.svelte │ │ │ │ │ ├── script-break01-errors.yaml │ │ │ │ │ ├── script-break01-input.svelte │ │ │ │ │ ├── script-break01-output.svelte │ │ │ │ │ ├── script-call01-errors.yaml │ │ │ │ │ ├── script-call01-input.svelte │ │ │ │ │ ├── script-call01-output.svelte │ │ │ │ │ ├── script-class01-errors.yaml │ │ │ │ │ ├── script-class01-input.svelte │ │ │ │ │ ├── script-class01-output.svelte │ │ │ │ │ ├── script-conditional01-errors.yaml │ │ │ │ │ ├── script-conditional01-input.svelte │ │ │ │ │ ├── script-conditional01-output.svelte │ │ │ │ │ ├── script-do-while01-errors.yaml │ │ │ │ │ ├── script-do-while01-input.svelte │ │ │ │ │ ├── script-do-while01-output.svelte │ │ │ │ │ ├── script-export01-errors.yaml │ │ │ │ │ ├── script-export01-input.svelte │ │ │ │ │ ├── script-export01-output.svelte │ │ │ │ │ ├── script-export02-errors.yaml │ │ │ │ │ ├── script-export02-input.svelte │ │ │ │ │ ├── script-export02-output.svelte │ │ │ │ │ ├── script-expr01-errors.yaml │ │ │ │ │ ├── script-expr01-input.svelte │ │ │ │ │ ├── script-expr01-output.svelte │ │ │ │ │ ├── script-for01-errors.yaml │ │ │ │ │ ├── script-for01-input.svelte │ │ │ │ │ ├── script-for01-output.svelte │ │ │ │ │ ├── script-function01-errors.yaml │ │ │ │ │ ├── script-function01-input.svelte │ │ │ │ │ ├── script-function01-output.svelte │ │ │ │ │ ├── script-if01-errors.yaml │ │ │ │ │ ├── script-if01-input.svelte │ │ │ │ │ ├── script-if01-output.svelte │ │ │ │ │ ├── script-import01-errors.yaml │ │ │ │ │ ├── script-import01-input.svelte │ │ │ │ │ ├── script-import01-output.svelte │ │ │ │ │ ├── script-import02-errors.yaml │ │ │ │ │ ├── script-import02-input.svelte │ │ │ │ │ ├── script-import02-output.svelte │ │ │ │ │ ├── script-member01-errors.yaml │ │ │ │ │ ├── script-member01-input.svelte │ │ │ │ │ ├── script-member01-output.svelte │ │ │ │ │ ├── script-methods01-errors.yaml │ │ │ │ │ ├── script-methods01-input.svelte │ │ │ │ │ ├── script-methods01-output.svelte │ │ │ │ │ ├── script-prop01-errors.yaml │ │ │ │ │ ├── script-prop01-input.svelte │ │ │ │ │ ├── script-prop01-output.svelte │ │ │ │ │ ├── script-switch01-errors.yaml │ │ │ │ │ ├── script-switch01-input.svelte │ │ │ │ │ ├── script-switch01-output.svelte │ │ │ │ │ ├── script-try01-errors.yaml │ │ │ │ │ ├── script-try01-input.svelte │ │ │ │ │ ├── script-try01-output.svelte │ │ │ │ │ ├── script-unary01-errors.yaml │ │ │ │ │ ├── script-unary01-input.svelte │ │ │ │ │ ├── script-unary01-output.svelte │ │ │ │ │ ├── script-yield-expression01-errors.yaml │ │ │ │ │ ├── script-yield-expression01-input.svelte │ │ │ │ │ ├── script-yield-expression01-output.svelte │ │ │ │ │ ├── snippets01-errors.yaml │ │ │ │ │ ├── snippets01-input.svelte │ │ │ │ │ ├── snippets01-output.svelte │ │ │ │ │ ├── snippets01-requirements.json │ │ │ │ │ ├── style-directive01-errors.yaml │ │ │ │ │ ├── style-directive01-input.svelte │ │ │ │ │ ├── style-directive01-output.svelte │ │ │ │ │ ├── switch-case/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── script-switch01-errors.yaml │ │ │ │ │ │ ├── script-switch01-input.svelte │ │ │ │ │ │ └── script-switch01-output.svelte │ │ │ │ │ ├── tab-indent/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ │ └── test02-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ ├── ts/ │ │ │ │ │ │ ├── ts-class01-errors.yaml │ │ │ │ │ │ ├── ts-class01-input.svelte │ │ │ │ │ │ ├── ts-class01-output.svelte │ │ │ │ │ │ ├── ts-class02-errors.yaml │ │ │ │ │ │ ├── ts-class02-input.svelte │ │ │ │ │ │ ├── ts-class02-output.svelte │ │ │ │ │ │ ├── ts-class03-errors.yaml │ │ │ │ │ │ ├── ts-class03-input.svelte │ │ │ │ │ │ ├── ts-class03-output.svelte │ │ │ │ │ │ ├── ts-conditional-type01-errors.yaml │ │ │ │ │ │ ├── ts-conditional-type01-input.svelte │ │ │ │ │ │ ├── ts-conditional-type01-output.svelte │ │ │ │ │ │ ├── ts-d-ts-eslint-errors.yaml │ │ │ │ │ │ ├── ts-d-ts-eslint-input.svelte │ │ │ │ │ │ ├── ts-d-ts-eslint-output.svelte │ │ │ │ │ │ ├── ts-decorator01-errors.yaml │ │ │ │ │ │ ├── ts-decorator01-input.svelte │ │ │ │ │ │ ├── ts-decorator01-output.svelte │ │ │ │ │ │ ├── ts-decorator02-errors.yaml │ │ │ │ │ │ ├── ts-decorator02-input.svelte │ │ │ │ │ │ ├── ts-decorator02-output.svelte │ │ │ │ │ │ ├── ts-enum01-errors.yaml │ │ │ │ │ │ ├── ts-enum01-input.svelte │ │ │ │ │ │ ├── ts-enum01-output.svelte │ │ │ │ │ │ ├── ts-function01-errors.yaml │ │ │ │ │ │ ├── ts-function01-input.svelte │ │ │ │ │ │ ├── ts-function01-output.svelte │ │ │ │ │ │ ├── ts-function02-errors.yaml │ │ │ │ │ │ ├── ts-function02-input.svelte │ │ │ │ │ │ ├── ts-function02-output.svelte │ │ │ │ │ │ ├── ts-import-export01-errors.yaml │ │ │ │ │ │ ├── ts-import-export01-input.svelte │ │ │ │ │ │ ├── ts-import-export01-output.svelte │ │ │ │ │ │ ├── ts-import-type01-errors.yaml │ │ │ │ │ │ ├── ts-import-type01-input.svelte │ │ │ │ │ │ ├── ts-import-type01-output.svelte │ │ │ │ │ │ ├── ts-import-type01-requirements.json │ │ │ │ │ │ ├── ts-interface01-errors.yaml │ │ │ │ │ │ ├── ts-interface01-input.svelte │ │ │ │ │ │ ├── ts-interface01-output.svelte │ │ │ │ │ │ ├── ts-interface02-errors.yaml │ │ │ │ │ │ ├── ts-interface02-input.svelte │ │ │ │ │ │ ├── ts-interface02-output.svelte │ │ │ │ │ │ ├── ts-interface03-errors.yaml │ │ │ │ │ │ ├── ts-interface03-input.svelte │ │ │ │ │ │ ├── ts-interface03-output.svelte │ │ │ │ │ │ ├── ts-static-block01-errors.yaml │ │ │ │ │ │ ├── ts-static-block01-input.svelte │ │ │ │ │ │ ├── ts-static-block01-output.svelte │ │ │ │ │ │ ├── ts-template-literal-type01-errors.yaml │ │ │ │ │ │ ├── ts-template-literal-type01-input.svelte │ │ │ │ │ │ ├── ts-template-literal-type01-output.svelte │ │ │ │ │ │ ├── ts-type-annotation01-errors.yaml │ │ │ │ │ │ ├── ts-type-annotation01-input.svelte │ │ │ │ │ │ ├── ts-type-annotation01-output.svelte │ │ │ │ │ │ ├── ts-type-annotation02-errors.yaml │ │ │ │ │ │ ├── ts-type-annotation02-input.svelte │ │ │ │ │ │ ├── ts-type-annotation02-output.svelte │ │ │ │ │ │ ├── ts-type-annotation03-errors.yaml │ │ │ │ │ │ ├── ts-type-annotation03-input.svelte │ │ │ │ │ │ ├── ts-type-annotation03-output.svelte │ │ │ │ │ │ ├── ts-type-only-import-export01-errors.yaml │ │ │ │ │ │ ├── ts-type-only-import-export01-input.svelte │ │ │ │ │ │ ├── ts-type-only-import-export01-output.svelte │ │ │ │ │ │ ├── ts-type-only-import-export02-errors.yaml │ │ │ │ │ │ ├── ts-type-only-import-export02-input.svelte │ │ │ │ │ │ ├── ts-type-only-import-export02-output.svelte │ │ │ │ │ │ ├── ts-type-only-import-export03-errors.yaml │ │ │ │ │ │ ├── ts-type-only-import-export03-input.svelte │ │ │ │ │ │ ├── ts-type-only-import-export03-output.svelte │ │ │ │ │ │ ├── ts-type-parameters01-errors.yaml │ │ │ │ │ │ ├── ts-type-parameters01-input.svelte │ │ │ │ │ │ ├── ts-type-parameters01-output.svelte │ │ │ │ │ │ ├── ts-type-parameters02-errors.yaml │ │ │ │ │ │ ├── ts-type-parameters02-input.svelte │ │ │ │ │ │ ├── ts-type-parameters02-output.svelte │ │ │ │ │ │ ├── ts-types01-errors.yaml │ │ │ │ │ │ ├── ts-types01-input.svelte │ │ │ │ │ │ ├── ts-types01-output.svelte │ │ │ │ │ │ ├── ts-types02-errors.yaml │ │ │ │ │ │ ├── ts-types02-input.svelte │ │ │ │ │ │ ├── ts-types02-output.svelte │ │ │ │ │ │ ├── ts-types03-errors.yaml │ │ │ │ │ │ ├── ts-types03-input.svelte │ │ │ │ │ │ ├── ts-types03-output.svelte │ │ │ │ │ │ ├── ts-union01-errors.yaml │ │ │ │ │ │ ├── ts-union01-input.svelte │ │ │ │ │ │ ├── ts-union01-output.svelte │ │ │ │ │ │ ├── ts-union02-errors.yaml │ │ │ │ │ │ ├── ts-union02-input.svelte │ │ │ │ │ │ └── ts-union02-output.svelte │ │ │ │ │ └── ts-v5/ │ │ │ │ │ ├── ts-abstract-accessor-property-errors.yaml │ │ │ │ │ ├── ts-abstract-accessor-property-input.svelte │ │ │ │ │ ├── ts-abstract-accessor-property-output.svelte │ │ │ │ │ ├── ts-accessor-property01-errors.yaml │ │ │ │ │ ├── ts-accessor-property01-input.svelte │ │ │ │ │ ├── ts-accessor-property01-output.svelte │ │ │ │ │ ├── ts-accessor-property02-errors.yaml │ │ │ │ │ ├── ts-accessor-property02-input.svelte │ │ │ │ │ ├── ts-accessor-property02-output.svelte │ │ │ │ │ ├── ts-accessor-property03-errors.yaml │ │ │ │ │ ├── ts-accessor-property03-input.svelte │ │ │ │ │ ├── ts-accessor-property03-output.svelte │ │ │ │ │ ├── ts-accessor-property04-errors.yaml │ │ │ │ │ ├── ts-accessor-property04-input.svelte │ │ │ │ │ ├── ts-accessor-property04-output.svelte │ │ │ │ │ ├── ts-accessor-property05-errors.yaml │ │ │ │ │ ├── ts-accessor-property05-input.svelte │ │ │ │ │ ├── ts-accessor-property05-output.svelte │ │ │ │ │ ├── ts-import-assertion01-errors.yaml │ │ │ │ │ ├── ts-import-assertion01-input.svelte │ │ │ │ │ ├── ts-import-assertion01-output.svelte │ │ │ │ │ ├── ts-import-assertion01-requirements.json │ │ │ │ │ ├── ts-import-assertion02-errors.yaml │ │ │ │ │ ├── ts-import-assertion02-input.svelte │ │ │ │ │ ├── ts-import-assertion02-output.svelte │ │ │ │ │ ├── ts-import-assertion03-errors.yaml │ │ │ │ │ ├── ts-import-assertion03-input.svelte │ │ │ │ │ ├── ts-import-assertion03-output.svelte │ │ │ │ │ ├── ts-import-assertion03-requirements.json │ │ │ │ │ ├── ts-import-assertion04-errors.yaml │ │ │ │ │ ├── ts-import-assertion04-input.svelte │ │ │ │ │ ├── ts-import-assertion04-output.svelte │ │ │ │ │ ├── ts-import-assertion04-requirements.json │ │ │ │ │ ├── ts-import-attributes01-errors.yaml │ │ │ │ │ ├── ts-import-attributes01-input.svelte │ │ │ │ │ ├── ts-import-attributes01-output.svelte │ │ │ │ │ ├── ts-import-attributes01-requirements.json │ │ │ │ │ ├── ts-import-attributes02-errors.yaml │ │ │ │ │ ├── ts-import-attributes02-input.svelte │ │ │ │ │ ├── ts-import-attributes02-output.svelte │ │ │ │ │ ├── ts-import-attributes03-errors.yaml │ │ │ │ │ ├── ts-import-attributes03-input.svelte │ │ │ │ │ ├── ts-import-attributes03-output.svelte │ │ │ │ │ ├── ts-import-attributes03-requirements.json │ │ │ │ │ ├── ts-import-attributes04-errors.yaml │ │ │ │ │ ├── ts-import-attributes04-input.svelte │ │ │ │ │ ├── ts-import-attributes04-output.svelte │ │ │ │ │ ├── ts-import-attributes04-requirements.json │ │ │ │ │ ├── ts-instantiation-expression01-errors.yaml │ │ │ │ │ ├── ts-instantiation-expression01-input.svelte │ │ │ │ │ ├── ts-instantiation-expression01-output.svelte │ │ │ │ │ ├── ts-satisfies-operators01-errors.yaml │ │ │ │ │ ├── ts-satisfies-operators01-input.svelte │ │ │ │ │ └── ts-satisfies-operators01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── indent-script-input.svelte │ │ │ │ ├── inline-style-tag-input.svelte │ │ │ │ ├── pug01-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ └── ts/ │ │ │ │ ├── ts-import-type01-input.svelte │ │ │ │ └── ts-import-type01-requirements.json │ │ │ ├── infinite-reactive-loop/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── await/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── function-call/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ │ ├── test03-input.svelte │ │ │ │ │ │ ├── test04-errors.yaml │ │ │ │ │ │ ├── test04-input.svelte │ │ │ │ │ │ ├── test05-errors.yaml │ │ │ │ │ │ ├── test05-input.svelte │ │ │ │ │ │ ├── test06-errors.yaml │ │ │ │ │ │ ├── test06-input.svelte │ │ │ │ │ │ ├── test07-errors.yaml │ │ │ │ │ │ ├── test07-input.svelte │ │ │ │ │ │ ├── test08-errors.yaml │ │ │ │ │ │ ├── test08-input.svelte │ │ │ │ │ │ ├── test09-errors.yaml │ │ │ │ │ │ ├── test09-input.svelte │ │ │ │ │ │ ├── test10-errors.yaml │ │ │ │ │ │ ├── test10-input.svelte │ │ │ │ │ │ ├── test11-errors.yaml │ │ │ │ │ │ └── test11-input.svelte │ │ │ │ │ ├── promise/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ │ ├── test03-input.svelte │ │ │ │ │ │ ├── test04-errors.yaml │ │ │ │ │ │ ├── test04-input.svelte │ │ │ │ │ │ ├── test05-errors.yaml │ │ │ │ │ │ ├── test05-input.svelte │ │ │ │ │ │ ├── test06-errors.yaml │ │ │ │ │ │ └── test06-input.svelte │ │ │ │ │ ├── queueMicrotask/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── setInterval/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── setTimeout/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ │ └── test02-input.svelte │ │ │ │ │ └── tick/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── recursive-reference-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ ├── test02-input.svelte │ │ │ │ ├── test03-input.svelte │ │ │ │ ├── test04-input.svelte │ │ │ │ ├── test05-input.svelte │ │ │ │ ├── test06-input.svelte │ │ │ │ ├── test07-input.svelte │ │ │ │ └── test08-input.svelte │ │ │ ├── max-attributes-per-line/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── max3/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── max-lines-per-block/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── all-blocks-exceed/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── all01-errors.yaml │ │ │ │ │ │ └── all01-input.svelte │ │ │ │ │ ├── mixed-comment-code/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── mixed01-errors.yaml │ │ │ │ │ │ └── mixed01-input.svelte │ │ │ │ │ ├── script-too-long/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── script01-errors.yaml │ │ │ │ │ │ └── script01-input.svelte │ │ │ │ │ ├── skip-not-enough/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── skip01-errors.yaml │ │ │ │ │ │ └── skip01-input.svelte │ │ │ │ │ ├── style-too-long/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── style01-errors.yaml │ │ │ │ │ │ └── style01-input.svelte │ │ │ │ │ └── template-too-long/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── template01-errors.yaml │ │ │ │ │ └── template01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── default-config.json │ │ │ │ ├── default-input.svelte │ │ │ │ ├── empty-block/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── empty01-input.svelte │ │ │ │ ├── no-style/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── no-style01-input.svelte │ │ │ │ ├── only-style/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── only-style01-input.svelte │ │ │ │ ├── skip-blank-lines/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── skip-blank01-input.svelte │ │ │ │ ├── skip-both/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── skip-both01-input.svelte │ │ │ │ └── skip-comments/ │ │ │ │ ├── _config.json │ │ │ │ └── skip-comments01-input.svelte │ │ │ ├── mustache-spacing/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── snippet-render01-errors.yaml │ │ │ │ │ │ ├── snippet-render01-input.svelte │ │ │ │ │ │ ├── snippet-render01-output.svelte │ │ │ │ │ │ ├── snippet-render01-requirements.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── always-after-expression/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── snippet-render01-errors.yaml │ │ │ │ │ │ ├── snippet-render01-input.svelte │ │ │ │ │ │ ├── snippet-render01-output.svelte │ │ │ │ │ │ ├── snippet-render01-requirements.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── snippet-render01-errors.yaml │ │ │ │ │ ├── snippet-render01-input.svelte │ │ │ │ │ ├── snippet-render01-output.svelte │ │ │ │ │ ├── snippet-render01-requirements.json │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── always/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── snippet-render01-input.svelte │ │ │ │ │ ├── snippet-render01-requirements.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── snippet-render01-input.svelte │ │ │ │ ├── snippet-render01-requirements.json │ │ │ │ └── test01-input.svelte │ │ │ ├── no-add-event-listener/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── typescript01-errors.yaml │ │ │ │ │ └── typescript01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ └── test01-input.svelte │ │ │ ├── no-at-debug-tags/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── debug01-errors.yaml │ │ │ │ │ ├── debug01-input.svelte │ │ │ │ │ ├── debug02-errors.yaml │ │ │ │ │ └── debug02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── html-input.svelte │ │ │ │ └── text-mustash-input.svelte │ │ │ ├── no-at-html-tags/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── html-errors.yaml │ │ │ │ │ └── html-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── debug01-input.svelte │ │ │ │ ├── debug02-input.svelte │ │ │ │ └── text-mustash-input.svelte │ │ │ ├── no-dom-manipulating/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── chain01-errors.yaml │ │ │ │ │ ├── chain01-input.svelte │ │ │ │ │ ├── remove-text01-errors.yaml │ │ │ │ │ ├── remove-text01-input.svelte │ │ │ │ │ ├── remove01-errors.yaml │ │ │ │ │ ├── remove01-input.svelte │ │ │ │ │ ├── svelte-element01-errors.yaml │ │ │ │ │ ├── svelte-element01-input.svelte │ │ │ │ │ ├── well-known-method01-errors.yaml │ │ │ │ │ ├── well-known-method01-input.svelte │ │ │ │ │ ├── well-known-prop01-errors.yaml │ │ │ │ │ └── well-known-prop01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── computed-member01-input.svelte │ │ │ │ ├── loop01-input.svelte │ │ │ │ ├── non-bind-this01-input.svelte │ │ │ │ ├── non-element01-input.svelte │ │ │ │ ├── read-prop01-input.svelte │ │ │ │ ├── read-prop02-input.svelte │ │ │ │ ├── remove-text01-input.svelte │ │ │ │ ├── remove01-input.svelte │ │ │ │ ├── unknown-method01-input.svelte │ │ │ │ ├── unknown-prop01-input.svelte │ │ │ │ └── unknown-var01-input.svelte │ │ │ ├── no-dupe-else-if-blocks/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── simple-test01-errors.yaml │ │ │ │ │ ├── simple-test01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ ├── test02-input.svelte │ │ │ │ └── test03-input.svelte │ │ │ ├── no-dupe-on-directives/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── inline-expression-errors.yaml │ │ │ │ │ ├── inline-expression-input.svelte │ │ │ │ │ ├── modifier-errors.yaml │ │ │ │ │ ├── modifier-input.svelte │ │ │ │ │ ├── multiple-element-errors.yaml │ │ │ │ │ ├── multiple-element-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── no-dupe-style-properties/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── ternary01-errors.yaml │ │ │ │ │ ├── ternary01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── empty01-input.svelte │ │ │ │ ├── ternary01-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── no-dupe-use-directives/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── inline-expression-errors.yaml │ │ │ │ │ ├── inline-expression-input.svelte │ │ │ │ │ ├── multiple-element-errors.yaml │ │ │ │ │ ├── multiple-element-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── inline-expression-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── no-dynamic-slot-name/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── bool-slot01-errors.yaml │ │ │ │ │ ├── bool-slot01-input.svelte │ │ │ │ │ ├── bool-slot01-output.svelte │ │ │ │ │ ├── literal-slot01-errors.yaml │ │ │ │ │ ├── literal-slot01-input.svelte │ │ │ │ │ ├── literal-slot01-output.svelte │ │ │ │ │ ├── multi-report01-errors.yaml │ │ │ │ │ ├── multi-report01-input.svelte │ │ │ │ │ ├── multi-report01-output.svelte │ │ │ │ │ ├── recursive-loop01-errors.yaml │ │ │ │ │ ├── recursive-loop01-input.svelte │ │ │ │ │ ├── recursive-loop01-output.svelte │ │ │ │ │ ├── var-slot01-errors.yaml │ │ │ │ │ ├── var-slot01-input.svelte │ │ │ │ │ └── var-slot01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── slot01-input.svelte │ │ │ ├── no-export-load-in-svelte-module-in-kit-pages/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── svelte-config/ │ │ │ │ │ │ └── test01/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── errors.yaml │ │ │ │ │ │ └── svelte.config.js │ │ │ │ │ ├── svelte-config-from-parser-options/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ └── errors.yaml │ │ │ │ │ ├── test01/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ └── errors.yaml │ │ │ │ │ └── test02/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ └── errors.yaml │ │ │ │ └── valid/ │ │ │ │ ├── not-page/ │ │ │ │ │ ├── +test01-input.svelte │ │ │ │ │ ├── +test02-input.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test01/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test02/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test03/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test04/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test05/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test06/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test07/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test08/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test09/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ └── test10/ │ │ │ │ ├── +page.svelte │ │ │ │ └── _config.json │ │ │ ├── no-extra-reactive-curlies/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── no-goto-without-base/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── aliased-goto01-errors.yaml │ │ │ │ │ ├── aliased-goto01-input.svelte │ │ │ │ │ ├── base-not-prefixed01-errors.yaml │ │ │ │ │ ├── base-not-prefixed01-input.svelte │ │ │ │ │ ├── no-base01-errors.yaml │ │ │ │ │ └── no-base01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── absolute-uri01-input.svelte │ │ │ │ ├── base-aliased01-input.svelte │ │ │ │ └── base-prefixed01-input.svelte │ │ │ ├── no-ignored-unsubscribe/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ ├── test02-input.svelte │ │ │ │ └── test03-input.svelte │ │ │ ├── no-immutable-reactive-statements/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── immutable-let-errors.yaml │ │ │ │ │ ├── immutable-let-input.svelte │ │ │ │ │ ├── immutable01-errors.yaml │ │ │ │ │ ├── immutable01-input.svelte │ │ │ │ │ ├── readonly-export01-errors.yaml │ │ │ │ │ └── readonly-export01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── builtin-vars01-input.svelte │ │ │ │ ├── builtin-vars02-input.svelte │ │ │ │ ├── mutable-member01-input.svelte │ │ │ │ ├── mutable-member02-wth-bind-input.svelte │ │ │ │ ├── mutable-member03-with-each-input.svelte │ │ │ │ ├── mutable-member04-with-each-input.svelte │ │ │ │ ├── mutable-member05-with-each-input.svelte │ │ │ │ ├── mutable-member06-with-each-input.svelte │ │ │ │ ├── mutable-member07-with-each-input.svelte │ │ │ │ ├── mutable01-input.svelte │ │ │ │ └── unknown01-input.svelte │ │ │ ├── no-inline-styles/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── disallowed-transitions/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── transition01-errors.yaml │ │ │ │ │ │ └── transition01-input.svelte │ │ │ │ │ ├── style-attribute01-errors.yaml │ │ │ │ │ ├── style-attribute01-input.svelte │ │ │ │ │ ├── style-directive01-errors.yaml │ │ │ │ │ └── style-directive01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── class-attribute01-input.svelte │ │ │ │ ├── class-directive01-input.svelte │ │ │ │ └── transition01-input.svelte │ │ │ ├── no-inner-declarations/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── both/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── v8/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── both/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── no-inspect/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ └── test01-input.svelte │ │ │ ├── no-navigation-without-base/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── goto-aliased01-errors.yaml │ │ │ │ │ ├── goto-aliased01-input.svelte │ │ │ │ │ ├── goto-base-not-as-prefix01-errors.yaml │ │ │ │ │ ├── goto-base-not-as-prefix01-input.svelte │ │ │ │ │ ├── goto-namespace-import01-errors.yaml │ │ │ │ │ ├── goto-namespace-import01-input.svelte │ │ │ │ │ ├── goto-no-base01-errors.yaml │ │ │ │ │ ├── goto-no-base01-input.svelte │ │ │ │ │ ├── link-base-not-as-prefix01-errors.yaml │ │ │ │ │ ├── link-base-not-as-prefix01-input.svelte │ │ │ │ │ ├── link-no-base01-errors.yaml │ │ │ │ │ ├── link-no-base01-input.svelte │ │ │ │ │ ├── link-with-fragment01-errors.yaml │ │ │ │ │ ├── link-with-fragment01-input.svelte │ │ │ │ │ ├── pushState-aliased01-errors.yaml │ │ │ │ │ ├── pushState-aliased01-input.svelte │ │ │ │ │ ├── pushState-base-not-as-prefix01-errors.yaml │ │ │ │ │ ├── pushState-base-not-as-prefix01-input.svelte │ │ │ │ │ ├── pushState-namespace-import01-errors.yaml │ │ │ │ │ ├── pushState-namespace-import01-input.svelte │ │ │ │ │ ├── pushState-no-base01-errors.yaml │ │ │ │ │ ├── pushState-no-base01-input.svelte │ │ │ │ │ ├── replaceState-aliased01-errors.yaml │ │ │ │ │ ├── replaceState-aliased01-input.svelte │ │ │ │ │ ├── replaceState-base-not-as-prefix01-errors.yaml │ │ │ │ │ ├── replaceState-base-not-as-prefix01-input.svelte │ │ │ │ │ ├── replaceState-namespace-import01-errors.yaml │ │ │ │ │ ├── replaceState-namespace-import01-input.svelte │ │ │ │ │ ├── replaceState-no-base01-errors.yaml │ │ │ │ │ └── replaceState-no-base01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── goto-base-aliased01-input.svelte │ │ │ │ ├── goto-base-namespace-import01-input.svelte │ │ │ │ ├── goto-base-prefixed01-input.svelte │ │ │ │ ├── ignoreGoto/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── goto-ignored01-input.svelte │ │ │ │ ├── ignoreLinks/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── link-ignored01-input.svelte │ │ │ │ ├── ignorePushState/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── pushState-ignored01-input.svelte │ │ │ │ ├── ignoreReplaceState/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── replaceState-ignored01-input.svelte │ │ │ │ ├── link-absolute-url01-input.svelte │ │ │ │ ├── link-base-aliased01-input.svelte │ │ │ │ ├── link-base-namespace-import01-input.svelte │ │ │ │ ├── link-base-prefixed01-input.svelte │ │ │ │ ├── link-fragment-url01-input.svelte │ │ │ │ ├── pushState-base-aliased01-input.svelte │ │ │ │ ├── pushState-base-namespace-import01-input.svelte │ │ │ │ ├── pushState-base-prefixed01-input.svelte │ │ │ │ ├── pushState-empty-url01-input.svelte │ │ │ │ ├── replaceState-base-aliased01-input.svelte │ │ │ │ ├── replaceState-base-namespace-import01-input.svelte │ │ │ │ ├── replaceState-base-prefixed01-input.svelte │ │ │ │ └── replaceState-empty-url01-input.svelte │ │ │ ├── no-navigation-without-resolve/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── goto-aliased01-errors.yaml │ │ │ │ │ ├── goto-aliased01-input.svelte │ │ │ │ │ ├── goto-namespace-import01-errors.yaml │ │ │ │ │ ├── goto-namespace-import01-input.svelte │ │ │ │ │ ├── goto-partial-resolve01-errors.yaml │ │ │ │ │ ├── goto-partial-resolve01-input.svelte │ │ │ │ │ ├── goto-resolved-pathname-wrong-module01-errors.yaml │ │ │ │ │ ├── goto-resolved-pathname-wrong-module01-input.svelte │ │ │ │ │ ├── goto-string-prop01-errors.yaml │ │ │ │ │ ├── goto-string-prop01-input.svelte │ │ │ │ │ ├── goto-ternary-resolve-absolute01-errors.yaml │ │ │ │ │ ├── goto-ternary-resolve-absolute01-input.svelte │ │ │ │ │ ├── goto-ternary-resolve-empty01-errors.yaml │ │ │ │ │ ├── goto-ternary-resolve-empty01-input.svelte │ │ │ │ │ ├── goto-ternary-resolve-plain01-errors.yaml │ │ │ │ │ ├── goto-ternary-resolve-plain01-input.svelte │ │ │ │ │ ├── goto-unresolved-pathname01-errors.yaml │ │ │ │ │ ├── goto-unresolved-pathname01-input.svelte │ │ │ │ │ ├── goto-without-resolve01-errors.yaml │ │ │ │ │ ├── goto-without-resolve01-input.svelte │ │ │ │ │ ├── link-absolute-url-invalid-operator01-errors.yaml │ │ │ │ │ ├── link-absolute-url-invalid-operator01-input.svelte │ │ │ │ │ ├── link-fragment-url-invalid-operator01-errors.yaml │ │ │ │ │ ├── link-fragment-url-invalid-operator01-input.svelte │ │ │ │ │ ├── link-nullish-like-literal01-errors.yaml │ │ │ │ │ ├── link-nullish-like-literal01-input.svelte │ │ │ │ │ ├── link-partial-asset01-errors.yaml │ │ │ │ │ ├── link-partial-asset01-input.svelte │ │ │ │ │ ├── link-partial-resolve01-errors.yaml │ │ │ │ │ ├── link-partial-resolve01-input.svelte │ │ │ │ │ ├── link-resolved-pathname-wrong-module01-errors.yaml │ │ │ │ │ ├── link-resolved-pathname-wrong-module01-input.svelte │ │ │ │ │ ├── link-string-prop01-errors.yaml │ │ │ │ │ ├── link-string-prop01-input.svelte │ │ │ │ │ ├── link-ternary-asset-plain01-errors.yaml │ │ │ │ │ ├── link-ternary-asset-plain01-input.svelte │ │ │ │ │ ├── link-ternary-resolve-plain01-errors.yaml │ │ │ │ │ ├── link-ternary-resolve-plain01-input.svelte │ │ │ │ │ ├── link-unresolved-pathname01-errors.yaml │ │ │ │ │ ├── link-unresolved-pathname01-input.svelte │ │ │ │ │ ├── link-with-fragment01-errors.yaml │ │ │ │ │ ├── link-with-fragment01-input.svelte │ │ │ │ │ ├── link-without-resolve01-errors.yaml │ │ │ │ │ ├── link-without-resolve01-input.svelte │ │ │ │ │ ├── pushState-aliased01-errors.yaml │ │ │ │ │ ├── pushState-aliased01-input.svelte │ │ │ │ │ ├── pushState-namespace-import01-errors.yaml │ │ │ │ │ ├── pushState-namespace-import01-input.svelte │ │ │ │ │ ├── pushState-partial-resolve01-errors.yaml │ │ │ │ │ ├── pushState-partial-resolve01-input.svelte │ │ │ │ │ ├── pushState-resolved-pathname-wrong-module01-errors.yaml │ │ │ │ │ ├── pushState-resolved-pathname-wrong-module01-input.svelte │ │ │ │ │ ├── pushState-string-prop01-errors.yaml │ │ │ │ │ ├── pushState-string-prop01-input.svelte │ │ │ │ │ ├── pushState-ternary-resolve-absolute01-errors.yaml │ │ │ │ │ ├── pushState-ternary-resolve-absolute01-input.svelte │ │ │ │ │ ├── pushState-ternary-resolve-plain01-errors.yaml │ │ │ │ │ ├── pushState-ternary-resolve-plain01-input.svelte │ │ │ │ │ ├── pushState-unresolved-pathname01-errors.yaml │ │ │ │ │ ├── pushState-unresolved-pathname01-input.svelte │ │ │ │ │ ├── pushState-without-resolve01-errors.yaml │ │ │ │ │ ├── pushState-without-resolve01-input.svelte │ │ │ │ │ ├── recursive-loop01-errors.yaml │ │ │ │ │ ├── recursive-loop01-input.svelte │ │ │ │ │ ├── replaceState-aliased01-errors.yaml │ │ │ │ │ ├── replaceState-aliased01-input.svelte │ │ │ │ │ ├── replaceState-namespace-import01-errors.yaml │ │ │ │ │ ├── replaceState-namespace-import01-input.svelte │ │ │ │ │ ├── replaceState-partial-resolve01-errors.yaml │ │ │ │ │ ├── replaceState-partial-resolve01-input.svelte │ │ │ │ │ ├── replaceState-resolved-pathname-wrong-module01-errors.yaml │ │ │ │ │ ├── replaceState-resolved-pathname-wrong-module01-input.svelte │ │ │ │ │ ├── replaceState-string-prop01-errors.yaml │ │ │ │ │ ├── replaceState-string-prop01-input.svelte │ │ │ │ │ ├── replaceState-ternary-resolve-absolute01-errors.yaml │ │ │ │ │ ├── replaceState-ternary-resolve-absolute01-input.svelte │ │ │ │ │ ├── replaceState-ternary-resolve-plain01-errors.yaml │ │ │ │ │ ├── replaceState-ternary-resolve-plain01-input.svelte │ │ │ │ │ ├── replaceState-unresolved-pathname01-errors.yaml │ │ │ │ │ ├── replaceState-unresolved-pathname01-input.svelte │ │ │ │ │ ├── replaceState-without-resolve01-errors.yaml │ │ │ │ │ └── replaceState-without-resolve01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── goto-namespace-import01-input.svelte │ │ │ │ ├── goto-resolve-aliased01-input.svelte │ │ │ │ ├── goto-resolved-pathname01-input.svelte │ │ │ │ ├── goto-resolved-pathname02-input.svelte │ │ │ │ ├── goto-resolved01-input.svelte │ │ │ │ ├── goto-ternary-both-resolve01-input.svelte │ │ │ │ ├── ignoreGoto/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── goto-ignored01-input.svelte │ │ │ │ ├── ignoreLinks/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── link-ignored01-input.svelte │ │ │ │ ├── ignorePushState/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── pushState-ignored01-input.svelte │ │ │ │ ├── ignoreReplaceState/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── replaceState-ignored01-input.svelte │ │ │ │ ├── link-absolute-url01-input.svelte │ │ │ │ ├── link-asset-aliased01-input.svelte │ │ │ │ ├── link-asset01-input.svelte │ │ │ │ ├── link-fragment-url01-input.svelte │ │ │ │ ├── link-namespace-import01-input.svelte │ │ │ │ ├── link-nullish01-input.svelte │ │ │ │ ├── link-rel-external01-input.svelte │ │ │ │ ├── link-resolve-aliased01-input.svelte │ │ │ │ ├── link-resolved-pathname01-input.svelte │ │ │ │ ├── link-resolved-pathname02-input.svelte │ │ │ │ ├── link-resolved01-input.svelte │ │ │ │ ├── link-ternary-absolute-fragment01-input.svelte │ │ │ │ ├── link-ternary-resolve-absolute01-input.svelte │ │ │ │ ├── link-ternary-resolve-asset01-input.svelte │ │ │ │ ├── link-ternary-resolve-fragment01-input.svelte │ │ │ │ ├── link-ternary-resolve-nullish01-input.svelte │ │ │ │ ├── pushState-empty-url01-input.svelte │ │ │ │ ├── pushState-namespace-import01-input.svelte │ │ │ │ ├── pushState-resolve-aliased01-input.svelte │ │ │ │ ├── pushState-resolved-pathname01-input.svelte │ │ │ │ ├── pushState-resolved-pathname02-input.svelte │ │ │ │ ├── pushState-resolved01-input.svelte │ │ │ │ ├── pushState-ternary-resolve-empty01-input.svelte │ │ │ │ ├── replaceState-empty-url01-input.svelte │ │ │ │ ├── replaceState-namespace-import01-input.svelte │ │ │ │ ├── replaceState-resolve-aliased01-input.svelte │ │ │ │ ├── replaceState-resolved-pathname01-input.svelte │ │ │ │ ├── replaceState-resolved-pathname02-input.svelte │ │ │ │ ├── replaceState-resolved01-input.svelte │ │ │ │ └── replaceState-ternary-resolve-empty01-input.svelte │ │ │ ├── no-not-function-handler/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── array01-errors.yaml │ │ │ │ │ ├── array01-input.svelte │ │ │ │ │ ├── class01-errors.yaml │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── object01-errors.yaml │ │ │ │ │ ├── object01-input.svelte │ │ │ │ │ ├── string01-errors.yaml │ │ │ │ │ ├── string01-input.svelte │ │ │ │ │ ├── svelte5/ │ │ │ │ │ │ ├── array01-errors.yaml │ │ │ │ │ │ ├── array01-input.svelte │ │ │ │ │ │ ├── class01-errors.yaml │ │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ │ ├── object01-errors.yaml │ │ │ │ │ │ ├── object01-input.svelte │ │ │ │ │ │ ├── requirements.json │ │ │ │ │ │ ├── string01-errors.yaml │ │ │ │ │ │ ├── string01-input.svelte │ │ │ │ │ │ ├── value01-errors.yaml │ │ │ │ │ │ └── value01-input.svelte │ │ │ │ │ ├── value01-errors.yaml │ │ │ │ │ └── value01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── bind01-input.svelte │ │ │ │ ├── function01-input.svelte │ │ │ │ ├── null01-input.svelte │ │ │ │ └── svelte5/ │ │ │ │ ├── function01-input.svelte │ │ │ │ ├── null01-input.svelte │ │ │ │ └── requirements.json │ │ │ ├── no-object-in-text-mustaches/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── array01-errors.yaml │ │ │ │ │ ├── array01-input.svelte │ │ │ │ │ ├── class01-errors.yaml │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── function01-errors.yaml │ │ │ │ │ ├── function01-input.svelte │ │ │ │ │ ├── object01-errors.yaml │ │ │ │ │ └── object01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── object01-input.svelte │ │ │ │ └── string01-input.svelte │ │ │ ├── no-raw-special-elements/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── no-reactive-functions/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── no-reactive-literals/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── no-reactive-reassign/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── array01-errors.yaml │ │ │ │ │ ├── array01-input.svelte │ │ │ │ │ ├── bind-dir01-errors.yaml │ │ │ │ │ ├── bind-dir01-input.svelte │ │ │ │ │ ├── conditional01-errors.yaml │ │ │ │ │ ├── conditional01-input.svelte │ │ │ │ │ ├── delete01-errors.yaml │ │ │ │ │ ├── delete01-input.svelte │ │ │ │ │ ├── destructure01-errors.yaml │ │ │ │ │ ├── destructure01-input.svelte │ │ │ │ │ ├── for-in01-errors.yaml │ │ │ │ │ ├── for-in01-input.svelte │ │ │ │ │ ├── for-of01-errors.yaml │ │ │ │ │ ├── for-of01-input.svelte │ │ │ │ │ ├── member01-errors.yaml │ │ │ │ │ ├── member01-input.svelte │ │ │ │ │ ├── props-false/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── props-true01-errors.yaml │ │ │ │ │ ├── props-true01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── array01-input.svelte │ │ │ │ ├── assign-right01-input.svelte │ │ │ │ ├── destructure01-input.svelte │ │ │ │ ├── for-in01-input.svelte │ │ │ │ ├── for-of01-input.svelte │ │ │ │ ├── member-key01-input.svelte │ │ │ │ ├── on-dir01-input.svelte │ │ │ │ ├── props-false/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── props-false01-input.svelte │ │ │ │ ├── reactive-like01-input.svelte │ │ │ │ ├── reactive-like02-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ └── typeof01-input.svelte │ │ │ ├── no-restricted-html-elements/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── array-config.json │ │ │ │ │ ├── array-errors.yaml │ │ │ │ │ ├── array-input.svelte │ │ │ │ │ ├── object-config.json │ │ │ │ │ ├── object-errors.yaml │ │ │ │ │ └── object-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── array-config.json │ │ │ │ ├── array-input.svelte │ │ │ │ ├── object-config.json │ │ │ │ └── object-input.svelte │ │ │ ├── no-shorthand-style-property-overrides/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── ternary01-errors.yaml │ │ │ │ │ ├── ternary01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── empty01-input.svelte │ │ │ │ ├── ternary01-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── no-spaces-around-equal-signs-in-attribute/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test-01-input.svelte │ │ │ ├── no-store-async/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.js │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.js │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ ├── test03-input.js │ │ │ │ │ ├── test04-errors.yaml │ │ │ │ │ └── test04-input.js │ │ │ │ └── valid/ │ │ │ │ └── test01-input.js │ │ │ ├── no-svelte-internal/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── no-svelte-internal01-errors.yaml │ │ │ │ │ ├── no-svelte-internal01-input.svelte │ │ │ │ │ ├── no-svelte-internal02-errors.yaml │ │ │ │ │ ├── no-svelte-internal02-input.svelte │ │ │ │ │ ├── no-svelte-internal03-errors.yaml │ │ │ │ │ ├── no-svelte-internal03-input.svelte │ │ │ │ │ ├── no-svelte-internal04-errors.yaml │ │ │ │ │ ├── no-svelte-internal04-input.svelte │ │ │ │ │ ├── no-svelte-internal05-errors.yaml │ │ │ │ │ ├── no-svelte-internal05-input.svelte │ │ │ │ │ ├── no-svelte-internal06-errors.yaml │ │ │ │ │ ├── no-svelte-internal06-input.svelte │ │ │ │ │ ├── no-svelte-internal07-errors.yaml │ │ │ │ │ └── no-svelte-internal07-input.svelte │ │ │ │ └── valid/ │ │ │ │ └── no-svelte-internal01-input.svelte │ │ │ ├── no-target-blank/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── allow-referrer/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── allow-referrer-test01-input.svelte │ │ │ │ ├── enforce-dynamic-links/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── enforce-dynamic-links-test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── no-top-level-browser-globals/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── env01-errors.yaml │ │ │ │ │ ├── env01-input.svelte │ │ │ │ │ ├── env02-errors.yaml │ │ │ │ │ ├── env02-input.svelte │ │ │ │ │ ├── env03-errors.yaml │ │ │ │ │ ├── env03-input.svelte │ │ │ │ │ ├── guards01-errors.yaml │ │ │ │ │ ├── guards01-input.svelte │ │ │ │ │ ├── guards02-errors.yaml │ │ │ │ │ ├── guards02-input.svelte │ │ │ │ │ ├── guards03-errors.yaml │ │ │ │ │ ├── guards03-input.svelte │ │ │ │ │ ├── guards04-errors.yaml │ │ │ │ │ ├── guards04-input.svelte │ │ │ │ │ ├── guards05-errors.yaml │ │ │ │ │ ├── guards05-input.svelte │ │ │ │ │ ├── guards06-errors.yaml │ │ │ │ │ ├── guards06-input.svelte │ │ │ │ │ ├── guards07-errors.yaml │ │ │ │ │ ├── guards07-input.svelte │ │ │ │ │ ├── guards08-errors.yaml │ │ │ │ │ ├── guards08-input.svelte │ │ │ │ │ ├── in-template01-errors.yaml │ │ │ │ │ ├── in-template01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ └── test03-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── complex-guards01-input.svelte │ │ │ │ ├── complex-guards02-input.svelte │ │ │ │ ├── effect01-input.svelte │ │ │ │ ├── env-guards01-input.svelte │ │ │ │ ├── env01-input.svelte │ │ │ │ ├── env02-input.svelte │ │ │ │ ├── env03-input.svelte │ │ │ │ ├── guards01-input.svelte │ │ │ │ ├── guards02-input.svelte │ │ │ │ ├── guards03-input.svelte │ │ │ │ ├── guards04-input.svelte │ │ │ │ ├── guards05-input.svelte │ │ │ │ ├── guards06-input.svelte │ │ │ │ ├── guards07-input.svelte │ │ │ │ ├── guards08-input.svelte │ │ │ │ ├── in-template01-input.svelte │ │ │ │ ├── in-template02-input.svelte │ │ │ │ ├── in-template02-requirements.json │ │ │ │ ├── in-template03-input.svelte │ │ │ │ ├── on-mount01-input.svelte │ │ │ │ ├── state-generic-input.svelte │ │ │ │ └── ts01-input.svelte │ │ │ ├── no-trailing-spaces/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── ignoreComments/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── skipBlankLines/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ └── test01-input.svelte │ │ │ ├── no-unknown-style-directive-property/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── ignoreProperties/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ └── test01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── no-unnecessary-state-wrap/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── additional-class-config.json │ │ │ │ │ ├── additional-class-errors.yaml │ │ │ │ │ ├── additional-class-input.svelte │ │ │ │ │ ├── allow-reassign-config.json │ │ │ │ │ ├── allow-reassign-errors.yaml │ │ │ │ │ ├── allow-reassign-input.svelte │ │ │ │ │ ├── basic-errors.yaml │ │ │ │ │ ├── basic-input.svelte │ │ │ │ │ ├── import-alias-errors.yaml │ │ │ │ │ └── import-alias-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── additional-class-config.json │ │ │ │ ├── additional-class-input.svelte │ │ │ │ ├── allow-reassign-bind1-config.json │ │ │ │ ├── allow-reassign-bind1-input.svelte │ │ │ │ ├── allow-reassign-bind2-config.json │ │ │ │ ├── allow-reassign-bind2-input.svelte │ │ │ │ ├── allow-reassign-config.json │ │ │ │ ├── allow-reassign-input.svelte │ │ │ │ └── basic-input.svelte │ │ │ ├── no-unused-class-name/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── allowed-class-names/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── partially-allowed-class-name01-errors.yaml │ │ │ │ │ │ └── partially-allowed-class-name01-input.svelte │ │ │ │ │ ├── class-directive01-errors.yaml │ │ │ │ │ ├── class-directive01-input.svelte │ │ │ │ │ ├── duplicated-class-name-errors.yaml │ │ │ │ │ ├── duplicated-class-name-input.svelte │ │ │ │ │ ├── multiline-class-names01-errors.yaml │ │ │ │ │ ├── multiline-class-names01-input.svelte │ │ │ │ │ ├── multiple-class-names01-errors.yaml │ │ │ │ │ ├── multiple-class-names01-input.svelte │ │ │ │ │ ├── same-name-id01-errors.yaml │ │ │ │ │ ├── same-name-id01-input.svelte │ │ │ │ │ ├── unused-class-name01-errors.yaml │ │ │ │ │ ├── unused-class-name01-input.svelte │ │ │ │ │ ├── used-unrelated-class-name01-errors.yaml │ │ │ │ │ └── used-unrelated-class-name01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── adjacent-sibling-combinator01-input.svelte │ │ │ │ ├── allowed-class-names/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── allowed-class-name01-input.svelte │ │ │ │ ├── child-combinator01-input.svelte │ │ │ │ ├── descendant-combinator01-input.svelte │ │ │ │ ├── general-sibling-combinator01-input.svelte │ │ │ │ ├── invalid-style01-input.svelte │ │ │ │ ├── multiple-class-names01-input.svelte │ │ │ │ ├── no-class-name01-input.svelte │ │ │ │ ├── pseudo-classes01-input.svelte │ │ │ │ ├── pseudo-elements01-input.svelte │ │ │ │ ├── scss-class-name01-input.svelte │ │ │ │ ├── selector-list01-input.svelte │ │ │ │ ├── test-input.js │ │ │ │ ├── unknown-lang01-input.svelte │ │ │ │ └── used-class-name01-input.svelte │ │ │ ├── no-unused-props/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── alias-errors.yaml │ │ │ │ │ ├── alias-input.svelte │ │ │ │ │ ├── builtin-shadow-unused-errors.yaml │ │ │ │ │ ├── builtin-shadow-unused-input.svelte │ │ │ │ │ ├── builtin-types-unused-errors.yaml │ │ │ │ │ ├── builtin-types-unused-input.svelte │ │ │ │ │ ├── class-props-unused-errors.yaml │ │ │ │ │ ├── class-props-unused-input.svelte │ │ │ │ │ ├── custom-config-combination-config.json │ │ │ │ │ ├── custom-config-combination-errors.yaml │ │ │ │ │ ├── custom-config-combination-input.svelte │ │ │ │ │ ├── extends-unused-errors.yaml │ │ │ │ │ ├── extends-unused-input.svelte │ │ │ │ │ ├── generic-props-unused-errors.yaml │ │ │ │ │ ├── generic-props-unused-input.svelte │ │ │ │ │ ├── ignore-external-type-errors.yaml │ │ │ │ │ ├── ignore-external-type-input.svelte │ │ │ │ │ ├── ignore-property-patterns-custom-config.json │ │ │ │ │ ├── ignore-property-patterns-custom-errors.yaml │ │ │ │ │ ├── ignore-property-patterns-custom-input.svelte │ │ │ │ │ ├── ignored-type-patterns-custom-config.json │ │ │ │ │ ├── ignored-type-patterns-custom-errors.yaml │ │ │ │ │ ├── ignored-type-patterns-custom-input.svelte │ │ │ │ │ ├── imported-type-check-config.json │ │ │ │ │ ├── imported-type-check-errors.yaml │ │ │ │ │ ├── imported-type-check-input.svelte │ │ │ │ │ ├── imported-type-unused-errors.yaml │ │ │ │ │ ├── imported-type-unused-input.svelte │ │ │ │ │ ├── index-signature-no-rest-errors.yaml │ │ │ │ │ ├── index-signature-no-rest-input.svelte │ │ │ │ │ ├── intersection-unused-errors.yaml │ │ │ │ │ ├── intersection-unused-input.svelte │ │ │ │ │ ├── multiple-extends-unused-errors.yaml │ │ │ │ │ ├── multiple-extends-unused-input.svelte │ │ │ │ │ ├── nested-unused-errors.yaml │ │ │ │ │ ├── nested-unused-input.svelte │ │ │ │ │ ├── optional-unused-errors.yaml │ │ │ │ │ ├── optional-unused-input.svelte │ │ │ │ │ ├── parent-interface-unused-errors.yaml │ │ │ │ │ ├── parent-interface-unused-input.svelte │ │ │ │ │ ├── shared-types.ts │ │ │ │ │ ├── simple-unused-errors.yaml │ │ │ │ │ ├── simple-unused-input.svelte │ │ │ │ │ ├── unused-index-signature-errors.yaml │ │ │ │ │ └── unused-index-signature-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── alias-input.svelte │ │ │ │ ├── any-input.svelte │ │ │ │ ├── assignment-input.svelte │ │ │ │ ├── basic-input.svelte │ │ │ │ ├── bindable-input.svelte │ │ │ │ ├── builtin-types-input.svelte │ │ │ │ ├── component-props-any-input.svelte │ │ │ │ ├── computed-member-input.svelte │ │ │ │ ├── computed-property-input.svelte │ │ │ │ ├── conditional-type-input.svelte │ │ │ │ ├── custom-config-combination-config.json │ │ │ │ ├── custom-config-combination-input.svelte │ │ │ │ ├── default-value-input.svelte │ │ │ │ ├── extends-input.svelte │ │ │ │ ├── function-props-input.svelte │ │ │ │ ├── ignore-external-type-input.svelte │ │ │ │ ├── ignore-property-patterns-custom-config.json │ │ │ │ ├── ignore-property-patterns-custom-input.svelte │ │ │ │ ├── ignore-property-patterns-default-input.svelte │ │ │ │ ├── ignored-type-patterns-custom-config.json │ │ │ │ ├── ignored-type-patterns-custom-input.svelte │ │ │ │ ├── ignored-type-patterns-custom2-config.json │ │ │ │ ├── ignored-type-patterns-custom2-input.svelte │ │ │ │ ├── imported-type-config.json │ │ │ │ ├── imported-type-default-input.svelte │ │ │ │ ├── imported-type-explicit-config.json │ │ │ │ ├── imported-type-explicit-input.svelte │ │ │ │ ├── imported-type-input.svelte │ │ │ │ ├── index-signature-rest-input.svelte │ │ │ │ ├── intersection-type-input.svelte │ │ │ │ ├── js-basic-input.svelte │ │ │ │ ├── js-jsdoc-input.svelte │ │ │ │ ├── js-no-types-input.svelte │ │ │ │ ├── member-input.svelte │ │ │ │ ├── module-script-input.svelte │ │ │ │ ├── multiple-index-signatures-input.svelte │ │ │ │ ├── nested-props-input.svelte │ │ │ │ ├── nested-props2-input.svelte │ │ │ │ ├── nested-props3-input.svelte │ │ │ │ ├── nested-props4-input.svelte │ │ │ │ ├── nested-unused-config.json │ │ │ │ ├── nested-unused-input.svelte │ │ │ │ ├── nested-unused2-config.json │ │ │ │ ├── nested-unused2-input.svelte │ │ │ │ ├── new-expression-input.svelte │ │ │ │ ├── optional-props-input.svelte │ │ │ │ ├── record-type-input.svelte │ │ │ │ ├── recursive-type-input.svelte │ │ │ │ ├── rename-unused-input.svelte │ │ │ │ ├── rest-and-index-input.svelte │ │ │ │ ├── rest-with-index-input.svelte │ │ │ │ ├── shared-types.ts │ │ │ │ ├── spread-nested1-input.svelte │ │ │ │ ├── spread-nested2-input.svelte │ │ │ │ ├── spread-nested3-input.svelte │ │ │ │ ├── spread-nested4-config.json │ │ │ │ ├── spread-nested4-input.svelte │ │ │ │ ├── spread-nested5-input.svelte │ │ │ │ ├── spread-root1-input.svelte │ │ │ │ ├── spread-root2-config.json │ │ │ │ ├── spread-root2-input.svelte │ │ │ │ ├── spread-root3-input.svelte │ │ │ │ ├── template-usage-input.svelte │ │ │ │ ├── ts-basic-input.svelte │ │ │ │ ├── typed-props-input.svelte │ │ │ │ ├── union-type-input.svelte │ │ │ │ └── used-index-signature-input.svelte │ │ │ ├── no-unused-svelte-ignore/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── html-comment-errors.yaml │ │ │ │ │ ├── html-comment-input.svelte │ │ │ │ │ ├── html-comment-requirements.json │ │ │ │ │ ├── html-comment-svelte4-errors.yaml │ │ │ │ │ ├── html-comment-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore01-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore01-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore01-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore01-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore01-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore02-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore02-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore02-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore02-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore02-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore03-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore03-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore03-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore03-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore03-svelte4-input.svelte │ │ │ │ │ ├── missing-code-errors.yaml │ │ │ │ │ ├── missing-code-input.svelte │ │ │ │ │ ├── script-comment01-errors.yaml │ │ │ │ │ ├── script-comment01-input.svelte │ │ │ │ │ ├── script-comment01-requirements.json │ │ │ │ │ ├── script-comment01-svelte4-errors.yaml │ │ │ │ │ ├── script-comment01-svelte4-input.svelte │ │ │ │ │ ├── script-comment02-svelte4-errors.yaml │ │ │ │ │ ├── script-comment02-svelte4-input.svelte │ │ │ │ │ ├── script-comment02-svelte4-requirements.json │ │ │ │ │ ├── style-lang01-errors.yaml │ │ │ │ │ ├── style-lang01-input.svelte │ │ │ │ │ ├── style-lang02-errors.yaml │ │ │ │ │ ├── style-lang02-input.svelte │ │ │ │ │ ├── style-lang03-errors.yaml │ │ │ │ │ ├── style-lang03-input.svelte │ │ │ │ │ ├── style-lang04-errors.yaml │ │ │ │ │ ├── style-lang04-input.svelte │ │ │ │ │ ├── style-lang05-errors.yaml │ │ │ │ │ ├── style-lang05-input.svelte │ │ │ │ │ ├── style-lang06-errors.yaml │ │ │ │ │ ├── style-lang06-input.svelte │ │ │ │ │ ├── transform-test-errors.yaml │ │ │ │ │ ├── transform-test-input.svelte │ │ │ │ │ ├── transform-test-requirements.json │ │ │ │ │ ├── transform-test-svelte4-errors.yaml │ │ │ │ │ └── transform-test-svelte4-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── element-ignore01-input.svelte │ │ │ │ ├── element-ignore01-requirements.json │ │ │ │ ├── element-ignore01-svelte4-input.svelte │ │ │ │ ├── has-error-svelte4-input.svelte │ │ │ │ ├── html-comment-input.svelte │ │ │ │ ├── html-comment-requirements.json │ │ │ │ ├── html-comment-svelte4-input.svelte │ │ │ │ ├── ignore-js-input.js │ │ │ │ ├── kebab-ignore-input.svelte │ │ │ │ ├── reactive-component-input.svelte │ │ │ │ ├── reactive-component-requirements.json │ │ │ │ ├── script-comment-input.svelte │ │ │ │ ├── script-comment-requirements.json │ │ │ │ ├── script-comment-svelte4-input.svelte │ │ │ │ ├── script-comment-svelte4-requirements.json │ │ │ │ ├── style-lang01-input.svelte │ │ │ │ ├── style-lang01-requirements.json │ │ │ │ ├── style-lang02-input.svelte │ │ │ │ ├── style-lang02-requirements.json │ │ │ │ ├── style-lang03-input.svelte │ │ │ │ ├── style-lang03-requirements.json │ │ │ │ ├── style-lang04-input.svelte │ │ │ │ ├── style-lang04-requirements.json │ │ │ │ ├── style-lang05-input.svelte │ │ │ │ ├── style-lang05-requirements.json │ │ │ │ ├── style-lang06-input.svelte │ │ │ │ ├── style-lang06-requirements.json │ │ │ │ ├── style-lang07-input.svelte │ │ │ │ ├── svelte-ignore-comma-separated-input.svelte │ │ │ │ ├── svelte-ignore-comma-separated-requirements.json │ │ │ │ ├── svelte-ignore-note-input.svelte │ │ │ │ ├── svelte-ignore-note-requirements.json │ │ │ │ ├── svelte-ignore01-input.svelte │ │ │ │ ├── svelte-ignore01-requirements.json │ │ │ │ ├── svelte-ignore01-svelte4-input.svelte │ │ │ │ ├── svelte-ignore02-input.svelte │ │ │ │ ├── svelte-ignore02-requirements.json │ │ │ │ ├── svelte-ignore02-svelte4-input.svelte │ │ │ │ ├── svelte-ignore03-input.svelte │ │ │ │ ├── svelte-ignore03-requirements.json │ │ │ │ ├── svelte-ignore03-svelte4-input.svelte │ │ │ │ ├── svelte-ignore04-input.svelte │ │ │ │ ├── svelte-ignore04-requirements.json │ │ │ │ ├── svelte-ignore04-svelte4-input.svelte │ │ │ │ ├── svelte-ignore05-input.svelte │ │ │ │ ├── svelte-ignore05-requirements.json │ │ │ │ ├── svelte-ignore05-svelte4-input.svelte │ │ │ │ ├── svelte-ignore06-input.svelte │ │ │ │ ├── svelte-ignore06-requirements.json │ │ │ │ ├── svelte-ignore06-svelte4-input.svelte │ │ │ │ ├── svelte-ignore07-input.svelte │ │ │ │ ├── svelte-ignore07-requirements.json │ │ │ │ ├── svelte-ignore07-svelte4-input.svelte │ │ │ │ ├── ts-lang01-input.svelte │ │ │ │ ├── ts-lang01-requirements.json │ │ │ │ └── ts-lang01-svelte4-input.svelte │ │ │ ├── no-useless-children-snippet/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── children-snippet01-errors.yaml │ │ │ │ │ └── children-snippet01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── implicit-snippet01-input.svelte │ │ │ │ ├── named-snippet01-input.svelte │ │ │ │ ├── snippet-with-params01-input.svelte │ │ │ │ └── standalone-snippet01-input.svelte │ │ │ ├── no-useless-mustaches/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── comments01-errors.yaml │ │ │ │ │ ├── comments01-input.svelte │ │ │ │ │ ├── comments01-output.svelte │ │ │ │ │ ├── escape-test01-errors.yaml │ │ │ │ │ ├── escape-test01-input.svelte │ │ │ │ │ ├── escape-test01-output.svelte │ │ │ │ │ ├── invalid-test01-errors.yaml │ │ │ │ │ ├── invalid-test01-input.svelte │ │ │ │ │ ├── invalid-test01-output.svelte │ │ │ │ │ ├── quote-test01-errors.yaml │ │ │ │ │ ├── quote-test01-input.svelte │ │ │ │ │ ├── quote-test01-output.svelte │ │ │ │ │ ├── quote-test02-errors.yaml │ │ │ │ │ ├── quote-test02-input.svelte │ │ │ │ │ ├── quote-test02-output.svelte │ │ │ │ │ ├── spaces-test01-errors.yaml │ │ │ │ │ ├── spaces-test01-input.svelte │ │ │ │ │ ├── spaces-test01-output.svelte │ │ │ │ │ ├── tag-test01-errors.yaml │ │ │ │ │ ├── tag-test01-input.svelte │ │ │ │ │ └── tag-test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── ignore-includes-comment/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── comments01-input.svelte │ │ │ │ ├── ignore-string-escape/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── escape-test01-input.svelte │ │ │ │ ├── valid-test01-input.svelte │ │ │ │ └── valid-test02-input.svelte │ │ │ ├── prefer-class-directive/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── empty/ │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── simple-test01-errors.yaml │ │ │ │ │ ├── simple-test01-input.svelte │ │ │ │ │ ├── simple-test01-output.svelte │ │ │ │ │ ├── svelte-element01-errors.yaml │ │ │ │ │ ├── svelte-element01-input.svelte │ │ │ │ │ ├── svelte-element01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ ├── test02-output.svelte │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ ├── test03-input.svelte │ │ │ │ │ ├── test03-output.svelte │ │ │ │ │ ├── transform-test01-errors.yaml │ │ │ │ │ ├── transform-test01-input.svelte │ │ │ │ │ ├── transform-test01-output.svelte │ │ │ │ │ ├── transform-test02-errors.yaml │ │ │ │ │ ├── transform-test02-input.svelte │ │ │ │ │ ├── transform-test02-output.svelte │ │ │ │ │ ├── trim-test01-errors.yaml │ │ │ │ │ ├── trim-test01-input.svelte │ │ │ │ │ ├── trim-test01-output.svelte │ │ │ │ │ ├── trim-test01.2-errors.yaml │ │ │ │ │ ├── trim-test01.2-input.svelte │ │ │ │ │ └── trim-test01.2-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _config.json │ │ │ │ ├── empty/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── ignore-test05-input.svelte │ │ │ │ ├── ignore-component01-input.svelte │ │ │ │ ├── ignore-svelte-self01-input.svelte │ │ │ │ ├── ignore-test01-input.svelte │ │ │ │ ├── ignore-test02-input.svelte │ │ │ │ ├── ignore-test03-input.svelte │ │ │ │ ├── ignore-test04-input.svelte │ │ │ │ └── simple-test01-input.svelte │ │ │ ├── prefer-const/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── option1/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── option2/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── 1238/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── input.svelte │ │ │ │ ├── option1/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── option2/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── prefer-destructured-store-props/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── fixer-test01-errors.yaml │ │ │ │ │ ├── fixer-test01-input.svelte │ │ │ │ │ ├── member01-errors.yaml │ │ │ │ │ ├── member01-input.svelte │ │ │ │ │ ├── member02-errors.yaml │ │ │ │ │ ├── member02-input.svelte │ │ │ │ │ ├── member03-errors.yaml │ │ │ │ │ ├── member03-input.svelte │ │ │ │ │ ├── module-errors.yaml │ │ │ │ │ ├── module-input.svelte │ │ │ │ │ ├── runes-with-store01-errors.yaml │ │ │ │ │ ├── runes-with-store01-input.svelte │ │ │ │ │ ├── runes-with-store01-requirements.json │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ └── test03-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── builtin-vars01-input.svelte │ │ │ │ ├── builtin-vars02-input.svelte │ │ │ │ ├── runes01-input.svelte.js │ │ │ │ ├── runes01-requirements.json │ │ │ │ ├── script-test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── prefer-style-directive/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── complex-test01-errors.yaml │ │ │ │ │ ├── complex-test01-input.svelte │ │ │ │ │ ├── complex-test01-output.svelte │ │ │ │ │ ├── svelte-element01-errors.yaml │ │ │ │ │ ├── svelte-element01-input.svelte │ │ │ │ │ ├── svelte-element01-output.svelte │ │ │ │ │ ├── ternary01-errors.yaml │ │ │ │ │ ├── ternary01-input.svelte │ │ │ │ │ ├── ternary01-output.svelte │ │ │ │ │ ├── ternary02-errors.yaml │ │ │ │ │ ├── ternary02-input.svelte │ │ │ │ │ ├── ternary02-output.svelte │ │ │ │ │ ├── ternary03-errors.yaml │ │ │ │ │ ├── ternary03-input.svelte │ │ │ │ │ ├── ternary03-output.svelte │ │ │ │ │ ├── ternary04-errors.yaml │ │ │ │ │ ├── ternary04-input.svelte │ │ │ │ │ ├── ternary04-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ ├── test02-input.svelte │ │ │ │ │ ├── test02-output.svelte │ │ │ │ │ ├── test03-errors.yaml │ │ │ │ │ ├── test03-input.svelte │ │ │ │ │ ├── test03-output.svelte │ │ │ │ │ ├── test04-errors.yaml │ │ │ │ │ ├── test04-input.svelte │ │ │ │ │ └── test04-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── empty01-input.svelte │ │ │ │ ├── ignore-component01-input.svelte │ │ │ │ ├── ignore-svelte-self01-input.svelte │ │ │ │ ├── invalid-style01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── prefer-svelte-reactivity/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── date/ │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── setDate01-errors.yaml │ │ │ │ │ │ ├── setDate01-input.svelte │ │ │ │ │ │ ├── setFullYear01-errors.yaml │ │ │ │ │ │ ├── setFullYear01-input.svelte │ │ │ │ │ │ ├── setFullYear02-errors.yaml │ │ │ │ │ │ ├── setFullYear02-input.svelte │ │ │ │ │ │ ├── setFullYear03-errors.yaml │ │ │ │ │ │ ├── setFullYear03-input.svelte │ │ │ │ │ │ ├── setHours01-errors.yaml │ │ │ │ │ │ ├── setHours01-input.svelte │ │ │ │ │ │ ├── setHours02-errors.yaml │ │ │ │ │ │ ├── setHours02-input.svelte │ │ │ │ │ │ ├── setHours03-errors.yaml │ │ │ │ │ │ ├── setHours03-input.svelte │ │ │ │ │ │ ├── setHours04-errors.yaml │ │ │ │ │ │ ├── setHours04-input.svelte │ │ │ │ │ │ ├── setMilliseconds01-errors.yaml │ │ │ │ │ │ ├── setMilliseconds01-input.svelte │ │ │ │ │ │ ├── setMinutes01-errors.yaml │ │ │ │ │ │ ├── setMinutes01-input.svelte │ │ │ │ │ │ ├── setMinutes02-errors.yaml │ │ │ │ │ │ ├── setMinutes02-input.svelte │ │ │ │ │ │ ├── setMinutes03-errors.yaml │ │ │ │ │ │ ├── setMinutes03-input.svelte │ │ │ │ │ │ ├── setMonth01-errors.yaml │ │ │ │ │ │ ├── setMonth01-input.svelte │ │ │ │ │ │ ├── setMonth02-errors.yaml │ │ │ │ │ │ ├── setMonth02-input.svelte │ │ │ │ │ │ ├── setSeconds01-errors.yaml │ │ │ │ │ │ ├── setSeconds01-input.svelte │ │ │ │ │ │ ├── setSeconds02-errors.yaml │ │ │ │ │ │ ├── setSeconds02-input.svelte │ │ │ │ │ │ ├── setTime01-errors.yaml │ │ │ │ │ │ ├── setTime01-input.svelte │ │ │ │ │ │ ├── setUTCDate01-errors.yaml │ │ │ │ │ │ ├── setUTCDate01-input.svelte │ │ │ │ │ │ ├── setUTCFullYear01-errors.yaml │ │ │ │ │ │ ├── setUTCFullYear01-input.svelte │ │ │ │ │ │ ├── setUTCFullYear02-errors.yaml │ │ │ │ │ │ ├── setUTCFullYear02-input.svelte │ │ │ │ │ │ ├── setUTCFullYear03-errors.yaml │ │ │ │ │ │ ├── setUTCFullYear03-input.svelte │ │ │ │ │ │ ├── setUTCHours01-errors.yaml │ │ │ │ │ │ ├── setUTCHours01-input.svelte │ │ │ │ │ │ ├── setUTCHours02-errors.yaml │ │ │ │ │ │ ├── setUTCHours02-input.svelte │ │ │ │ │ │ ├── setUTCHours03-errors.yaml │ │ │ │ │ │ ├── setUTCHours03-input.svelte │ │ │ │ │ │ ├── setUTCHours04-errors.yaml │ │ │ │ │ │ ├── setUTCHours04-input.svelte │ │ │ │ │ │ ├── setUTCMilliseconds01-errors.yaml │ │ │ │ │ │ ├── setUTCMilliseconds01-input.svelte │ │ │ │ │ │ ├── setUTCMinutes01-errors.yaml │ │ │ │ │ │ ├── setUTCMinutes01-input.svelte │ │ │ │ │ │ ├── setUTCMinutes02-errors.yaml │ │ │ │ │ │ ├── setUTCMinutes02-input.svelte │ │ │ │ │ │ ├── setUTCMinutes03-errors.yaml │ │ │ │ │ │ ├── setUTCMinutes03-input.svelte │ │ │ │ │ │ ├── setUTCMonth01-errors.yaml │ │ │ │ │ │ ├── setUTCMonth01-input.svelte │ │ │ │ │ │ ├── setUTCMonth02-errors.yaml │ │ │ │ │ │ ├── setUTCMonth02-input.svelte │ │ │ │ │ │ ├── setUTCSeconds01-errors.yaml │ │ │ │ │ │ ├── setUTCSeconds01-input.svelte │ │ │ │ │ │ ├── setUTCSeconds02-errors.yaml │ │ │ │ │ │ ├── setUTCSeconds02-input.svelte │ │ │ │ │ │ ├── setYear01-errors.yaml │ │ │ │ │ │ └── setYear01-input.svelte │ │ │ │ │ ├── exports01-errors.yaml │ │ │ │ │ ├── exports01-input.svelte.js │ │ │ │ │ ├── exports02-errors.yaml │ │ │ │ │ ├── exports02-input.svelte.js │ │ │ │ │ ├── exports03-errors.yaml │ │ │ │ │ ├── exports03-input.svelte.js │ │ │ │ │ ├── exports04-errors.yaml │ │ │ │ │ ├── exports04-input.svelte.js │ │ │ │ │ ├── map/ │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── clear01-errors.yaml │ │ │ │ │ │ ├── clear01-input.svelte │ │ │ │ │ │ ├── delete01-errors.yaml │ │ │ │ │ │ ├── delete01-input.svelte │ │ │ │ │ │ ├── set01-errors.yaml │ │ │ │ │ │ └── set01-input.svelte │ │ │ │ │ ├── set/ │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── add01-errors.yaml │ │ │ │ │ │ ├── add01-input.svelte │ │ │ │ │ │ ├── clear01-errors.yaml │ │ │ │ │ │ ├── clear01-input.svelte │ │ │ │ │ │ ├── delete01-errors.yaml │ │ │ │ │ │ └── delete01-input.svelte │ │ │ │ │ ├── url/ │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── hash01-errors.yaml │ │ │ │ │ │ ├── hash01-input.svelte │ │ │ │ │ │ ├── host01-errors.yaml │ │ │ │ │ │ ├── host01-input.svelte │ │ │ │ │ │ ├── hostname01-errors.yaml │ │ │ │ │ │ ├── hostname01-input.svelte │ │ │ │ │ │ ├── href01-errors.yaml │ │ │ │ │ │ ├── href01-input.svelte │ │ │ │ │ │ ├── password01-errors.yaml │ │ │ │ │ │ ├── password01-input.svelte │ │ │ │ │ │ ├── pathname01-errors.yaml │ │ │ │ │ │ ├── pathname01-input.svelte │ │ │ │ │ │ ├── port01-errors.yaml │ │ │ │ │ │ ├── port01-input.svelte │ │ │ │ │ │ ├── protocol01-errors.yaml │ │ │ │ │ │ ├── protocol01-input.svelte │ │ │ │ │ │ ├── search01-errors.yaml │ │ │ │ │ │ ├── search01-input.svelte │ │ │ │ │ │ ├── username01-errors.yaml │ │ │ │ │ │ └── username01-input.svelte │ │ │ │ │ └── url-search-params/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── append01-errors.yaml │ │ │ │ │ ├── append01-input.svelte │ │ │ │ │ ├── delete01-errors.yaml │ │ │ │ │ ├── delete01-input.svelte │ │ │ │ │ ├── delete02-errors.yaml │ │ │ │ │ ├── delete02-input.svelte │ │ │ │ │ ├── set01-errors.yaml │ │ │ │ │ ├── set01-input.svelte │ │ │ │ │ ├── sort01-errors.yaml │ │ │ │ │ └── sort01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── aliased-date01-input.svelte │ │ │ │ ├── aliased-map01-input.svelte │ │ │ │ ├── aliased-set01-input.svelte │ │ │ │ ├── aliased-url-search-params01-input.svelte │ │ │ │ ├── aliased-url01-input.svelte │ │ │ │ ├── date01-input.svelte │ │ │ │ ├── map01-input.svelte │ │ │ │ ├── set01-input.svelte │ │ │ │ ├── svelte-date01-input.svelte │ │ │ │ ├── svelte-map01-input.svelte │ │ │ │ ├── svelte-set01-input.svelte │ │ │ │ ├── svelte-url-search-params01-input.svelte │ │ │ │ ├── svelte-url01-input.svelte │ │ │ │ ├── unrelated-date01-input.svelte │ │ │ │ ├── unrelated-map01-input.svelte │ │ │ │ ├── unrelated-set01-input.svelte │ │ │ │ ├── unrelated-url-search-params01-input.svelte │ │ │ │ ├── unrelated-url01-input.svelte │ │ │ │ ├── url-search-params01-input.svelte │ │ │ │ └── url01-input.svelte │ │ │ ├── prefer-writable-derived/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── basic1-errors.yaml │ │ │ │ │ ├── basic1-input.svelte │ │ │ │ │ ├── basic2-errors.yaml │ │ │ │ │ ├── basic2-input.svelte │ │ │ │ │ ├── effect-pre1-errors.yaml │ │ │ │ │ ├── effect-pre1-input.svelte │ │ │ │ │ ├── effect-pre2-errors.yaml │ │ │ │ │ ├── effect-pre2-input.svelte │ │ │ │ │ ├── multiple-reassign1-errors.yaml │ │ │ │ │ ├── multiple-reassign1-input.svelte │ │ │ │ │ ├── multiple-reassign2-errors.yaml │ │ │ │ │ ├── multiple-reassign2-input.svelte │ │ │ │ │ ├── multiple-reassign3-errors.yaml │ │ │ │ │ └── multiple-reassign3-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── condition1-input.svelte │ │ │ │ └── condition2-input.svelte │ │ │ ├── require-each-key/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── each-block-without-key01-errors.yaml │ │ │ │ │ └── each-block-without-key01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── keyed-each-block01-input.svelte │ │ │ │ └── svelte5/ │ │ │ │ ├── _requirements.json │ │ │ │ └── each-blocks-without-an-item-input.svelte │ │ │ ├── require-event-dispatcher-types/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── import-alias01-errors.yaml │ │ │ │ │ ├── import-alias01-input.svelte │ │ │ │ │ ├── no-types01-errors.yaml │ │ │ │ │ └── no-types01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── has-types01-input.svelte │ │ │ │ ├── no-typescript01-input.svelte │ │ │ │ └── non-svelte-dispatcher01-input.svelte │ │ │ ├── require-event-prefix/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ ├── checkAsyncFunctions/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── _requirements.json │ │ │ │ │ │ ├── async-arrow01-errors.yaml │ │ │ │ │ │ ├── async-arrow01-input.svelte │ │ │ │ │ │ ├── async01-errors.yaml │ │ │ │ │ │ └── async01-input.svelte │ │ │ │ │ ├── no-prefix-arrow01-errors.yaml │ │ │ │ │ ├── no-prefix-arrow01-input.svelte │ │ │ │ │ ├── no-prefix-inline-type01-errors.yaml │ │ │ │ │ ├── no-prefix-inline-type01-input.svelte │ │ │ │ │ ├── no-prefix01-errors.yaml │ │ │ │ │ └── no-prefix01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── _requirements.json │ │ │ │ ├── any01-input.svelte │ │ │ │ ├── async01-input.svelte │ │ │ │ ├── non-function01-input.svelte │ │ │ │ └── with-prefix01-input.svelte │ │ │ ├── require-optimized-style-attribute/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── comment01-errors.yaml │ │ │ │ │ ├── comment01-input.svelte │ │ │ │ │ ├── key01-errors.yaml │ │ │ │ │ ├── key01-input.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── empty01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── require-store-callbacks-use-set-param/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test02-errors.yaml │ │ │ │ │ └── test02-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── test01-input.svelte │ │ │ │ └── test02-input.svelte │ │ │ ├── require-store-reactive-access/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── attrs-store01-errors.yaml │ │ │ │ │ ├── attrs-store01-input.svelte │ │ │ │ │ ├── attrs-store01-output.svelte │ │ │ │ │ ├── await01-errors.yaml │ │ │ │ │ ├── await01-input.svelte │ │ │ │ │ ├── await01-output.svelte │ │ │ │ │ ├── calc01-errors.yaml │ │ │ │ │ ├── calc01-input.svelte │ │ │ │ │ ├── calc01-output.svelte │ │ │ │ │ ├── calc01-requirements.json │ │ │ │ │ ├── call01-errors.yaml │ │ │ │ │ ├── call01-input.svelte │ │ │ │ │ ├── call01-output.svelte │ │ │ │ │ ├── condition01-errors.yaml │ │ │ │ │ ├── condition01-input.svelte │ │ │ │ │ ├── condition01-output.svelte │ │ │ │ │ ├── directives-store01-errors.yaml │ │ │ │ │ ├── directives-store01-input.svelte │ │ │ │ │ ├── directives-store01-output.svelte │ │ │ │ │ ├── for-in01-errors.yaml │ │ │ │ │ ├── for-in01-input.svelte │ │ │ │ │ ├── for-in01-output.svelte │ │ │ │ │ ├── for-of01-errors.yaml │ │ │ │ │ ├── for-of01-input.svelte │ │ │ │ │ ├── for-of01-output.svelte │ │ │ │ │ ├── if-block01-errors.yaml │ │ │ │ │ ├── if-block01-input.svelte │ │ │ │ │ ├── if-block01-output.svelte │ │ │ │ │ ├── if-statement01-errors.yaml │ │ │ │ │ ├── if-statement01-input.svelte │ │ │ │ │ ├── if-statement01-output.svelte │ │ │ │ │ ├── import01-errors.yaml │ │ │ │ │ ├── import01-input.svelte │ │ │ │ │ ├── import01-output.svelte │ │ │ │ │ ├── properties01-errors.yaml │ │ │ │ │ ├── properties01-input.svelte │ │ │ │ │ ├── properties01-output.svelte │ │ │ │ │ ├── props-store01-errors.yaml │ │ │ │ │ ├── props-store01-input.svelte │ │ │ │ │ ├── props-store01-output.svelte │ │ │ │ │ ├── spread01-errors.yaml │ │ │ │ │ ├── spread01-input.svelte │ │ │ │ │ ├── spread01-output.svelte │ │ │ │ │ ├── svelte-component01-errors.yaml │ │ │ │ │ ├── svelte-component01-input.svelte │ │ │ │ │ ├── svelte-component01-output.svelte │ │ │ │ │ ├── svelte-element01-errors.yaml │ │ │ │ │ ├── svelte-element01-input.svelte │ │ │ │ │ ├── svelte-element01-output.svelte │ │ │ │ │ ├── switch01-errors.yaml │ │ │ │ │ ├── switch01-input.svelte │ │ │ │ │ ├── switch01-output.svelte │ │ │ │ │ ├── tagged01-errors.yaml │ │ │ │ │ ├── tagged01-input.svelte │ │ │ │ │ ├── tagged01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ └── ts/ │ │ │ │ │ ├── ts-class-directives01-errors.yaml │ │ │ │ │ ├── ts-class-directives01-input.svelte │ │ │ │ │ ├── ts-class-directives01-output.svelte │ │ │ │ │ ├── ts-i18n-errors.yaml │ │ │ │ │ ├── ts-i18n-input.svelte │ │ │ │ │ ├── ts-i18n-output.svelte │ │ │ │ │ ├── ts-if-block01-errors.yaml │ │ │ │ │ ├── ts-if-block01-input.svelte │ │ │ │ │ ├── ts-if-block01-output.svelte │ │ │ │ │ ├── ts-stores01-errors.yaml │ │ │ │ │ ├── ts-stores01-input.svelte │ │ │ │ │ ├── ts-stores01-output.svelte │ │ │ │ │ ├── ts-test01-errors.yaml │ │ │ │ │ ├── ts-test01-input.svelte │ │ │ │ │ └── ts-test01-output.svelte │ │ │ │ ├── ts/ │ │ │ │ │ ├── non-store.ts │ │ │ │ │ └── store.ts │ │ │ │ └── valid/ │ │ │ │ ├── attrs-store01-input.svelte │ │ │ │ ├── await01-input.svelte │ │ │ │ ├── calc01-input.svelte │ │ │ │ ├── call01-input.svelte │ │ │ │ ├── condition01-input.svelte │ │ │ │ ├── directives-store01-input.svelte │ │ │ │ ├── for-in01-input.svelte │ │ │ │ ├── for-of01-input.svelte │ │ │ │ ├── if-statement01-input.svelte │ │ │ │ ├── import01-input.svelte │ │ │ │ ├── properties01-input.svelte │ │ │ │ ├── props-store01-input.svelte │ │ │ │ ├── spread01-input.svelte │ │ │ │ ├── svelte-component01-input.svelte │ │ │ │ ├── svelte-element01-input.svelte │ │ │ │ ├── switch01-input.svelte │ │ │ │ ├── tagged01-input.svelte │ │ │ │ ├── test01-input.svelte │ │ │ │ ├── ts/ │ │ │ │ │ ├── ts-i18n-input.svelte │ │ │ │ │ ├── ts-non-store01-input.svelte │ │ │ │ │ ├── ts-non-store02-input.svelte │ │ │ │ │ ├── ts-stores01-input.svelte │ │ │ │ │ └── ts-test01-input.svelte │ │ │ │ ├── unknown-values01-input.svelte │ │ │ │ └── unknown-values02-input.svelte │ │ │ ├── require-stores-init/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── no-init-in-js01-errors.yaml │ │ │ │ │ ├── no-init-in-js01-input.js │ │ │ │ │ ├── no-init01-errors.yaml │ │ │ │ │ └── no-init01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── has-init-in-js01-input.js │ │ │ │ ├── has-init01-input.svelte │ │ │ │ ├── no-svelte-store01-input.svelte │ │ │ │ └── spread01-input.svelte │ │ │ ├── shorthand-attribute/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── always/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── never/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── shorthand-directive/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── never/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-output.svelte │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ └── test01-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── always/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── never/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── test01-input.svelte │ │ │ ├── sort-attributes/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── alphabetical-test-config.json │ │ │ │ │ ├── alphabetical-test-errors.yaml │ │ │ │ │ ├── alphabetical-test-input.svelte │ │ │ │ │ ├── alphabetical-test-output.svelte │ │ │ │ │ ├── attach-tag-errors.yaml │ │ │ │ │ ├── attach-tag-input.svelte │ │ │ │ │ ├── attach-tag-output.svelte │ │ │ │ │ ├── attach-tag-requirements.json │ │ │ │ │ ├── default/ │ │ │ │ │ │ ├── class-test-errors.yaml │ │ │ │ │ │ ├── class-test-input.svelte │ │ │ │ │ │ ├── class-test-output.svelte │ │ │ │ │ │ ├── default-test01-errors.yaml │ │ │ │ │ │ ├── default-test01-input.svelte │ │ │ │ │ │ ├── default-test01-output.svelte │ │ │ │ │ │ ├── default-test01fix1-errors.yaml │ │ │ │ │ │ ├── default-test01fix1-input.svelte │ │ │ │ │ │ ├── default-test01fix1-output.svelte │ │ │ │ │ │ ├── default-test01fix2-errors.yaml │ │ │ │ │ │ ├── default-test01fix2-input.svelte │ │ │ │ │ │ ├── default-test01fix2-output.svelte │ │ │ │ │ │ ├── default-test01fix3-errors.yaml │ │ │ │ │ │ ├── default-test01fix3-input.svelte │ │ │ │ │ │ ├── default-test01fix3-output.svelte │ │ │ │ │ │ ├── default-test01fix4-errors.yaml │ │ │ │ │ │ ├── default-test01fix4-input.svelte │ │ │ │ │ │ ├── default-test01fix4-output.svelte │ │ │ │ │ │ ├── in-out-test-errors.yaml │ │ │ │ │ │ ├── in-out-test-input.svelte │ │ │ │ │ │ ├── in-out-test-output.svelte │ │ │ │ │ │ ├── let-test-errors.yaml │ │ │ │ │ │ ├── let-test-input.svelte │ │ │ │ │ │ ├── let-test-output.svelte │ │ │ │ │ │ ├── slot-test-errors.yaml │ │ │ │ │ │ ├── slot-test-input.svelte │ │ │ │ │ │ ├── slot-test-output.svelte │ │ │ │ │ │ ├── spread-test01-errors.yaml │ │ │ │ │ │ ├── spread-test01-input.svelte │ │ │ │ │ │ ├── spread-test01-output.svelte │ │ │ │ │ │ ├── spread-test02-errors.yaml │ │ │ │ │ │ ├── spread-test02-input.svelte │ │ │ │ │ │ ├── spread-test02-output.svelte │ │ │ │ │ │ ├── spread-test03-errors.yaml │ │ │ │ │ │ ├── spread-test03-input.svelte │ │ │ │ │ │ ├── spread-test03-output.svelte │ │ │ │ │ │ ├── style-ptops-test-errors.yaml │ │ │ │ │ │ ├── style-ptops-test-input.svelte │ │ │ │ │ │ ├── style-ptops-test-output.svelte │ │ │ │ │ │ ├── use-test-errors.yaml │ │ │ │ │ │ ├── use-test-input.svelte │ │ │ │ │ │ └── use-test-output.svelte │ │ │ │ │ ├── ignore-no-order-test-config.json │ │ │ │ │ ├── ignore-no-order-test-errors.yaml │ │ │ │ │ ├── ignore-no-order-test-input.svelte │ │ │ │ │ ├── ignore-no-order-test-output.svelte │ │ │ │ │ ├── ignore-no-order-with-spread-test-config.json │ │ │ │ │ ├── ignore-no-order-with-spread-test-errors.yaml │ │ │ │ │ ├── ignore-no-order-with-spread-test-input.svelte │ │ │ │ │ ├── ignore-no-order-with-spread-test-output.svelte │ │ │ │ │ └── order/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── test01-errors.yaml │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── test01-output.svelte │ │ │ │ │ ├── test01fix1-errors.yaml │ │ │ │ │ ├── test01fix1-input.svelte │ │ │ │ │ ├── test01fix1-output.svelte │ │ │ │ │ ├── test01fix2-errors.yaml │ │ │ │ │ ├── test01fix2-input.svelte │ │ │ │ │ ├── test01fix2-output.svelte │ │ │ │ │ ├── test01fix3-errors.yaml │ │ │ │ │ ├── test01fix3-input.svelte │ │ │ │ │ ├── test01fix3-output.svelte │ │ │ │ │ ├── test01fix4-errors.yaml │ │ │ │ │ ├── test01fix4-input.svelte │ │ │ │ │ ├── test01fix4-output.svelte │ │ │ │ │ ├── test01fix5-errors.yaml │ │ │ │ │ ├── test01fix5-input.svelte │ │ │ │ │ ├── test01fix5-output.svelte │ │ │ │ │ ├── test01fix6-errors.yaml │ │ │ │ │ ├── test01fix6-input.svelte │ │ │ │ │ ├── test01fix6-output.svelte │ │ │ │ │ ├── test01fix7-errors.yaml │ │ │ │ │ ├── test01fix7-input.svelte │ │ │ │ │ └── test01fix7-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── alphabetical-test-config.json │ │ │ │ ├── alphabetical-test-input.svelte │ │ │ │ ├── attach-tag-input.svelte │ │ │ │ ├── attach-tag-requirements.json │ │ │ │ ├── default/ │ │ │ │ │ ├── bind-on-test01-input.svelte │ │ │ │ │ ├── class-test-input.svelte │ │ │ │ │ ├── default-test01-input.svelte │ │ │ │ │ ├── ignore-spread-test-input.svelte │ │ │ │ │ ├── in-out-test-input.svelte │ │ │ │ │ ├── let-test-input.svelte │ │ │ │ │ ├── slot-test-input.svelte │ │ │ │ │ ├── spread-test01-input.svelte │ │ │ │ │ ├── spread-test02-input.svelte │ │ │ │ │ ├── style-ptops-test-input.svelte │ │ │ │ │ ├── style-test-input.svelte │ │ │ │ │ └── use-test-input.svelte │ │ │ │ ├── ignore-no-order-test-config.json │ │ │ │ ├── ignore-no-order-test-input.svelte │ │ │ │ ├── ignore-no-order-with-spread-test-config.json │ │ │ │ ├── ignore-no-order-with-spread-test-input.svelte │ │ │ │ └── order/ │ │ │ │ ├── _config.json │ │ │ │ └── test01-input.svelte │ │ │ ├── spaced-html-comment/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── always/ │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── always-invalid-errors.yaml │ │ │ │ │ │ ├── always-invalid-input.svelte │ │ │ │ │ │ └── always-invalid-output.svelte │ │ │ │ │ ├── default/ │ │ │ │ │ │ ├── default-invalid-errors.yaml │ │ │ │ │ │ ├── default-invalid-input.svelte │ │ │ │ │ │ └── default-invalid-output.svelte │ │ │ │ │ └── never/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── never-invalid-errors.yaml │ │ │ │ │ ├── never-invalid-input.svelte │ │ │ │ │ └── never-invalid-output.svelte │ │ │ │ └── valid/ │ │ │ │ ├── always/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── default/ │ │ │ │ │ └── test01-input.svelte │ │ │ │ └── never/ │ │ │ │ ├── _config.json │ │ │ │ └── test01-input.svelte │ │ │ ├── sveltekit-types.d.ts │ │ │ ├── tsconfig.json │ │ │ ├── valid-compile/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── a11y01-errors.yaml │ │ │ │ │ ├── a11y01-input.svelte │ │ │ │ │ ├── a11y01-requirements.json │ │ │ │ │ ├── a11y01-svelte4-errors.yaml │ │ │ │ │ ├── a11y01-svelte4-input.svelte │ │ │ │ │ ├── a11y01-svelte4-requirements.json │ │ │ │ │ ├── custom_element_props_identifier-errors.yaml │ │ │ │ │ ├── custom_element_props_identifier-input.svelte │ │ │ │ │ ├── custom_element_props_identifier-requirements.json │ │ │ │ │ ├── dyamic-slot01-errors.yaml │ │ │ │ │ ├── dyamic-slot01-input.svelte │ │ │ │ │ ├── dyamic-slot01-requirements.json │ │ │ │ │ ├── experimental-async-disabled/ │ │ │ │ │ │ ├── top-level-await-errors.yaml │ │ │ │ │ │ ├── top-level-await-input.svelte │ │ │ │ │ │ └── top-level-await-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore01-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore01-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore01-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore01-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore01-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore01-svelte4-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore02-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore02-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore02-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore02-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore02-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore02-svelte4-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore03-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore03-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore03-requirements.json │ │ │ │ │ ├── invalid-svelte-ignore03-svelte4-errors.yaml │ │ │ │ │ ├── invalid-svelte-ignore03-svelte4-input.svelte │ │ │ │ │ ├── invalid-svelte-ignore03-svelte4-requirements.json │ │ │ │ │ ├── style-lang01-errors.yaml │ │ │ │ │ ├── style-lang01-input.svelte │ │ │ │ │ ├── style-lang01-requirements.json │ │ │ │ │ ├── style-without-global-01-errors.yaml │ │ │ │ │ ├── style-without-global-01-input.svelte │ │ │ │ │ ├── style-without-global-01-requirements.json │ │ │ │ │ ├── style-without-global-02-errors.yaml │ │ │ │ │ ├── style-without-global-02-input.svelte │ │ │ │ │ ├── style-without-global-02-requirements.json │ │ │ │ │ ├── svelte-config-custom-warn/ │ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ │ ├── a11y-errors.yaml │ │ │ │ │ │ ├── a11y-input.svelte │ │ │ │ │ │ ├── a11y-requirements.json │ │ │ │ │ │ ├── a11y-svelte4-errors.yaml │ │ │ │ │ │ ├── a11y-svelte4-input.svelte │ │ │ │ │ │ └── a11y-svelte4-requirements.json │ │ │ │ │ ├── svelte-config-onwarn/ │ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ │ ├── a11y-errors.yaml │ │ │ │ │ │ ├── a11y-input.svelte │ │ │ │ │ │ ├── a11y-requirements.json │ │ │ │ │ │ ├── a11y-svelte4-errors.yaml │ │ │ │ │ │ ├── a11y-svelte4-input.svelte │ │ │ │ │ │ └── a11y-svelte4-requirements.json │ │ │ │ │ ├── svelte-config-warning-filter/ │ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ │ ├── a11y-errors.yaml │ │ │ │ │ │ ├── a11y-input.svelte │ │ │ │ │ │ └── a11y-requirements.json │ │ │ │ │ └── ts/ │ │ │ │ │ ├── enum01-errors.yaml │ │ │ │ │ ├── enum01-input.svelte │ │ │ │ │ ├── enum01-requirements.json │ │ │ │ │ ├── enum01-svelte4-errors.yaml │ │ │ │ │ ├── enum01-svelte4-input.svelte │ │ │ │ │ └── enum01-svelte4-requirements.json │ │ │ │ └── valid/ │ │ │ │ ├── babel/ │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── babel-function-bind01-input.svelte │ │ │ │ │ └── class01-input.svelte │ │ │ │ ├── global-style-input.svelte │ │ │ │ ├── ignore-warnings/ │ │ │ │ │ ├── _config.json │ │ │ │ │ └── enum01-input.svelte │ │ │ │ ├── ignore01-input.svelte │ │ │ │ ├── ignore01-requirements.json │ │ │ │ ├── ignore01-svelte4-input.svelte │ │ │ │ ├── ignore01-svelte4-requirements.json │ │ │ │ ├── ignore02-input.svelte │ │ │ │ ├── ignore02-requirements.json │ │ │ │ ├── ignore02-svelte4-input.svelte │ │ │ │ ├── ignore02-svelte4-requirements.json │ │ │ │ ├── no-false-custom_element_props_identifier-warning-without-custom-element-input.svelte │ │ │ │ ├── no-false-custom_element_props_identifier-warning-without-custom-element-requirements.json │ │ │ │ ├── script-comment-input.svelte │ │ │ │ ├── script-comment-requirements.json │ │ │ │ ├── script-comment-svelte4-input.svelte │ │ │ │ ├── script-comment-svelte4-requirements.json │ │ │ │ ├── style-lang01-input.svelte │ │ │ │ ├── style-lang02-input.svelte │ │ │ │ ├── style-lang03-input.svelte │ │ │ │ ├── svelte-config-experimental-async/ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ ├── top-level-await-input.svelte │ │ │ │ │ └── top-level-await-requirements.json │ │ │ │ ├── svelte-config-onwarn/ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ └── a11y-input.svelte │ │ │ │ ├── svelte-config-warning-filter/ │ │ │ │ │ ├── _config.cjs │ │ │ │ │ └── a11y-input.svelte │ │ │ │ ├── svelte-ignore01-input.svelte │ │ │ │ ├── svelte-ignore01-requirements.json │ │ │ │ ├── svelte-ignore01-svelte4-input.svelte │ │ │ │ ├── svelte-ignore01-svelte4-requirements.json │ │ │ │ ├── svelte-ignore02-input.svelte │ │ │ │ ├── svelte-ignore02-requirements.json │ │ │ │ ├── svelte-ignore02-svelte4-input.svelte │ │ │ │ ├── svelte-ignore02-svelte4-requirements.json │ │ │ │ ├── svelte-ignore03-input.svelte │ │ │ │ ├── svelte-ignore03-requirements.json │ │ │ │ ├── svelte-ignore03-svelte4-input.svelte │ │ │ │ ├── svelte-ignore03-svelte4-requirements.json │ │ │ │ ├── svelte-ignore04-input.svelte │ │ │ │ ├── svelte-ignore04-requirements.json │ │ │ │ ├── svelte-ignore04-svelte4-input.svelte │ │ │ │ ├── svelte-ignore04-svelte4-requirements.json │ │ │ │ ├── svelte-ignore05-input.svelte │ │ │ │ ├── svelte-ignore05-requirements.json │ │ │ │ ├── svelte-ignore05-svelte4-input.svelte │ │ │ │ ├── svelte-ignore05-svelte4-requirements.json │ │ │ │ ├── svelte-ignore06-input.svelte │ │ │ │ ├── svelte-ignore06-requirements.json │ │ │ │ ├── svelte-ignore06-svelte4-input.svelte │ │ │ │ ├── svelte-ignore06-svelte4-requirements.json │ │ │ │ ├── svelte-ignore07-input.svelte │ │ │ │ ├── svelte-ignore07-requirements.json │ │ │ │ ├── svelte-ignore07-svelte4-input.svelte │ │ │ │ ├── svelte-ignore07-svelte4-requirements.json │ │ │ │ ├── svelte-options-custom-element-input.svelte │ │ │ │ ├── svelte-options-custom-element-requirements.json │ │ │ │ ├── svelte3-options-custom-element-input.svelte │ │ │ │ ├── svelte3-options-custom-element-requirements.json │ │ │ │ ├── test01-input.svelte │ │ │ │ ├── ts/ │ │ │ │ │ ├── class01-input.svelte │ │ │ │ │ ├── script-comment-input.svelte │ │ │ │ │ ├── script-comment-requirements.json │ │ │ │ │ ├── script-comment-svelte4-input.svelte │ │ │ │ │ ├── script-comment-svelte4-requirements.json │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ ├── ts-lang01-input-svete4-requirements.json │ │ │ │ │ ├── ts-lang01-input-svete4.svelte │ │ │ │ │ ├── ts-lang01-input.svelte │ │ │ │ │ ├── ts-lang01-requirements.json │ │ │ │ │ ├── ts-unused-in-script-input.svelte │ │ │ │ │ ├── type-only-import01-input.svelte │ │ │ │ │ └── type-only-import02-input.svelte │ │ │ │ ├── undef01-input.svelte │ │ │ │ ├── unuse01-input.svelte │ │ │ │ ├── valid-custom-element-with-props-identifier-input.svelte │ │ │ │ └── valid-custom-element-with-props-identifier-requirements.json │ │ │ ├── valid-each-key/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── const-key01-errors.yaml │ │ │ │ │ ├── const-key01-input.svelte │ │ │ │ │ ├── out-vars-key01-errors.yaml │ │ │ │ │ └── out-vars-key01-input.svelte │ │ │ │ └── valid/ │ │ │ │ ├── call-key01-input.svelte │ │ │ │ ├── destructure-key01-input.svelte │ │ │ │ ├── expression-key01-input.svelte │ │ │ │ ├── expression-key02-input.svelte │ │ │ │ ├── index-key01-input.svelte │ │ │ │ ├── member-key01-input.svelte │ │ │ │ ├── svelte5-each-blocks-without-an-item-input.svelte │ │ │ │ └── svelte5-each-blocks-without-an-item-requirements.json │ │ │ ├── valid-prop-names-in-kit-pages/ │ │ │ │ ├── invalid/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── errors.yaml │ │ │ │ │ ├── svelte-config/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── errors.yaml │ │ │ │ │ │ └── svelte.config.js │ │ │ │ │ ├── svelte-config-from-parser-options/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ └── errors.yaml │ │ │ │ │ ├── svelte4-children/ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ ├── _config.json │ │ │ │ │ │ ├── errors.yaml │ │ │ │ │ │ └── requirements.json │ │ │ │ │ └── svelte5/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ ├── errors.yaml │ │ │ │ │ └── requirements.json │ │ │ │ └── valid/ │ │ │ │ ├── _config.json │ │ │ │ ├── not-page/ │ │ │ │ │ ├── svelte5/ │ │ │ │ │ │ ├── test01-input.svelte │ │ │ │ │ │ └── test01-requirements.json │ │ │ │ │ └── test01-input.svelte │ │ │ │ ├── svelte5/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ └── requirements.json │ │ │ │ ├── svelte5-typescript/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ └── requirements.json │ │ │ │ ├── svelte5-without-runes/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── _config.json │ │ │ │ │ └── requirements.json │ │ │ │ ├── test-for-form/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test001/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test002-1/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test002-2/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test003-1/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test003-2/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ ├── test004-1/ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── _config.json │ │ │ │ └── test004-2/ │ │ │ │ ├── +page.svelte │ │ │ │ └── _config.json │ │ │ └── valid-style-parse/ │ │ │ ├── invalid/ │ │ │ │ ├── invalid-css01-errors.yaml │ │ │ │ ├── invalid-css01-input.svelte │ │ │ │ ├── invalid-scss01-errors.yaml │ │ │ │ ├── invalid-scss01-input.svelte │ │ │ │ ├── unknown-lang01-errors.yaml │ │ │ │ └── unknown-lang01-input.svelte │ │ │ └── valid/ │ │ │ ├── no-style01-input.svelte │ │ │ ├── valid-css01-input.svelte │ │ │ └── valid-scss01-input.svelte │ │ ├── src/ │ │ │ ├── configs/ │ │ │ │ ├── all.ts │ │ │ │ ├── base.ts │ │ │ │ └── recommended.ts │ │ │ ├── index.spec.ts │ │ │ ├── integration/ │ │ │ │ └── no-unused-vars.ts │ │ │ ├── meta.ts │ │ │ ├── rules/ │ │ │ │ ├── @typescript-eslint/ │ │ │ │ │ ├── no-unnecessary-condition.ts │ │ │ │ │ └── original-tests/ │ │ │ │ │ ├── fixtures/ │ │ │ │ │ │ ├── file.ts │ │ │ │ │ │ ├── react.tsx │ │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ │ └── unstrict/ │ │ │ │ │ │ ├── file.ts │ │ │ │ │ │ ├── react.tsx │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ └── no-unnecessary-condition.ts │ │ │ │ ├── block-lang.ts │ │ │ │ ├── button-has-type.ts │ │ │ │ ├── comment-directive.ts │ │ │ │ ├── consistent-selector-style.ts │ │ │ │ ├── derived-has-same-inputs-outputs.ts │ │ │ │ ├── experimental-require-slot-types.ts │ │ │ │ ├── experimental-require-strict-events.ts │ │ │ │ ├── first-attribute-linebreak.ts │ │ │ │ ├── html-closing-bracket-new-line.ts │ │ │ │ ├── html-closing-bracket-spacing.ts │ │ │ │ ├── html-quotes.ts │ │ │ │ ├── html-self-closing.ts │ │ │ │ ├── indent.ts │ │ │ │ ├── infinite-reactive-loop.ts │ │ │ │ ├── max-attributes-per-line.ts │ │ │ │ ├── max-lines-per-block.ts │ │ │ │ ├── mustache-spacing.ts │ │ │ │ ├── no-add-event-listener.ts │ │ │ │ ├── no-at-debug-tags.ts │ │ │ │ ├── no-at-html-tags.ts │ │ │ │ ├── no-dom-manipulating.ts │ │ │ │ ├── no-dupe-else-if-blocks.ts │ │ │ │ ├── no-dupe-on-directives.ts │ │ │ │ ├── no-dupe-style-properties.ts │ │ │ │ ├── no-dupe-use-directives.ts │ │ │ │ ├── no-dynamic-slot-name.ts │ │ │ │ ├── no-export-load-in-svelte-module-in-kit-pages.ts │ │ │ │ ├── no-extra-reactive-curlies.ts │ │ │ │ ├── no-goto-without-base.ts │ │ │ │ ├── no-ignored-unsubscribe.ts │ │ │ │ ├── no-immutable-reactive-statements.ts │ │ │ │ ├── no-inline-styles.ts │ │ │ │ ├── no-inner-declarations.ts │ │ │ │ ├── no-inspect.ts │ │ │ │ ├── no-navigation-without-base.ts │ │ │ │ ├── no-navigation-without-resolve.ts │ │ │ │ ├── no-not-function-handler.ts │ │ │ │ ├── no-object-in-text-mustaches.ts │ │ │ │ ├── no-raw-special-elements.ts │ │ │ │ ├── no-reactive-functions.ts │ │ │ │ ├── no-reactive-literals.ts │ │ │ │ ├── no-reactive-reassign.ts │ │ │ │ ├── no-restricted-html-elements.ts │ │ │ │ ├── no-shorthand-style-property-overrides.ts │ │ │ │ ├── no-spaces-around-equal-signs-in-attribute.ts │ │ │ │ ├── no-store-async.ts │ │ │ │ ├── no-svelte-internal.ts │ │ │ │ ├── no-target-blank.ts │ │ │ │ ├── no-top-level-browser-globals.ts │ │ │ │ ├── no-trailing-spaces.ts │ │ │ │ ├── no-unknown-style-directive-property.ts │ │ │ │ ├── no-unnecessary-state-wrap.ts │ │ │ │ ├── no-unused-class-name.ts │ │ │ │ ├── no-unused-props.ts │ │ │ │ ├── no-unused-svelte-ignore.ts │ │ │ │ ├── no-useless-children-snippet.ts │ │ │ │ ├── no-useless-mustaches.ts │ │ │ │ ├── prefer-class-directive.ts │ │ │ │ ├── prefer-const.ts │ │ │ │ ├── prefer-destructured-store-props.ts │ │ │ │ ├── prefer-style-directive.ts │ │ │ │ ├── prefer-svelte-reactivity.ts │ │ │ │ ├── prefer-writable-derived.ts │ │ │ │ ├── require-each-key.ts │ │ │ │ ├── require-event-dispatcher-types.ts │ │ │ │ ├── require-event-prefix.ts │ │ │ │ ├── require-optimized-style-attribute.ts │ │ │ │ ├── require-store-callbacks-use-set-param.ts │ │ │ │ ├── require-store-reactive-access.ts │ │ │ │ ├── require-stores-init.ts │ │ │ │ ├── shorthand-attribute.ts │ │ │ │ ├── shorthand-directive.ts │ │ │ │ ├── sort-attributes.ts │ │ │ │ ├── spaced-html-comment.ts │ │ │ │ ├── system.ts │ │ │ │ ├── valid-compile.ts │ │ │ │ ├── valid-each-key.ts │ │ │ │ ├── valid-prop-names-in-kit-pages.ts │ │ │ │ └── valid-style-parse.ts │ │ │ └── settings/ │ │ │ └── ignore-warnings.ts │ │ └── utils/ │ │ ├── eslint-compat.ts │ │ ├── source-code-fixer.ts │ │ └── utils.ts │ ├── tools/ │ │ ├── lib/ │ │ │ ├── changesets-util.ts │ │ │ ├── load-rules.ts │ │ │ └── write.ts │ │ ├── new-rule.ts │ │ ├── render-rules.ts │ │ ├── update-docs-rules-index.ts │ │ ├── update-docs.ts │ │ ├── update-meta.ts │ │ ├── update-readme.ts │ │ ├── update-rule-types.ts │ │ ├── update-rules.ts │ │ ├── update-rulesets.ts │ │ ├── update-types-for-node.ts │ │ └── update.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── pnpm-workspace.yaml ├── prettier.config.cjs ├── renovate.json └── tools/ └── pkg.pr.new-comment.mjs ================================================ FILE CONTENTS ================================================ ================================================ FILE: .changeset/README.md ================================================ # Changesets Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it [in our repository](https://github.com/changesets/changesets) We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) ================================================ FILE: .changeset/config.json ================================================ { "$schema": "https://unpkg.com/@changesets/config/schema.json", "changelog": [ "@changesets/changelog-github", { "repo": "sveltejs/eslint-plugin-svelte" } ], "commit": false, "linked": [], "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", "bumpVersionsWithWorkspaceProtocolOnly": true, "ignore": [] } ================================================ FILE: .devcontainer/devcontainer.json ================================================ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node { "name": "Node.js & TypeScript", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/typescript-node:4-20-bullseye", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "pnpm install --frozen-lockfile", // Configure tool-specific properties. "customizations": { "vscode": { "extensions": ["dbaeumer.vscode-eslint", "svelte.svelte-vscode", "esbenp.prettier-vscode"] } } // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" } ================================================ FILE: .editorconfig ================================================ root = true [*] end_of_line = lf indent_size = 2 indent_style = tab trim_trailing_whitespace = true [docs/rules/no-trailing-spaces.md] trim_trailing_whitespace = false [packages/eslint-plugin-svelte/tests/fixtures/**/*-input.svelte] trim_trailing_whitespace = false ================================================ FILE: .env-cmdrc.json ================================================ { "version": { "IN_VERSION_SCRIPT": "true" }, "version-ci": { "IN_VERSION_CI_SCRIPT": "true" }, "debug": { "DEBUG": "eslint-plugin-svelte*" }, "update-fixtures": { "UPDATE_FIXTURES": "true" } } ================================================ FILE: .gitattributes ================================================ * text=auto eol=lf ================================================ FILE: .github/FUNDING.yml ================================================ # These are supported funding model platforms open_collective: svelte github: [ota-meshi, JounQin] patreon: 1stG custom: - https://opencollective.com/rxts ================================================ FILE: .github/ISSUE_TEMPLATE/bug_report.yml ================================================ name: Bug report description: Create a report to help us improve. body: - type: markdown attributes: value: | Thanks for taking the time to fill out this bug report! - type: checkboxes id: sanity-checks attributes: label: Before You File a Bug Report Please Confirm You Have Done The Following... description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you! options: - label: I have tried restarting my IDE and the issue persists. required: true - label: I have updated to the latest version of the packages. required: true - type: input id: eslint-version attributes: label: What version of ESLint are you using? placeholder: 0.0.0 validations: required: true - type: input id: eslint-plugin-svelte-version attributes: label: What version of `eslint-plugin-svelte` are you using? placeholder: 0.0.0 validations: required: true - type: textarea attributes: label: What did you do? description: | Please include a *minimal* reproduction case. value: |
Configuration ``` ```
```svelte ``` validations: required: true - type: textarea attributes: label: What did you expect to happen? description: | You can use Markdown in this field. validations: required: true - type: textarea attributes: label: What actually happened? description: | Please copy-paste the actual ESLint output. You can use Markdown in this field. validations: required: true - type: textarea id: bug-reproduction attributes: label: Link to **GitHub Repo** with Minimal Reproducible Example description: | Create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be closed.\ [Why Reproductions are Required](https://antfu.me/posts/why-reproductions-are-required)\ Be sure to share the repo on GitHub. GitHub's repo is ready to debug using Codespace.\ Please DON'T USE non-GitHub repos such as GitLab as repro.\ It takes me a long time to prepare my local PC for debugging.\ Please DON'T USE stackblitz as a repro.\ We can't debug eslint with stackblitz. placeholder: | https://github.com/[your]/[repo] or https://eslint-online-playground.netlify.app/#[hash] validations: required: true - type: textarea attributes: label: Additional comments ================================================ FILE: .github/ISSUE_TEMPLATE/feature_request.yml ================================================ name: Feature request description: Suggest a new feature. labels: [enhancement] body: - type: textarea attributes: label: Description description: | A clear and concise description of the new feature.\ Also give a few code examples. validations: required: true ================================================ FILE: .github/ISSUE_TEMPLATE/new_rule_request.yml ================================================ name: New rule request description: Propose a new rule to be added. labels: [enhancement, new rule] body: - type: textarea attributes: label: Motivation description: | A clear and concise description of the problem the new rule is supposed to solve. validations: required: true - type: textarea attributes: label: Description description: | A clear and concise description of the new rule. validations: required: true - type: textarea attributes: label: Examples description: | Add some examples of svelte that the rule does and does not report. value: | ```svelte ``` validations: required: true - type: textarea attributes: label: Additional comments ================================================ FILE: .github/ISSUE_TEMPLATE/other.md ================================================ --- name: Other about: An issue that doesn't fit into the other categories. title: '' labels: '' assignees: '' --- ================================================ FILE: .github/workflows/GHPages.yml ================================================ name: GHPages on: workflow_dispatch: null push: branches: [main] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write # Allow one concurrent deployment concurrency: group: pages cancel-in-progress: true jobs: deploy: if: github.repository == 'sveltejs/eslint-plugin-svelte' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 - name: Install And Build run: | pnpm install --frozen-lockfile cd packages/eslint-plugin-svelte pnpm run update pnpm build cd ../../docs-svelte-kit export NODE_OPTIONS="--max-old-space-size=8192" pnpm build - name: Setup Pages uses: actions/configure-pages@v6 - name: Upload artifact uses: actions/upload-pages-artifact@v4 with: path: ./docs-svelte-kit/build - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 ================================================ FILE: .github/workflows/NodeCI.yml ================================================ name: CI on: push: branches: [main] pull_request: branches: [main] env: project_root_path: ./packages/eslint-plugin-svelte defaults: run: # Setting every runner to bash simplifies command calls; # plus, every platform supports it shell: bash jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 - name: Install Packages run: pnpm install --frozen-lockfile - name: Lint eslint-plugin-svelte run: | pnpm run build pnpm run lint working-directory: ${{ env.project_root_path }} - name: Lint docs-svelte-kit run: | pnpm run build pnpm run lint working-directory: ./docs-svelte-kit - name: Type Coverage run: pnpm run typecov working-directory: ${{ env.project_root_path }} build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 - name: Install Packages run: pnpm install --frozen-lockfile - name: Build run: | pnpm run update pnpm run build working-directory: ${{ env.project_root_path }} test: name: 'Test for ESLint ${{ matrix.eslint }} on Node.js: ${{ matrix.node }} OS: ${{matrix.os}}' runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] eslint: [8, 9, 10] node: [20.x, 22.x, latest] include: # ESLint v9 and Node.js 18.x - os: ubuntu-latest eslint: 9 node: 18.x # ESLint v8 and Node.js 18.x - os: ubuntu-latest eslint: 8 node: 18.x steps: - name: Checkout uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - name: Setup Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Install Packages run: pnpm install --frozen-lockfile - name: Build eslint-plugin-svelte run: pnpm build working-directory: ${{ env.project_root_path }} # Hack: Install `eslint-plugin-svelte` is necessary for `packages/eslint-plugin-svelte/tests/src/configs` tests. - name: Install eslint-plugin-svelte run: pnpm install -D eslint-plugin-svelte working-directory: ${{ env.project_root_path }} - name: Install ESLint ${{ matrix.eslint }} if: matrix.eslint != 9 run: pnpm install -D -w eslint@${{ matrix.eslint }} - name: Test run: pnpm test working-directory: ${{ env.project_root_path }} test-for-svelte-v4: name: 'Test for Svelte v4 on Node.js: ${{ matrix.node }} OS: ${{matrix.os}}' runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] eslint: [9] node: [18, 20, 22] steps: - name: Checkout uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - name: Setup Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Install svelte@4 run: | pnpm install -D svelte@4 rm -rf node_modules working-directory: ${{ env.project_root_path }} - name: Install ESLint ${{ matrix.eslint }} run: | pnpm install -D -w eslint@${{ matrix.eslint }} rm -rf node_modules - name: Install Packages run: pnpm install --frozen-lockfile - name: Test run: pnpm run test working-directory: ${{ env.project_root_path }} test-for-svelte-v3: name: Test for Svelte v3 runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] node: [18] steps: - name: Checkout uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - name: Setup Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Install svelte@3 run: | cd ./packages/eslint-plugin-svelte pnpm install -D svelte@3 cd ../.. rm -rf packages/eslint-plugin-svelte/node_modules rm -rf docs-svelte-kit/node_modules rm -rf node_modules - name: Install Packages run: pnpm install --frozen-lockfile - name: Test run: pnpm run test working-directory: ${{ env.project_root_path }} update-resources: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 - name: Install Packages run: pnpm install --frozen-lockfile - name: Update resources run: pnpm run update working-directory: ${{ env.project_root_path }} - name: Check changes run: | git add --all && \ git diff-index --cached HEAD --stat --exit-code ================================================ FILE: .github/workflows/Release.yml ================================================ name: Release on: push: branches: - main permissions: {} jobs: release: permissions: contents: write issues: write pull-requests: write id-token: write name: Release runs-on: ubuntu-latest steps: - name: Checkout Repo uses: actions/checkout@v6 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v4 - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24 - name: Install Dependencies run: pnpm install --frozen-lockfile - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: # this expects you to have a npm script called version that runs some logic and then calls `changeset version`. version: pnpm run version:ci # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm run release commit: 'chore: release eslint-plugin-svelte' title: 'chore: release eslint-plugin-svelte' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true ================================================ FILE: .github/workflows/pkg.pr.new-comment.yml ================================================ name: Update pkg.pr.new comment on: workflow_run: workflows: ['Publish to pkg.pr.new'] types: - completed permissions: issues: write pull-requests: write jobs: build: if: github.repository == 'sveltejs/eslint-plugin-svelte' name: 'Update comment' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - name: Download artifact uses: actions/download-artifact@v7 with: name: output github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - run: ls -R . - name: 'Post or update comment' uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); const output = JSON.parse(fs.readFileSync('output.json', 'utf8')); const { default: process } = await import('${{ github.workspace }}/tools/pkg.pr.new-comment.mjs') await process({github, context, core, output}) ================================================ FILE: .github/workflows/pkg.pr.new.yml ================================================ name: Publish to pkg.pr.new on: pull_request: branches: [main] push: branches: [main] tags: ['!**'] jobs: build: if: github.repository == 'sveltejs/eslint-plugin-svelte' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 - name: Install Packages run: pnpm install --frozen-lockfile - name: Build run: pnpm run build - run: pnpx pkg-pr-new publish --compact './packages/eslint-plugin-svelte' --json output.json --comment=off - name: Add metadata to output uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); const output = JSON.parse(fs.readFileSync('output.json', 'utf8')); output.number = context.issue.number; output.event_name = context.eventName; output.ref = context.ref; output.sha = context.eventName === 'pull_request' ? context.payload.pull_request.head.sha : context.payload.after; fs.writeFileSync('output.json', JSON.stringify(output), 'utf8'); - name: Upload output uses: actions/upload-artifact@v6 with: name: output path: ./output.json - run: ls -R . ================================================ FILE: .github/workflows/stale.yml ================================================ name: Close stale issues and PRs on: schedule: - cron: '30 1 * * *' permissions: issues: write pull-requests: write jobs: stale: if: github.repository == 'sveltejs/eslint-plugin-svelte' name: Close stale issues with missing information runs-on: ubuntu-latest steps: - uses: actions/stale@v10 with: any-of-labels: 'needs repro,needs info,needs more info' days-before-stale: 60 days-before-close: 14 stale-issue-message: This issue is is stale because it missing information and has been open for 60 days with no activity. stale-pr-message: This PR is is stale because it missing information and has been open for 60 days with no activity. close-issue-message: > This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! 🙂 close-pr-message: > This PR has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from PRs that aren't actionable. Please reach out if you have more information for us! 🙂 ================================================ FILE: .gitignore ================================================ # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json # Runtime data pids *.pid *.seed *.pid.lock # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage *.lcov # nyc test coverage .nyc_output # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) .grunt # Bower dependency directory (https://bower.io/) bower_components # node-waf configuration .lock-wscript # Compiled binary addons (https://nodejs.org/api/addons.html) build/Release # Dependency directories node_modules/ jspm_packages/ # TypeScript v1 declaration files # typings/ # TypeScript cache *.tsbuildinfo # Optional npm cache directory .npm # Optional eslint/stylelint cache, etc .*cache # Microbundle cache .rpt2_cache/ .rts2_cache_cjs/ .rts2_cache_es/ .rts2_cache_umd/ # Optional REPL history .node_repl_history # Output of 'npm pack' *.tgz # Yarn Integrity file .yarn-integrity # dotenv environment variables file .env .env.test # parcel-bundler cache (https://parceljs.org/) .cache # Next.js build output .next # Nuxt.js build / generate output .nuxt dist # Gatsby files .cache/ # Comment in the public line in if your project uses Gatsby and *not* Next.js # https://nextjs.org/blog/next-9-1#public-directory-support # public # Serverless directories .serverless/ # FuseBox cache .fusebox/ # DynamoDB Local files .dynamodb/ # TernJS port file .tern-port ## repo packages/eslint-plugin-svelte/lib packages/eslint-plugin-svelte/.type-coverage docs-svelte-kit/.svelte-kit docs-svelte-kit/build /svelte.config-dist.js /docs-svelte-kit/shim/eslint.mjs /docs-svelte-kit/shim/assert.mjs /docs-svelte-kit/src/routes/*.md /docs-svelte-kit/src/routes/**/*.md packages/eslint-plugin-svelte/README.md **/.DS_Store ================================================ FILE: .npmrc ================================================ enable-pre-post-scripts=true ================================================ FILE: .prettierignore ================================================ .svelte-kit .type-coverage build /lib .npmrc /tests/fixtures/rules/indent/valid/ .changeset ================================================ FILE: .vscode/extensions.json ================================================ { "recommendations": ["rvest.vs-code-prettier-eslint"] } ================================================ FILE: .vscode/settings.json ================================================ { "eslint.validate": ["javascript", "typescript", "markdown", "svelte", "json", "jsonc", "yaml"], "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.codeActionsOnSave": { "source.fixAll": "explicit", "source.fixAll.stylelint": "explicit" }, "svelte.plugin.typescript.diagnostics.enable": false, "typescript.tsdk": "node_modules/typescript/lib", "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "files.eol": "\n" } ================================================ FILE: CONTRIBUTING.md ================================================ # Contributing Thank you for contributing! ## Installation ```sh git clone https://github.com/sveltejs/eslint-plugin-svelte.git cd eslint-plugin-svelte pnpm install ``` ## Running Tests ```sh cd packages/eslint-plugin-svelte pnpm run test ``` This is an [ESLint](http://eslint.org) plugin. See ESLint's [Working with Plugins](http://eslint.org/docs/developer-guide/working-with-plugins) for API details. The plugin lints itself. Running `pnpm run lint` checks the style and will fail the build if there are lint errors. Use `pnpm run lint-fix` to automatically fix some issues. ## Other Development Tools - `pnpm run test` – runs tests. - `pnpm run new -- [new-rule-name]` – generates files for a new rule. - `pnpm run update` – updates the README and recommended configuration. ## Rule Testing Rule tests typically use fixtures. For example, for the `indent` rule, the test file is `tests/src/rules/indent.ts` and the fixtures are in `tests/fixtures/rules/indent`, which contains `invalid` and `valid` directories. - The `invalid` directory contains test cases where the rule should report errors. - The `valid` directory contains test cases where no errors are reported. Fixture input files should be named `*-input.svelte` and are automatically collected.\ If configuration is needed, include a JSON file: - For a specific test file (e.g., `my-test-input.svelte`), add `my-test-config.json`. - For all fixtures in a directory, add `_config.json`. Verifying output for invalid tests requires `*-errors.json` and `*-output.svelte` (for auto-fix). These files are auto-generated if missing—delete them to recreate. **Tips**: To test only one rule (e.g., `indent`), run: ```sh pnpm run test -- -g indent ``` Refer to [this Stack Overflow post](https://stackoverflow.com/questions/10832031/how-to-run-a-single-test-with-mocha) for details. To test a single file (e.g., `my-test-input.svelte`), add a `my-test-config.json` with `{"only": true}`. (Remember to remove `{"only": true}` before submitting a pull request.) ## Preview Docs ```sh cd docs-svelte-kit pnpm run build && pnpm run preview ``` ## Publishing We use [changesets](https://github.com/changesets/changesets) for version management, changelog generation, and automated releases. For more details, see [changesets-bot](https://github.com/apps/changeset-bot) and its [action](https://github.com/changesets/action). ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2021 Yosuke Ota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ [![NPM license](https://img.shields.io/npm/l/eslint-plugin-svelte.svg)](https://www.npmjs.com/package/eslint-plugin-svelte) [![NPM version](https://img.shields.io/npm/v/eslint-plugin-svelte.svg)](https://www.npmjs.com/package/eslint-plugin-svelte) [![NPM downloads](https://img.shields.io/badge/dynamic/json.svg?label=downloads&colorB=green&suffix=/day&query=$.downloads&uri=https://api.npmjs.org//downloads/point/last-day/eslint-plugin-svelte&maxAge=3600)](http://www.npmtrends.com/eslint-plugin-svelte) [![NPM downloads](https://img.shields.io/npm/dw/eslint-plugin-svelte.svg)](http://www.npmtrends.com/eslint-plugin-svelte) [![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-svelte.svg)](http://www.npmtrends.com/eslint-plugin-svelte) [![NPM downloads](https://img.shields.io/npm/dy/eslint-plugin-svelte.svg)](http://www.npmtrends.com/eslint-plugin-svelte) [![NPM downloads](https://img.shields.io/npm/dt/eslint-plugin-svelte.svg)](http://www.npmtrends.com/eslint-plugin-svelte) [![Build Status](https://github.com/sveltejs/eslint-plugin-svelte/workflows/CI/badge.svg?branch=main)](https://github.com/sveltejs/eslint-plugin-svelte/actions?query=workflow%3ACI) [![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fsveltejs%2Feslint-plugin-svelte%2Fmain%2Fpackage.json)](https://github.com/plantain-00/type-coverage) [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![changesets](https://img.shields.io/badge/maintained%20with-changesets-176de3.svg)](https://github.com/atlassian/changesets)
# eslint-plugin-svelte ## ESLint plugin for Svelte using AST [Live Demo](https://eslint-online-playground.netlify.app/#eslint-plugin-svelte%20with%20typescript) • [Documentation](https://sveltejs.github.io/eslint-plugin-svelte/) • [Discord](https://svelte.dev/chat)
## Introduction `eslint-plugin-svelte` is the official [ESLint](https://eslint.org/) plugin for [Svelte](https://svelte.dev/).\ It leverages the AST generated by [svelte-eslint-parser](https://github.com/sveltejs/svelte-eslint-parser) to provide custom linting for Svelte.\ > [!NOTE] > > `eslint-plugin-svelte` and `svelte-eslint-parser` cannot be used alongside [eslint-plugin-svelte3](https://github.com/sveltejs/eslint-plugin-svelte3). ## Installation ### CLI The recommended way to get started is to use the CLI. ```sh # new project npx sv create # existing project npx sv add eslint ``` See the [CLI docs](https://svelte.dev/docs/cli/eslint) for more details. ### Manual Setup ```sh npm install --save-dev svelte eslint eslint-plugin-svelte globals ``` > [!NOTE] > > **Requirements:** > > - ESLint v8.57.1, v9.0.0, and above > - Node.js v18.18.0, v20.9.0, v21.1.0 and above ## Usage Use `eslint.config.js` to configure rules. See [ESLint documentation](https://eslint.org/docs/latest/use/configure/configuration-files-new) for more details. ### Configuration #### JavaScript project ```js // eslint.config.js import svelteConfig from './svelte.config.js'; import { defineConfig } from 'eslint/config'; import globals from 'globals'; import js from '@eslint/js'; import svelte from 'eslint-plugin-svelte'; export default defineConfig([ // ... js.configs.recommended, svelte.configs.recommended, { languageOptions: { globals: { ...globals.browser, // for Sveltekit in non-SPA mode ...globals.node } } }, { files: ['**/*.svelte', '**/*.svelte.js'], languageOptions: { parserOptions: { // explicitly importing allows for better compatibilty and functionality with rules and other tooling that depend on the config file. // // Note: `eslint --cache` will fail with non-serializable properties. // In those cases, please remove the non-serializable properties. // svelteConfig: { // ...svelteConfig, // kit: { // ...svelteConfig.kit, // typescript: undefined // } // } svelteConfig } } }, { rules: { // Override or add rule settings here, such as: // 'svelte/rule-name': 'error' } } ]); ``` #### TypeScript project ```shell npm install --save-dev typescript-eslint ``` ```js // eslint.config.js import svelteConfig from './svelte.config.js'; import { defineConfig } from 'eslint/config'; import globals from 'globals'; import js from '@eslint/js'; import ts from 'typescript-eslint'; import svelte from 'eslint-plugin-svelte'; export default defineConfig( js.configs.recommended, ts.configs.recommended, svelte.configs.recommended, { languageOptions: { globals: { ...globals.browser, // for Sveltekit in non-SPA mode ...globals.node } } // ... }, { files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'], // See more details at: https://typescript-eslint.io/packages/parser/ languageOptions: { parserOptions: { projectService: true, // Enable typescript parsing for `.svelte` files. extraFileExtensions: ['.svelte'], // Specify a parser for each language, if needed: // parser: { // ts: ts.parser, // typescript: ts.parser // js: espree, // add `import espree from 'espree'` // }, parser: ts.parser, // explicitly importing allows for better compatibilty and functionality with rules and other tooling that depend on the config file. // // Note: `eslint --cache` will fail with non-serializable properties. // In those cases, please remove the non-serializable properties. // svelteConfig: { // ...svelteConfig, // kit: { // ...svelteConfig.kit, // typescript: undefined // } // } svelteConfig } } }, { rules: { // Override or add rule settings here, such as: // 'svelte/rule-name': 'error' } } ); ``` > [!WARNING] > The TypeScript parser uses a singleton internally, meaning it only respects the options provided during its initial initialization. > If you try to change the options for a different file or override them later, the parser will ignore the new options, which may lead to errors. > For more context, see [typescript-eslint/typescript-eslint#6778](https://github.com/typescript-eslint/typescript-eslint/issues/6778). ### Available Configurations This plugin provides the following configurations: - **`svelte.configs.base`** - **Required** for Svelte parsing. Does not include any rules. Ideal for building a custom configurations. - **`svelte.configs.recommended`** - Extends `base` and includes rules for best practices. - **`svelte.configs.prettier`** - Extends `base` and disables rules that may conflict with [Prettier](https://prettier.io/). Prettier still needs to be configured to work with Svelte, for example, by using [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte). - **`svelte.configs.all`** - **Not Recommended** - Extends `base` and includes all rules. Subject to change with every major and minor release. Use at your own risk. For more details, see [the rule list](https://sveltejs.github.io/eslint-plugin-svelte/rules/) to explore the rules provided by this plugin. ### settings.svelte You can customize the behavior of this plugin using specific settings. ```js // eslint.config.js export default defineConfig([ // ... { settings: { svelte: { // Specifies an array of rules to ignore reports within the template. // For example, use this to disable rules in the template that may produce unavoidable false positives. ignoreWarnings: [ '@typescript-eslint/no-unsafe-assignment', '@typescript-eslint/no-unsafe-member-access' ], // Specifies options for Svelte compilation. // This affects rules that rely on Svelte compilation, // such as `svelte/valid-compile` and `svelte/no-unused-svelte-ignore`. // Note that this setting does not impact ESLint’s custom parser. compileOptions: { // Specifies options related to PostCSS. You can disable the PostCSS processing by setting it to false. postcss: { // Specifies the path to the directory that contains the PostCSS configuration. configFilePath: './path/to/my/postcss.config.js' } }, // Even if settings.svelte.kit is not specified, the rules will attempt to load information from svelte.config.js. // However, if the default behavior does not work as expected, you should specify settings.svelte.kit explicitly. // If you are using SvelteKit with a non-default configuration, you need to set the following options. // The schema is a subset of SvelteKit’s configuration, so refer to the SvelteKit documentation for more details. // https://svelte.dev/docs/kit/configuration kit: { files: { routes: 'src/routes' } } } } } // ... ]); ``` ## Editor Integrations **Visual Studio Code**\ Install [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint).\ Configure `.svelte` files in `.vscode/settings.json`: ## Migration Guide If you’re migrating from `eslint-plugin-svelte@1` or [`@ota-meshi/eslint-plugin-svelte`](https://www.npmjs.com/package/@ota-meshi/eslint-plugin-svelte), see the [migration guide](https://sveltejs.github.io/eslint-plugin-svelte/migration/). ## Versioning Policy This project follows [Semantic Versioning](https://semver.org/). Unlike [ESLint’s versioning policy](https://github.com/eslint/eslint#semantic-versioning-policy), new rules may be added to the recommended config in minor releases. If these rules cause unwanted warnings, you can disable them. ## Rules :wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.\ :bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).\ :star: Indicates that the rule is included in the `plugin:svelte/recommended` config. ## Possible Errors These rules relate to possible syntax or logic errors in Svelte code: | Rule ID | Description | | |:--------|:------------|:---| | [svelte/infinite-reactive-loop](https://sveltejs.github.io/eslint-plugin-svelte/rules/infinite-reactive-loop/) | Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. | :star: | | [svelte/no-dom-manipulating](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dom-manipulating/) | disallow DOM manipulating | :star: | | [svelte/no-dupe-else-if-blocks](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-else-if-blocks/) | disallow duplicate conditions in `{#if}` / `{:else if}` chains | :star: | | [svelte/no-dupe-on-directives](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-on-directives/) | disallow duplicate `on:` directives | :star: | | [svelte/no-dupe-style-properties](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-style-properties/) | disallow duplicate style properties | :star: | | [svelte/no-dupe-use-directives](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-use-directives/) | disallow duplicate `use:` directives | :star: | | [svelte/no-not-function-handler](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/) | disallow use of not function in event handler | :star: | | [svelte/no-object-in-text-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/) | disallow objects in text mustache interpolation | :star: | | [svelte/no-raw-special-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-raw-special-elements/) | Checks for invalid raw HTML elements | :star::wrench: | | [svelte/no-reactive-reassign](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-reassign/) | disallow reassigning reactive values | :star: | | [svelte/no-shorthand-style-property-overrides](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/) | disallow shorthand style properties that override related longhand properties | :star: | | [svelte/no-store-async](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/) | disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features | :star: | | [svelte/no-top-level-browser-globals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-top-level-browser-globals/) | disallow using top-level browser global variables | | | [svelte/no-unknown-style-directive-property](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unknown-style-directive-property/) | disallow unknown `style:property` | :star: | | [svelte/prefer-svelte-reactivity](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-svelte-reactivity/) | disallow using mutable instances of built-in classes where a reactive alternative is provided by svelte/reactivity | :star: | | [svelte/require-store-callbacks-use-set-param](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-callbacks-use-set-param/) | store callbacks must use `set` param | :bulb: | | [svelte/require-store-reactive-access](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-reactive-access/) | disallow to use of the store itself as an operand. Need to use $ prefix or get function. | :star::wrench: | | [svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/) | disallow warnings when compiling. | | | [svelte/valid-style-parse](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-style-parse/) | require valid style element parsing | | ## Security Vulnerability These rules relate to security vulnerabilities in Svelte code: | Rule ID | Description | | |:--------|:------------|:---| | [svelte/no-at-html-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-html-tags/) | disallow use of `{@html}` to prevent XSS attack | :star: | | [svelte/no-target-blank](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/) | disallow `target="_blank"` attribute without `rel="noopener noreferrer"` | | ## Best Practices These rules relate to better ways of doing things to help you avoid problems: | Rule ID | Description | | |:--------|:------------|:---| | [svelte/block-lang](https://sveltejs.github.io/eslint-plugin-svelte/rules/block-lang/) | disallows the use of languages other than those specified in the configuration for the lang attribute of ` {foo || 42} ``` ## :wrench: Options ```json { "@typescript-eslint/no-unnecessary-condition": "off", "svelte/@typescript-eslint/no-unnecessary-condition": [ "error", { "allowConstantLoopConditions": false, "allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing": false } ] } ``` Same as [@typescript-eslint/no-unnecessary-condition] rule option. See [here](https://typescript-eslint.io/rules/no-unnecessary-condition/#options) for details. ## :couple: Related rules - [@typescript-eslint/no-unnecessary-condition] [@typescript-eslint/no-unnecessary-condition]: https://typescript-eslint.io/rules/no-unnecessary-condition/ ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.9.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/@typescript-eslint/no-unnecessary-condition.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/no-unnecessary-condition.ts) Taken with ❤️ [from @typescript-eslint/eslint-plugin](https://typescript-eslint.io/rules/no-unnecessary-condition/) ================================================ FILE: docs/rules/block-lang.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/block-lang' description: 'disallows the use of languages other than those specified in the configuration for the lang attribute of ` ``` ```svelte ``` ```svelte ``` ## :wrench: Options ```json { "svelte/block-lang": [ "error", { "enforceScriptPresent": true, "enforceStylePresent": false, "script": ["ts", null], // a list of languages or null to signify no language specified "style": "scss" // same as for script, a single value can be used instead of an array. } ] } ``` - `enforceScriptPresent` ... Whether to enforce the presence of a ` ``` ## :wrench: Options ```json { "svelte/button-has-type": [ "error", { "button": true, "submit": true, "reset": true } ] } ``` - `button` ... `` - `true` (default) ... allow value `button`. - `false` ... disallow value `button`. - `submit` ... `` - `true` (default) ... allow value `submit`. - `false` ... disallow value `submit`. - `reset` ... `` - `true` (default) ... allow value `reset`. - `false` ... disallow value `reset`. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.4 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/button-has-type.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/button-has-type.ts) ================================================ FILE: docs/rules/comment-directive.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/comment-directive' description: 'support comment-directives in HTML template' since: 'v0.0.13' --- # svelte/comment-directive > support comment-directives in HTML template - :gear: This rule is included in `"plugin:svelte/base"` and `"plugin:svelte/recommended"`. Sole purpose of this rule is to provide `eslint-disable` functionality in the template HTML. It supports usage of the following comments: - `eslint-disable` - `eslint-enable` - `eslint-disable-line` - `eslint-disable-next-line` ::: warning Note We can't write HTML comments in tags. ::: ## :book: Rule Details ESLint doesn't provide any API to enhance `eslint-disable` functionality and ESLint rules cannot affect other rules. But ESLint provides [processors API](https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins). This rule sends all `eslint-disable`-like comments to the post-process of the `.svelte` file processor, then the post-process removes the reported errors in disabled areas. ```svelte ``` The `eslint-disable`-like comments can include descriptions to explain why the comment is necessary. The description must occur after the directive and is separated from the directive by two or more consecutive `-` characters. For example: ```svelte ``` ## :wrench: Options ```json { "svelte/comment-directive": [ "error", { "reportUnusedDisableDirectives": false } ] } ``` - `reportUnusedDisableDirectives` ... If `true`, to report unused `eslint-disable` HTML comments. default `false` ### `{ "reportUnusedDisableDirectives": true }` ```svelte ``` ## :books: Further Reading - [Disabling rules with inline comments] [disabling rules with inline comments]: https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.13 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/comment-directive.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/comment-directive.ts) ================================================ FILE: docs/rules/consistent-selector-style.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/consistent-selector-style' description: 'enforce a consistent style for CSS selectors' since: 'v3.0.0-next.15' --- # svelte/consistent-selector-style > enforce a consistent style for CSS selectors ## :book: Rule Details This rule allows you to set a preferred style for your CSS (& other style language) selectors. In CSS, there is a wide list of options for selecting elements, however, the three most basic types are: - Selecting by element type (i.e. tag name), such as `a {}` - Selecting by element ID, such as `#link {}` - Selecting by element class, such as `.link {}` This rule allows you to set a preference for some of these three styles over others. Not all selectors can be used in all situations, however. While class selectors can be used in any situation, ID selectors can only be used to select a single element and type selectors are only applicable when the list of selected elements is the list of all elements of the particular type. To help with this, the rule accepts a list of selector style preferences and reports situations when the given selector can be rewritten using a more preferred style. ```svelte Click me! Click me too! Text one Text two Text three ``` ## :wrench: Options ```json { "svelte/consistent-selector-style": [ "error", { "checkGlobal": false, "style": ["type", "id", "class"] } ] } ``` - `checkGlobal` ... Whether to check styles in `:global` blocks as well. Default `false`. - `style` ... A list of style preferences. Default `["type", "id", "class"]`. ## :books: Further Reading - [CSS selector documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.0.0-next.15 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/consistent-selector-style.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/consistent-selector-style.ts) ================================================ FILE: docs/rules/derived-has-same-inputs-outputs.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/derived-has-same-inputs-outputs' description: 'derived store should use same variable names between values and callback' since: 'v2.8.0' --- # svelte/derived-has-same-inputs-outputs > derived store should use same variable names between values and callback - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details This rule reports where variable names and callback function's argument names are different. This is mainly a recommended rule to avoid implementation confusion. ```js /* eslint svelte/derived-has-same-inputs-outputs: "error" */ import { derived } from 'svelte/store'; /* ✓ GOOD */ derived(a, ($a) => {}); derived(a, ($a, set) => {}); derived([a, b], ([$a, $b]) => {}); /* ✗ BAD */ derived(a, (b) => {}); derived(a, (b, set) => {}); derived([a, b], ([one, two]) => {}); ``` ## :wrench: Options Nothing. ## :books: Further Reading - [Svelte - Docs > RUN TIME > svelte/store > derived](https://svelte.dev/docs#run-time-svelte-store-derived) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.8.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/derived-has-same-inputs-outputs.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/derived-has-same-inputs-outputs.ts) ================================================ FILE: docs/rules/experimental-require-slot-types.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/experimental-require-slot-types' description: 'require slot type declaration using the `$$Slots` interface' since: 'v2.18.0' --- # svelte/experimental-require-slot-types > require slot type declaration using the `$$Slots` interface ## :book: Rule Details This rule enforces the presence of the `$$Slots` interface if any slots are present in the component. This interface declares all of the used slots and their props and enables typechecking both in the component itself as well as all components that include it. The `$$Slots` interface is experimental and is documented in [svelte RFC #38](https://github.com/dummdidumm/rfcs/blob/ts-typedefs-within-svelte-components/text/ts-typing-props-slots-events.md#typing-slots). ```svelte No slots here! ``` ```svelte ``` ```svelte ``` ```svelte ``` ```svelte ``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.18.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/experimental-require-slot-types.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/experimental-require-slot-types.ts) ================================================ FILE: docs/rules/experimental-require-strict-events.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/experimental-require-strict-events' description: 'require the strictEvents attribute on ` ``` ```svelte ``` ```svelte ``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.18.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/experimental-require-strict-events.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/experimental-require-strict-events.ts) ================================================ FILE: docs/rules/first-attribute-linebreak.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/first-attribute-linebreak' description: 'enforce the location of first attribute' since: 'v0.6.0' --- # svelte/first-attribute-linebreak > enforce the location of first attribute - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule aims to enforce a consistent location for the first attribute. ```svelte ``` ::: warning Note This rule only checks `.svelte` files and does not interfere with other `.js` files. Unfortunately the default `indent` rule when turned on will try to lint both, so in order to make them complementary you can use `overrides` setting and disable `indent` rule on `.svelte` files: ::: ```json { "overrides": [ { "files": ["*.svelte"], "rules": { "svelte/indent": "error", "indent": "off" } } ] } ``` ## :wrench: Options ```json { "svelte/indent": [ "error", { "indent": 2, "ignoredNodes": [], "switchCase": 1, "alignAttributesVertically": false } ] } ``` - `indent` (`number | "tab"`) ... The type of indentation. Default is `2`. If this is a number, it's the number of spaces for one indent. If this is `"tab"`, it uses one tab for one indent. - `indentScript` (`boolean`) ... If contents within a ` ``` ## :wrench: Options Nothing. ## :books: Further Reading - [Svelte - Docs > COMPONENT FORMAT > 3. $: marks a statement as reactive](https://svelte.dev/docs#component-format-script-3-$-marks-a-statement-as-reactive) - [Svelte - Docs > COMPONENT FORMAT > 4. Prefix stores with $ to access their values](https://svelte.dev/docs#component-format-script-4-prefix-stores-with-$-to-access-their-values) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.16.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/infinite-reactive-loop.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/infinite-reactive-loop.ts) ================================================ FILE: docs/rules/max-attributes-per-line.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/max-attributes-per-line' description: 'enforce the maximum number of attributes per line' since: 'v0.2.0' --- # svelte/max-attributes-per-line > enforce the maximum number of attributes per line - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details Limits the maximum number of attributes/directives per line to improve readability. This rule aims to enforce a number of attributes per line in templates. It checks all the elements in a template and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes. There is a configurable number of attributes that are acceptable in one-line case (default 1), as well as how many attributes are acceptable per line in multi-line case (default 1). ```svelte ``` ## :wrench: Options ```json { "svelte/max-attributes-per-line": [ "error", { "multiline": 1, "singleline": 1 } ] } ``` - `multiline` ... The number of maximum attributes per line when the opening tag is in multiple lines. Default is `1`. - `singleline` ... The number of maximum attributes per line when the opening tag is in a single line. Default is `1`. ## :couple: Related Rules - [svelte/first-attribute-linebreak] [svelte/first-attribute-linebreak]: ./first-attribute-linebreak.md ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.2.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/max-attributes-per-line.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/max-attributes-per-line.ts) ================================================ FILE: docs/rules/max-lines-per-block.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/max-lines-per-block' description: 'enforce maximum number of lines in svelte component blocks' since: 'v3.16.0' --- # svelte/max-lines-per-block > enforce maximum number of lines in svelte component blocks ## :book: Rule Details This rule enforces a maximum number of lines per block (` {name} {@html page} {@debug o1, o2} {#if c1}...{:else if c2}...{:else}...{/if} {#each list as item}...{/each} {#await p}...{:then val}...{:catch err}...{/await} {#key id}...{/key} { name } { @html page } { @debug o1, o2 } { #if c1 }...{ :else if c2 }...{ :else }...{ /if } { #each list as item }...{ /each } { #await p }...{ :then val }...{ :catch err }...{ /await } { #key id }...{ /key } ``` ## :wrench: Options ```json { "svelte/mustache-spacing": [ "error", { "textExpressions": "never", // or "always" "attributesAndProps": "never", // or "always" "directiveExpressions": "never", // or "always" "tags": { "openingBrace": "never", // or "always" "closingBrace": "never" // or "always" or "always-after-expression" } } ] } ``` - `"never"` ... Expect no spaces between token and curly brackets. This is default. - `"always"` ... Expect one space between token and curly brackets. - `"always-after-expression"` ... Expect one space between expression and closing curly brackets, if the expression before the closing curly bracket. - `textExpressions` ... Enforces the style of the mustache for the text expressions. e.g. `{text}`. - `attributesAndProps` ... Enforces the style of the mustache for the attributes and props. e.g. ` Warns against the use of `addEventListener` - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details Svelte relies on event delegation for performance and predictable handler order. Calling `addEventListener` inside a component skips this mechanism. This rule reports any call to `addEventListener` suggests converting to the `on()` helper from `svelte/events`. ```svelte ``` ```svelte ``` ## :books: Further reading - [svelte - event delegation] - [svelte/events `on` documentation] [svelte - event delegation]: https://svelte.dev/docs/svelte/basic-markup#Events-Event-delegation [svelte/events `on` documentation]: https://svelte.dev/docs/svelte/svelte-events#on ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.6.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-add-event-listener.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/no-add-event-listener.ts) ================================================ FILE: docs/rules/no-at-debug-tags.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/no-at-debug-tags' description: 'disallow the use of `{@debug}`' since: 'v0.0.1' --- # svelte/no-at-debug-tags > disallow the use of `{@debug}` - :gear: This rule is included in `"plugin:svelte/recommended"`. - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details This rule reports all uses of `{@debug}`. The `{@debug}` should be removed when you no longer need it after you use it for debugging. ```svelte {@debug user} {@debug user1, user2, user3} {@debug} ``` ## :wrench: Options Nothing. ## :books: Further Reading - [Svelte - Tutorial > 18. Debugging / The @debug tags](https://svelte.dev/tutorial/debug) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.1 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-at-debug-tags.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/no-at-debug-tags.ts) ================================================ FILE: docs/rules/no-at-html-tags.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/no-at-html-tags' description: 'disallow use of `{@html}` to prevent XSS attack' since: 'v0.0.1' --- # svelte/no-at-html-tags > disallow use of `{@html}` to prevent XSS attack - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule reports all uses of `{@html}` in order to reduce the risk of injecting potentially unsafe / unescaped html into the browser leading to Cross-Site Scripting (XSS) attacks. ```svelte {foo} {@html foo} ``` ## :wrench: Options Nothing. ## :mute: When Not To Use It If you are certain the content passed to `{@html}` is sanitized HTML you can disable this rule. ## :books: Further Reading - [Svelte - Tutorial > Basic Svelte / Introduction / HTML tags](https://svelte.dev/tutorial/svelte/html-tags) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.1 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-at-html-tags.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/no-at-html-tags.ts) ================================================ FILE: docs/rules/no-dom-manipulating.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/no-dom-manipulating' description: 'disallow DOM manipulating' since: 'v2.13.0' --- # svelte/no-dom-manipulating > disallow DOM manipulating - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details In general, DOM manipulating should delegate to Svelte runtime. If you manipulate the DOM directly, the Svelte runtime may confuse because there is a difference between the actual DOM and the Svelte runtime's expected DOM. Therefore this rule reports where you use DOM manipulating function. We don't recommend but If you intentionally manipulate the DOM, simply you can ignore this ESLint report. ```svelte {#if show}
Foo
{/if}
{#if show} Bar {/if}
``` This rule only tracks and checks variables given with `bind:this={}`. In other words, it doesn't track things like function arguments given to `transition:` directives. These functions have been well tested and are often used more carefully. ```svelte {#if visible}

The quick brown fox jumps over the lazy dog

{/if} ``` See also . ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.13.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-dom-manipulating.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/no-dom-manipulating.ts) ================================================ FILE: docs/rules/no-dupe-else-if-blocks.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/no-dupe-else-if-blocks' description: 'disallow duplicate conditions in `{#if}` / `{:else if}` chains' since: 'v0.0.1' --- # svelte/no-dupe-else-if-blocks > disallow duplicate conditions in `{#if}` / `{:else if}` chains - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule disallows duplicate conditions in the same `{#if}` / `{:else if}` chain. ```svelte {#if a}
foo
{:else if b}
bar
{:else if c}
baz
{/if} {#if a}
foo
{:else if b}
bar
{:else if b}
baz
{/if} {#if a}
foo
{:else if b}
bar
{:else} baz {#if b}
qux
{/if} {/if} ``` This rule can also detect some cases where the conditions are not identical, but the branch can never execute due to the logic of `||` and `&&` operators. ```svelte {#if a || b} 1 {:else if a} 2 {/if} {#if a} 1 {:else if b} 2 {:else if a || b} 3 {/if} {#if a} 1 {:else if a && b} 2 {/if} {#if a && b} 1 {:else if a && b && c} 2 {/if} {#if a || b} 1 {:else if b && c} 2 {/if} {#if a} 1 {:else if b && c} 2 {:else if d && ((c && e && b) || a)} 3 {/if} ``` ## :wrench: Options Nothing. ## :couple: Related Rules - [no-dupe-else-if] [no-dupe-else-if]: https://eslint.org/docs/rules/no-dupe-else-if ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.1 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-dupe-else-if-blocks.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/no-dupe-else-if-blocks.ts) ================================================ FILE: docs/rules/no-dupe-on-directives.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/no-dupe-on-directives' description: 'disallow duplicate `on:` directives' since: 'v2.14.0' --- # svelte/no-dupe-on-directives > disallow duplicate `on:` directives - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details We can define any number of `on:` directive with the same event name, but duplicate directives with the exact same event name and expression are probably a mistake. This rule reports reports `on:` directives with exactly the same event name and expression. ```svelte ``` You cannot enforce this style by using [prettier-plugin-svelte]. That is, this rule does not conflict with [prettier-plugin-svelte] and can be used with [prettier-plugin-svelte]. [prettier-plugin-svelte]: https://github.com/sveltejs/prettier-plugin-svelte ## :wrench: Options ```json { "svelte/prefer-class-directive": [ "error", { "prefer": "empty" // or "always" } ] } ``` - `prefer` ... Whether to apply this rule always or just when there's an empty string. Default is `"empty"`. - `"empty"` ... Requires class directives only if one of the strings is empty. - `"always"` ... Requires class directives always rather than interpolation. ## :couple: Related Rules - [svelte/prefer-style-directive] [svelte/prefer-style-directive]: ./prefer-style-directive.md ## :books: Further Reading - [Svelte - Tutorial > Basic Svelte / Classes and styles / The class atribute](https://svelte.dev/tutorial/svelte/classes) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.1 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-class-directive.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-class-directive.ts) ================================================ FILE: docs/rules/prefer-const.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-const' description: 'Require `const` declarations for variables that are never reassigned after declared' since: 'v3.0.0-next.6' --- # svelte/prefer-const > Require `const` declarations for variables that are never reassigned after declared - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule reports the same as the base ESLint `prefer-const` rule, except that ignores Svelte reactive values such as `$derived` and `$props` as default. If this rule is active, make sure to disable the base `prefer-const` rule, as it will conflict with this rule. ```svelte ``` ## :wrench: Options ```json { "svelte/prefer-const": [ "error", { "destructuring": "any", "additionalProperties": false, "excludedRunes": ["$props", "$derived"] } ] } ``` - `destructuring`: The kind of the way to address variables in destructuring. There are 2 values: - `any` (default) - If any variables in destructuring should be const, this rule warns for those variables. - `all`: If all variables in destructuring should be const, this rule warns the variables. Otherwise, ignores them. - `ignoreReadBeforeAssign`: This is an option to avoid conflicting with `no-use-before-define` rule (without "nofunc" option). If `true` is specified, this rule will ignore variables that are read between the declaration and the first assignment. Default is `false`. - `excludedRunes`: An array of rune names that should be ignored. Even if a rune is declared with `let`, it will still be ignored. ## :books: Further Reading - See [ESLint prefer-const rule](https://eslint.org/docs/latest/rules/prefer-const) for more information about the base rule. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.0.0-next.6 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-const.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-const.ts) Taken with ❤️ [from ESLint core](https://eslint.org/docs/rules/prefer-const) ================================================ FILE: docs/rules/prefer-destructured-store-props.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-destructured-store-props' description: 'destructure values from object stores for better change tracking & fewer redraws' since: 'v2.10.0' --- # svelte/prefer-destructured-store-props > destructure values from object stores for better change tracking & fewer redraws - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details This rule reports on directly accessing properties of a store containing an object in templates. These usages can instead be written as a reactive statement using destructuring to allow for more granular change-tracking and reduced redraws in the component. An example of the improvements can be see in this [REPL](https://svelte.dev/repl/7de86fea94ff40c48abb82da534dfb89) ```svelte {foo} {$store.foo} ``` ## :wrench: Options Nothing ## :heart: Compatibility This rule was taken from [@tivac/eslint-plugin-svelte].\ This rule is compatible with `@tivac/svelte/store-prop-destructuring` rule. [@tivac/eslint-plugin-svelte]: https://github.com/tivac/eslint-plugin-svelte/ ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.10.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-destructured-store-props.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-destructured-store-props.ts) ================================================ FILE: docs/rules/prefer-style-directive.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-style-directive' description: 'require style directives instead of style attribute' since: 'v0.22.0' --- # svelte/prefer-style-directive > require style directives instead of style attribute - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule aims to replace a style attribute with the style directive. Style directive were added in Svelte v3.46. ```svelte
...
...
``` You cannot enforce this style by using [prettier-plugin-svelte]. That is, this rule does not conflict with [prettier-plugin-svelte] and can be used with [prettier-plugin-svelte]. [prettier-plugin-svelte]: https://github.com/sveltejs/prettier-plugin-svelte ## :wrench: Options Nothing. ## :couple: Related Rules - [svelte/prefer-class-directive] [svelte/prefer-class-directive]: ./prefer-class-directive.md ## :books: Further Reading - [Svelte - Docs > style:property](https://svelte.dev/docs#template-syntax-element-directives-style-property) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.22.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-style-directive.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-style-directive.ts) ================================================ FILE: docs/rules/prefer-svelte-reactivity.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-svelte-reactivity' description: 'disallow using mutable instances of built-in classes where a reactive alternative is provided by svelte/reactivity' since: 'v3.11.0' --- # svelte/prefer-svelte-reactivity > disallow using mutable instances of built-in classes where a reactive alternative is provided by svelte/reactivity - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details The built-in `Date`, `Map`, `Set`, `URL` and `URLSearchParams` classes are often used in frontend code, however, their properties and methods are not reactive. Because of that, Svelte provides reactive versions of these 5 builtins as part of the "svelte/reactivity" package. This rule reports usage of mutable instances of the built-in versions in Svelte code. ```svelte ``` ```js // In svelte.js files, exported variables are also reported /* eslint svelte/prefer-svelte-reactivity: "error" */ /* ✗ BAD */ const a = new Date(8.64e15); const b = new Map([ [1, 'one'], [2, 'two'] ]); const c = new Set([1, 2, 1, 3, 3]); const d = new URL('https://svelte.dev/'); const e = new URLSearchParams('foo=1&bar=2'); export { a, b, c, d as dd }; export default e; ``` ## :wrench: Options Nothing. ## :books: Further Reading - [svelte/reactivity documentation](https://svelte.dev/docs/svelte/svelte-reactivity) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.11.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-svelte-reactivity.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-svelte-reactivity.ts) ================================================ FILE: docs/rules/prefer-writable-derived.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-writable-derived' description: 'Prefer using writable $derived instead of $state and $effect' since: 'v3.6.0' --- # svelte/prefer-writable-derived > Prefer using writable $derived instead of $state and $effect - :gear: This rule is included in `"plugin:svelte/recommended"`. - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details This rule reports when you use a combination of `$state` and `$effect` to create a derived value that can be written to. It encourages using the more concise and clearer `$derived` syntax instead. ```svelte ``` The rule specifically looks for patterns where: 1. You initialize a variable with `$state()` 2. You then use `$effect()` or `$effect.pre()` to assign a new value to that same variable 3. The effect function contains only a single assignment statement When this pattern is detected, the rule suggests refactoring to use `$derived()` instead, which provides the same functionality in a more concise way. ## :wrench: Options Nothing. - This rule has no options. ## :books: Further Reading - [Svelte Documentation on Reactivity Primitives](https://svelte.dev/docs/svelte-components#script-2-assignments-are-reactive) - [Svelte RFC for Reactivity Primitives](https://github.com/sveltejs/rfcs/blob/rfc-better-primitives/text/0000-better-primitives.md) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.6.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-writable-derived.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/prefer-writable-derived.ts) ================================================ FILE: docs/rules/require-each-key.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-each-key' description: 'require keyed `{#each}` block' since: 'v2.28.0' --- # svelte/require-each-key > require keyed `{#each}` block - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule reports `{#each}` block without key ```svelte {#each things as thing (thing.id)} {/each} {#each things as thing} {/each} ``` ## :wrench: Options Nothing. ## :couple: Related Rules - [svelte/valid-each-key](./valid-each-key.md) ## :books: Further Reading - [Svelte - Tutorial > Basic Svelte / Logic / Keyed each blocks](https://svelte.dev/tutorial/svelte/keyed-each-blocks) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.28.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-each-key.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-each-key.ts) ================================================ FILE: docs/rules/require-event-dispatcher-types.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-event-dispatcher-types' description: 'require type parameters for `createEventDispatcher`' since: 'v2.16.0' --- # svelte/require-event-dispatcher-types > require type parameters for `createEventDispatcher` - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule is aimed to enforce type parameters when calling `createEventDispatcher`. Adding types makes all `dispatch` calls as well as all event listeners typechecked. For more information, see the [svelte docs](https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#typing-component-events). ```svelte ``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.16.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-event-dispatcher-types.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-event-dispatcher-types.ts) ================================================ FILE: docs/rules/require-event-prefix.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-event-prefix' description: 'require component event names to start with "on"' since: 'v3.6.0' --- # svelte/require-event-prefix > require component event names to start with "on" ## :book: Rule Details Starting with Svelte 5, component events are just component props that are functions and so can be called like any function. Events for HTML elements all have their name begin with "on" (e.g. `onclick`). This rule enforces that all component events (i.e. function props) also begin with "on". ```svelte ``` ```svelte ``` ## :wrench: Options ```json { "svelte/require-event-prefix": [ "error", { "checkAsyncFunctions": false } ] } ``` - `checkAsyncFunctions` ... Whether to also report asychronous function properties. Default `false`. ## :books: Further Reading - [Svelte docs on events in version 5](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.6.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-event-prefix.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-event-prefix.ts) ================================================ FILE: docs/rules/require-optimized-style-attribute.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-optimized-style-attribute' description: 'require style attributes that can be optimized' since: 'v0.32.0' --- # svelte/require-optimized-style-attribute > require style attributes that can be optimized ## :book: Rule Details This rule reports `style` attributes written in a format that cannot be optimized. Svelte parses the content written in the style attribute and tries to optimize it. (See [https://github.com/sveltejs/svelte/pull/810](https://github.com/sveltejs/svelte/pull/810))\ If Svelte can be successfully optimized, Svelte can minimize the number of re-renders. e.g. template: ```html
``` compiled: ```js div.style.setProperty('font-size', '12px'); // font-size style is not updated once it is initially set. div.style.setProperty('color', color); // color style is updated only when color variable is updated. div.style.setProperty('transform', `translate(${x}px, ${y}px)`); // transform style is updated only when x, or y variables are updated. ``` However, if the optimization fails, it will be re-rendered triggered by the update of all variables described in the style attribute. e.g. template: ```html
``` compiled: ```js // If any of variables color, x, or y are updated, all styles will be updated. div.setAttribute('style', `font-size: 12px; color: ${color}; ${/* transformStyle */ ctx[0]}`); ``` Examples: ```svelte
``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.32.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-optimized-style-attribute.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-optimized-style-attribute.ts) ================================================ FILE: docs/rules/require-store-callbacks-use-set-param.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-store-callbacks-use-set-param' description: 'store callbacks must use `set` param' since: 'v2.12.0' --- # svelte/require-store-callbacks-use-set-param > store callbacks must use `set` param - :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions). ## :book: Rule Details This rule disallows if `readable` / `writable` store's setter function doesn't use `set` parameter.
This rule doesn't check `derived` store. Therefore if you set a updated value asynchronously, please don't forget to use `set` function. ```svelte ``` ## :wrench: Options Nothing. ## :books: Further Reading - [Svelte - Docs > RUN TIME > svelte/store](https://svelte.dev/docs#run-time-svelte-store) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.12.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-store-callbacks-use-set-param.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-store-callbacks-use-set-param.ts) ================================================ FILE: docs/rules/require-store-reactive-access.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-store-reactive-access' description: 'disallow to use of the store itself as an operand. Need to use $ prefix or get function.' since: 'v2.12.0' --- # svelte/require-store-reactive-access > disallow to use of the store itself as an operand. Need to use $ prefix or get function. - :gear: This rule is included in `"plugin:svelte/recommended"`. - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule disallow to use of the store itself as an operand.\ You should access the store value using the `$` prefix or the `get` function. ```svelte

{$storeValue}

{get(storeValue)}

{storeValue}

``` This rule checks the usage of store variables only if the store can be determined within a single file. However, when using `@typescript-eslint/parser` and full type information, this rule uses the type information to determine if the expression is a store. ```ts // fileName: my-stores.ts import { writable } from 'svelte/store'; export const storeValue = writable('hello'); ``` ```svelte

{$storeValue}

{storeValue}

``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.12.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-store-reactive-access.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-store-reactive-access.ts) ================================================ FILE: docs/rules/require-stores-init.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/require-stores-init' description: 'require initial value in store' since: 'v2.5.0' --- # svelte/require-stores-init > require initial value in store ## :book: Rule Details This rule is aimed to enforce initial values when initializing the Svelte stores. ```js /* eslint svelte/require-stores-init: "error" */ import { writable, readable, derived } from 'svelte/store'; /* ✓ GOOD */ export const w1 = writable(false); export const r1 = readable({}); export const d1 = derived([a, b], () => {}, false); /* ✗ BAD */ export const w2 = writable(); export const r2 = readable(); export const d2 = derived([a, b], () => {}); ``` ## :wrench: Options Nothing. ## :heart: Compatibility This rule was taken from [@tivac/eslint-plugin-svelte].\ This rule is compatible with `@tivac/svelte/stores-initial-value` rule. [@tivac/eslint-plugin-svelte]: https://github.com/tivac/eslint-plugin-svelte/ ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.5.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-stores-init.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/require-stores-init.ts) ================================================ FILE: docs/rules/shorthand-attribute.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/shorthand-attribute' description: 'enforce use of shorthand syntax in attribute' since: 'v0.5.0' --- # svelte/shorthand-attribute > enforce use of shorthand syntax in attribute - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule enforces the use of the shorthand syntax in attribute. ```svelte ``` ## :wrench: Options ```json { "svelte/shorthand-attribute": [ "error", { "prefer": "always" // "never" } ] } ``` - `prefer` - `"always"` ... Expects that the shorthand will be used whenever possible. This is default. - `"never"` ... Ensures that no shorthand is used in any attribute. ## :couple: Related Rules - [svelte/shorthand-directive] [svelte/shorthand-directive]: ./shorthand-directive.md ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.5.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/shorthand-attribute.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/shorthand-attribute.ts) ================================================ FILE: docs/rules/shorthand-directive.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/shorthand-directive' description: 'enforce use of shorthand syntax in directives' since: 'v0.24.0' --- # svelte/shorthand-directive > enforce use of shorthand syntax in directives - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule enforces the use of the shorthand syntax in directives. ```svelte
...
...
...
...
``` ## :wrench: Options ```json { "svelte/shorthand-directive": [ "error", { "prefer": "always" // "never" } ] } ``` - `prefer` - `"always"` ... Expects that the shorthand will be used whenever possible. This is default. - `"never"` ... Ensures that no shorthand is used in any directive. ## :couple: Related Rules - [svelte/shorthand-attribute] [svelte/shorthand-attribute]: ./shorthand-directive.md ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.24.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/shorthand-directive.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/shorthand-directive.ts) ================================================ FILE: docs/rules/sort-attributes.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/sort-attributes' description: 'enforce order of attributes' since: 'v2.4.0' --- # svelte/sort-attributes > enforce order of attributes - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule aims to enforce ordering of attributes.\ The default order is: - `this` property. - `bind:this` directive. - `id` attribute. - `name` attribute. - `slot` attribute. - `--style-props` (Alphabetical order within the same group.) - `style` attribute, and `style:` directives. - `class` attribute. - `class:` directives. (Alphabetical order within the same group.) - other attributes. (Alphabetical order within the same group.) - `bind:` directives (other then `bind:this`), and `on:` directives. - `use:` directives. (Alphabetical order within the same group.) - `transition:` directive. - `in:` directive. - `out:` directive. - `animate:` directive. - `let:` directives. (Alphabetical order within the same group.) ```svelte ``` If there is a spread attribute between the attributes, it will not be reported as changing the order can change the behavior. ```svelte
``` ## :wrench: Options ```jsonc { "svelte/sort-attributes": [ "error", { "order": [ // `this` property. "this", // `bind:this` directive. "bind:this", // `id` attribute. "id", // `name` attribute. "name", // `slot` attribute. "slot", // `--style-props` (Alphabetical order within the same group.) { "match": "/^--/u", "sort": "alphabetical" }, // `style` attribute, and `style:` directives. ["style", "/^style:/u"], // `class` attribute. "class", // `class:` directives. (Alphabetical order within the same group.) { "match": "/^class:/u", "sort": "alphabetical" }, // other attributes. (Alphabetical order within the same group.) { "match": ["!/:/u", "!/^(?:this|id|name|style|class)$/u", "!/^--/u"], "sort": "alphabetical" }, // `bind:` directives (other then `bind:this`), and `on:` directives. ["/^bind:/u", "!bind:this", "/^on:/u"], // `use:` directives. (Alphabetical order within the same group.) { "match": "/^use:/u", "sort": "alphabetical" }, // `transition:` directive. { "match": "/^transition:/u", "sort": "alphabetical" }, // `in:` directive. { "match": "/^in:/u", "sort": "alphabetical" }, // `out:` directive. { "match": "/^out:/u", "sort": "alphabetical" }, // `animate:` directive. { "match": "/^animate:/u", "sort": "alphabetical" }, // `let:` directives. (Alphabetical order within the same group.) { "match": "/^let:/u", "sort": "alphabetical" } ] } ] } ``` - `order` ... Specify an array of your preferred attribute order. Array elements accept strings, string arrays, and objects. - String ... Specify the name or pattern of the attribute. - String array ... Specifies an array of the names or patterns of the attributes to be grouped. It will not be sorted within this same group. - Object ... Specifies an object with a definition for sorting within the same group. - `match` ... Specifies an array or string of the name or pattern of the attributes to be grouped. - `sort` ... Specify the sorting method. Currently, only `"alphabetical"` is supported. - `"alphabetical"` ... Sorts the attributes of the same group in alphabetical order. - `"ignore"` ... Attributes in the same group are not sorted. Note that the behavior may change depending on how you specify the `order` setting.\ For example, `bind:value` and `on:input={() => console.log(value)}` behave differently depending on the order. See for details.\ By default it is designed to be sorted safely. You can use the following formats for names or patterns: - `"foo"` ... Matches only the `foo` attribute name. - `"/foo/"` ... Matches attribute names that match the `/foo/` regex. That is, it matches the attribute name including `foo`. - `"!foo"` ... Exclude `foo` attribute from the matched attribute names. When used first in the array or alone, matches other than the `foo` attribute name. - `"!/foo/"` ... Excludes attributes that match the `/foo/` regex from the matched attribute names. When used first in the array or alone, matches an attribute name that does not match the `/foo/` regex. - `["style", "/^style:/u"]` ... Matches the `style` attribute or the attribute name that matches the `/^style:/u` regex. - `["/^bind:/u", "!bind:this", "/^on:/u"]` ... Matches an attribute name that matches `/^bind:/u` and other than `bind:this`, or an attribute name that matches `/^on:/u`. ### `{ order: [ /*See below*/ ] }` ```svelte bar bar ``` ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.4.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/sort-attributes.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/sort-attributes.ts) ================================================ FILE: docs/rules/spaced-html-comment.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/spaced-html-comment' description: 'enforce consistent spacing after the `` in a HTML comment' since: 'v0.0.1' --- # svelte/spaced-html-comment > enforce consistent spacing after the `` in a HTML comment - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details This rule will enforce consistency of spacing after the start of a comment ``. ```svelte ``` You cannot enforce this style by using [prettier-plugin-svelte]. That is, this rule does not conflict with [prettier-plugin-svelte] and can be used with [prettier-plugin-svelte]. [prettier-plugin-svelte]: https://github.com/sveltejs/prettier-plugin-svelte ## :wrench: Options ```json { "svelte/spaced-html-comment": [ "error", "always" // or "never" ] } ``` - `"always"` ... There must be at least one whitespace after ``. - `"never"` ... There should be no leading or trailing whitespace. There should be no whitespace following. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.1 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/spaced-html-comment.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/spaced-html-comment.ts) ================================================ FILE: docs/rules/system.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/system' description: 'system rule for working this plugin' since: 'v0.0.13' --- # svelte/system > system rule for working this plugin - :gear: This rule is included in `"plugin:svelte/base"` and `"plugin:svelte/recommended"`. ## :book: Rule Details This rule is a system rule to make the plugin work. This rule does not report any errors, but make sure the rule is enabled for this plugin to work properly. ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.0.13 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/system.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/system.ts) ================================================ FILE: docs/rules/valid-compile.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/valid-compile' description: 'disallow warnings when compiling.' since: 'v0.7.0' --- # svelte/valid-compile > disallow warnings when compiling. ## :book: Rule Details This rule uses Svelte compiler to check the source code. ```svelte Rick Astley dances. ``` Note that we exclude reports for some checks, such as `missing-declaration`, and `dynamic-slot-name`, which you can check with different ESLint rules. ### Using `svelte.config.js` If you want to suppress messages using [`warningFilter`](https://svelte.dev/docs/svelte/svelte-compiler#ModuleCompileOptions) or `onwarn` like [`vite-plugin-svelte`](https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#onwarn), Use `eslint.config.js` and specify the information in `svelte.config.js` in your parser configuration. ```js import svelteConfig from './svelte.config.js'; export default [ // ... { files: ['**/*.svelte', '*.svelte'], languageOptions: { parserOptions: { svelteConfig: svelteConfig } } } ]; ``` See also [User Guide > Configuration](../user-guide.md#configuration) #### warningFilter This rule can use [`warningFilter`](https://svelte.dev/docs/svelte/svelte-compiler#ModuleCompileOptions). Example: ```js // svelte.config.js export default { warningFilter: (warning) => { if (warning.code === 'a11y-distracting-elements') return false; if (warning.code === 'a11y_distracting_elements') return false; // for Svelte v5 return true; } }; ``` #### onwarn This rule can use `onwarn` like [`vite-plugin-svelte`](https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#onwarn). Example: ```js // svelte.config.js export default { onwarn: (warning, handler) => { if (warning.code === 'a11y-distracting-elements') return; if (warning.code === 'a11y_distracting_elements') return; // for Svelte v5 handler(warning); } }; ``` ## :wrench: Options ```json { "svelte/valid-compile": [ "error", { "ignoreWarnings": false } ] } ``` - `ignoreWarnings` ... If set to `true`, ignores any warnings other than fatal errors reported by the svelte compiler. ```svelte ``` ## :rocket: Version This rule was introduced in eslint-plugin-svelte v0.7.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/valid-compile.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/valid-compile.ts) ================================================ FILE: docs/rules/valid-each-key.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/valid-each-key' description: 'enforce keys to use variables defined in the `{#each}` block' since: 'v2.28.0' --- # svelte/valid-each-key > enforce keys to use variables defined in the `{#each}` block - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule reports that `{#each}` block keys does not use the variables which are defined by the `{#each}` block. ```svelte {#each things as thing (thing.id)} {/each} {#each things as thing (foo)} {/each} ``` ## :wrench: Options Nothing. ## :couple: Related Rules - [svelte/require-each-key](./require-each-key.md) ## :books: Further Reading - [Svelte - Tutorial > Basic Svelte / Logic / Keyed each blocks](https://svelte.dev/tutorial/svelte/keyed-each-blocks) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.28.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/valid-each-key.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/valid-each-key.ts) ================================================ FILE: docs/rules/valid-prop-names-in-kit-pages.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/valid-prop-names-in-kit-pages' description: 'disallow props other than data or errors in SvelteKit page components.' since: 'v2.12.0' --- # svelte/valid-prop-names-in-kit-pages > disallow props other than data or errors in SvelteKit page components. - :gear: This rule is included in `"plugin:svelte/recommended"`. ## :book: Rule Details This rule reports unexpected exported variables at ` {foo}, {bar} ``` ## :wrench: Options Nothing. But if use are using not default routes folder, please set configuration according to the [user guide](../user-guide.md#settings-svelte). ## :books: Further Reading - [SvelteKit Migration Guide (v1.0.0-next.405)](https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292707) ## :rocket: Version This rule was introduced in eslint-plugin-svelte v2.12.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/valid-prop-names-in-kit-pages.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/valid-prop-names-in-kit-pages.ts) ================================================ FILE: docs/rules/valid-style-parse.md ================================================ --- pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/valid-style-parse' description: 'require valid style element parsing' since: 'v3.0.0' --- # svelte/valid-style-parse > require valid style element parsing ## :book: Rule Details This rule reports issues with parsing of the ` ``` ```svelte ``` ```svelte ``` ```svelte ``` ## :wrench: Options Nothing. ## :rocket: Version This rule was introduced in eslint-plugin-svelte v3.0.0 ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/valid-style-parse.ts) - [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/tests/src/rules/valid-style-parse.ts) ================================================ FILE: docs/rules.md ================================================ --- sidebarDepth: 0 --- # Available Rules :wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.\ :bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).\ :star: Indicates that the rule is included in the `plugin:svelte/recommended` config. ## Possible Errors These rules relate to possible syntax or logic errors in Svelte code: | Rule ID | Description | | | :----------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------- | :------------- | | [svelte/infinite-reactive-loop](./rules/infinite-reactive-loop.md) | Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. | :star: | | [svelte/no-dom-manipulating](./rules/no-dom-manipulating.md) | disallow DOM manipulating | :star: | | [svelte/no-dupe-else-if-blocks](./rules/no-dupe-else-if-blocks.md) | disallow duplicate conditions in `{#if}` / `{:else if}` chains | :star: | | [svelte/no-dupe-on-directives](./rules/no-dupe-on-directives.md) | disallow duplicate `on:` directives | :star: | | [svelte/no-dupe-style-properties](./rules/no-dupe-style-properties.md) | disallow duplicate style properties | :star: | | [svelte/no-dupe-use-directives](./rules/no-dupe-use-directives.md) | disallow duplicate `use:` directives | :star: | | [svelte/no-not-function-handler](./rules/no-not-function-handler.md) | disallow use of not function in event handler | :star: | | [svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md) | disallow objects in text mustache interpolation | :star: | | [svelte/no-raw-special-elements](./rules/no-raw-special-elements.md) | Checks for invalid raw HTML elements | :star::wrench: | | [svelte/no-reactive-reassign](./rules/no-reactive-reassign.md) | disallow reassigning reactive values | :star: | | [svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md) | disallow shorthand style properties that override related longhand properties | :star: | | [svelte/no-store-async](./rules/no-store-async.md) | disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features | :star: | | [svelte/no-top-level-browser-globals](./rules/no-top-level-browser-globals.md) | disallow using top-level browser global variables | | | [svelte/no-unknown-style-directive-property](./rules/no-unknown-style-directive-property.md) | disallow unknown `style:property` | :star: | | [svelte/prefer-svelte-reactivity](./rules/prefer-svelte-reactivity.md) | disallow using mutable instances of built-in classes where a reactive alternative is provided by svelte/reactivity | :star: | | [svelte/require-store-callbacks-use-set-param](./rules/require-store-callbacks-use-set-param.md) | store callbacks must use `set` param | :bulb: | | [svelte/require-store-reactive-access](./rules/require-store-reactive-access.md) | disallow to use of the store itself as an operand. Need to use $ prefix or get function. | :star::wrench: | | [svelte/valid-compile](./rules/valid-compile.md) | disallow warnings when compiling. | | | [svelte/valid-style-parse](./rules/valid-style-parse.md) | require valid style element parsing | | ## Security Vulnerability These rules relate to security vulnerabilities in Svelte code: | Rule ID | Description | | | :--------------------------------------------------- | :----------------------------------------------------------------------- | :----- | | [svelte/no-at-html-tags](./rules/no-at-html-tags.md) | disallow use of `{@html}` to prevent XSS attack | :star: | | [svelte/no-target-blank](./rules/no-target-blank.md) | disallow `target="_blank"` attribute without `rel="noopener noreferrer"` | | ## Best Practices These rules relate to better ways of doing things to help you avoid problems: | Rule ID | Description | | | :--------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- | :------------- | | [svelte/block-lang](./rules/block-lang.md) | disallows the use of languages other than those specified in the configuration for the lang attribute of `
Edit this page
{#if fileInfo.lastUpdated}
Last Updated: {fileInfo.lastUpdated}
{/if}
{#if prev} ←{prev.title} {/if} {#if next} {next.title}→ {/if}
This site was built with SvelteKit.
================================================ FILE: docs-svelte-kit/src/lib/header/Header.svelte ================================================
(e.code === 'Enter' || e.code === 'Space') && handleToggleSidebar()} >
Logo
  • Home
  • User Guide
  • Rules
  • Playground
Logoeslint-plugin-svelte
================================================ FILE: docs-svelte-kit/src/lib/sidemenu/SideMenu.svelte ================================================ {#if !hiddenMenu || sidebarOpen}
{/if} ================================================ FILE: docs-svelte-kit/src/lib/sidemenu/UlMenu.svelte ================================================
    {#each children as item (item.path || item.id || item.title)}
  • {#if item.path || item.id} {item.title} {:else} {item.title} {/if} {#if item.children && item.children.length} {/if}
  • {/each}
================================================ FILE: docs-svelte-kit/src/lib/utils.js ================================================ /* globals RULES_META -- ignore */ import { readable, writable } from 'svelte/store'; import { page } from '$app/stores'; import { base as baseUrl } from '$app/paths'; const rules = RULES_META; export function stripBaseUrl(path) { if (path.startsWith(baseUrl)) { return path.slice(baseUrl.length); } return path; } const svelteRules = rules.filter((rule) => !rule.meta.deprecated); const categories = [ 'Possible Errors', 'Security Vulnerability', 'Best Practices', 'Stylistic Issues', 'Extension Rules', 'SvelteKit', 'Experimental', 'System' ]; svelteRules.forEach((rule) => { if (!categories.includes(rule.meta.docs.category)) { throw new Error(`missing categories:${rule.meta.docs.category}`); } }); const categoryRules = categories.map((cat) => { return { title: cat, children: svelteRules .filter((rule) => rule.meta.docs.category === cat) .map((rule) => { return { title: rule.meta.docs.ruleId, path: `/rules/${rule.meta.docs.ruleName}/` }; }) }; }); const SIDE_MENU = { '/rules': [ { path: '/', title: 'Introduction' }, { path: '/user-guide/', title: 'User Guide' }, { path: '/rules/', title: 'Available Rules', children: categoryRules }, { path: '/migration/', title: 'Migration' } ], '/': [ { path: '/', title: 'Introduction' }, { path: '/user-guide/', title: 'User Guide' }, { path: '/rules/', title: 'Available Rules' }, { path: '/migration/', title: 'Migration' } ] }; export function isActive(path, $page) { return markdownPath($page.url.pathname) === markdownPath(path); } export function markdownPath(path) { // eslint-disable-next-line no-param-reassign -- ignore path = stripBaseUrl(path); let normalized = !path.trim() || path === '/' ? 'README' : path.replace(/^\/|\/$/g, ''); return `${normalized}.md`; } export const tocStore = writable({ children: [] }); export const menuItems = readable([], function start(set) { let pageData = {}; let tocData = { children: [] }; const pageUnsubscriber = page.subscribe(($page) => { pageData = $page; set(generateMenu(pageData, tocData)); }); const tocUnsubscriber = tocStore.subscribe((toc) => { tocData = toc; set(generateMenu(pageData, tocData)); }); return function stop() { pageUnsubscriber(); tocUnsubscriber(); }; }); function generateMenu($page, toc) { const result = []; const [, menus] = Object.entries(SIDE_MENU).find(([k]) => stripBaseUrl($page.url.pathname).startsWith(k) ) || ['/', SIDE_MENU['/']]; for (const { path, title, children } of menus) { const active = isActive(path, $page); if (active) { for (const item of toc.children) { result.push({ ...item, path, title, children: children || item.children }); } } else { result.push({ path, title, children }); } } return result; } ================================================ FILE: docs-svelte-kit/src/reset.css ================================================ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } :where([hidden]:not([hidden='until-found'])) { display: none !important; } :where(html) { -webkit-text-size-adjust: none; color-scheme: dark light; tab-size: 2; scrollbar-gutter: stable; } :where(html:has(dialog:modal[open])) { overflow: clip; } @media (prefers-reduced-motion: no-preference) { :where(html:focus-within) { scroll-behavior: smooth; } } :where(body) { line-height: 1.5; font-family: system-ui, sans-serif; -webkit-font-smoothing: antialiased; } :where(button) { all: unset; } :where(input, button, textarea, select) { font: inherit; color: inherit; } :where(textarea) { resize: vertical; resize: block; } :where(button, label, select, summary, [role='button'], [role='option']) { cursor: pointer; } :where(:disabled) { cursor: not-allowed; } :where(label:has(> input:disabled), label:has(+ input:disabled)) { cursor: not-allowed; } :where(a) { color: inherit; text-underline-offset: 0.2ex; } :where(ul, ol) { list-style: none; } :where(img, svg, video, canvas, audio, iframe, embed, object) { display: block; } :where(img, picture, svg, video) { max-inline-size: 100%; block-size: auto; } :where(p, h1, h2, h3, h4, h5, h6) { overflow-wrap: break-word; } :where(h1, h2, h3) { line-height: calc(1em + 0.5rem); text-wrap: balance; } :where(hr) { border: none; border-block-start: 1px solid; color: inherit; block-size: 0; overflow: visible; } :where(dialog) { border: none; background: none; inset: unset; max-width: unset; max-height: unset; } :where(dialog:not([open])) { display: none !important; } :where(:focus-visible) { outline: 3px solid CanvasText; box-shadow: 0 0 0 5px Canvas; outline-offset: 1px; } :where(:focus-visible, :target) { scroll-margin-block: 8vh; } :where(.visually-hidden:not(:focus-within, :active)) { clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; overflow: hidden !important; position: absolute !important; white-space: nowrap !important; border: 0 !important; } ================================================ FILE: docs-svelte-kit/src/routes/+error.svelte ================================================

{$page.status}

{$page.error.message}

Take me home

================================================ FILE: docs-svelte-kit/src/routes/+layout.js ================================================ import { markdownPath } from '$lib/utils.js'; const docs = import.meta.glob('../../../docs/**/*.md'); export const prerender = true; export const trailingSlash = 'always'; /** @type {import('@sveltejs/kit').Load} */ export async function load({ url }) { const markdown = `../../../docs/${markdownPath(url.pathname)}`; if (docs[markdown]) { return { moduleData: await docs[markdown]() }; } // 404 return { moduleData: { frontmatter: { title: '404', hiddenMenu: true } } }; } ================================================ FILE: docs-svelte-kit/src/routes/+layout.svelte ================================================
================================================ FILE: docs-svelte-kit/src/routes/404/+page.svelte ================================================

404

Not Found

Take me home

================================================ FILE: docs-svelte-kit/svelte.config.js ================================================ import adapter from '@sveltejs/adapter-static'; if (typeof self === 'undefined') { globalThis.self = globalThis; } /** @type {import('@sveltejs/kit').Config} */ const config = { compilerOptions: { preserveWhitespace: true, warningFilter: (warning) => { if (warning.code === 'a11y_no_noninteractive_tabindex') return false; return true; } }, extensions: ['.svelte', '.md'], kit: { adapter: adapter({ fallback: '404.html' }), paths: { base: '/eslint-plugin-svelte' } } }; export default config; ================================================ FILE: docs-svelte-kit/tools/generate-routes.mts ================================================ import path from 'path'; import fs from 'fs'; import { fileURLToPath } from 'url'; const dirname = path.dirname(fileURLToPath(import.meta.url)); /** Generate SvelteKit routes files */ export default function generateRoutes(): void { const srcRoot = path.join(dirname, '../../docs'); const distRoot = path.join(dirname, '../src/routes'); for (const markdownPath of iterateMarkdown(srcRoot)) { const markdownRelativePath = path.relative(srcRoot, markdownPath); const distPath = path.join( distRoot, markdownRelativePath.replace(/(?:README)?\.md$/u, '/+page.md') ); mkdirs(path.dirname(distPath)); fs.writeFileSync( distPath, ` `, 'utf-8' ); } } /** Iterate markdown files */ function* iterateMarkdown(rootDir: string): IterableIterator { for (const filename of fs.readdirSync(rootDir)) { const abs = path.join(rootDir, filename); if (path.extname(filename) === '.md') { yield abs; } else if (fs.statSync(abs).isDirectory()) { yield* iterateMarkdown(abs); } } } /** Make directories */ function mkdirs(dir: string): void { if (!fs.existsSync(dir)) { mkdirs(path.dirname(dir)); fs.mkdirSync(dir); } } ================================================ FILE: docs-svelte-kit/tools/highlight.mts ================================================ import prism from 'prismjs'; import loadLanguages from 'prismjs/components/index.js'; import escapeHtml from 'escape-html'; import 'prism-svelte'; // required to make embedded highlighting work... loadLanguages(['markup', 'css', 'javascript']); /** Wrap pre tag */ function wrapPre(code: string, lang: string) { const htmlCode = lang === 'text' ? escapeHtml(code) : code; return `
${htmlCode}
`; } const EXTENSION_MAPPINGS: Record = { vue: 'markup', html: 'markup', svelte: 'svelte', sv: 'svelte', md: 'markdown', rb: 'ruby', ts: 'typescript', py: 'python', sh: 'bash', yml: 'yaml', styl: 'stylus', kt: 'kotlin', rs: 'rust', jsonc: 'json5' }; export default (str: string, lang: string): string => { if (!lang) { return wrapPre(str, 'text'); } let normalLang = lang.toLowerCase(); const rawLang = lang; normalLang = EXTENSION_MAPPINGS[normalLang] || normalLang; if (!prism.languages[normalLang]) { try { loadLanguages([normalLang]); } catch { // ignore } } if (prism.languages[normalLang]) { const code = prism.highlight(str, prism.languages[normalLang], normalLang); return wrapPre(code, rawLang); } return wrapPre(str, 'text'); }; ================================================ FILE: docs-svelte-kit/tools/markdown-it-container-option.mts ================================================ import type containerPlugin from 'markdown-it-container'; type ContainerPluginOption = Parameters[2]; /** * Generate markdown-it-container option * @see https://github.com/markdown-it/markdown-it-container */ export default (type: string, defaultTitle = type.toUpperCase()): ContainerPluginOption => { return { render(tokens, index) { const token = tokens[index]; if (token.nesting === 1) { // `before` tag // resolve info (title) let title = token.info.trim().slice(type.length).trim(); if (!title) { title = defaultTitle; } // render if (type === 'details') { return `
${ title ? `${title}` : '' }\n`; } return `
${ title ? `

${title}

` : '' }\n`; } // `after` tag // render if (type === 'details') { return `
\n`; } return '
\n'; } }; }; ================================================ FILE: docs-svelte-kit/tools/markdown-it-markdown.mts ================================================ import path from 'path'; import spawn from 'cross-spawn'; import type Md from 'markdown-it'; type TreeItem = { children: TreeItem[]; }; type TreeStack = { item: TreeItem; level: number; upper: TreeStack | null }; class TOCRenderer { private readonly tree: TreeItem; private stack: TreeStack; public constructor() { const item: TreeItem = { children: [] }; this.tree = item; this.stack = { item, level: 1, upper: null }; } public addMenu(level: number, id: string, title: string) { if (this.stack.level < level) { const parent = this.stack.item; const item = parent.children[parent.children.length - 1]; if (item) { this.stack = { item, level, upper: this.stack }; } } while (level < this.stack.level && this.stack.upper) { this.stack = this.stack.upper; } const item = { level, id, title, children: [] }; this.stack.item.children.push(item); } public toc() { return this.tree; } } /** * @param {import('markdown-it')} md */ export default (md: Md): void => { md.core.ruler.push('custom_markdown', (state) => { const tokens = state.tokens; tokens.unshift(new state.Token('custom_markdown_data', '', 0)); }); md.renderer.rules.custom_markdown_data = (tokens, _idx, _options, env, _self) => { const renderer = new TOCRenderer(); for (let idx = 0; idx < tokens.length; idx++) { const token = tokens[idx]; if (token.type !== 'heading_open') { continue; } const level = Number(token.tag.slice(1)); if (level > 3) { continue; } // Aggregate the next token children text. const title = tokens[idx + 1] .children!.filter( (token) => token.type === 'text' || token.type === 'emoji' || token.type === 'code_inline' ) .reduce((acc, t) => acc + t.content, ''); const slug = token.attrGet('id')!; renderer.addMenu(level, slug, title); } const fileInfo: { timestamp?: number; lastUpdated?: string } = {}; const timestamp = getGitLastUpdatedTimestamp(env.id); if (timestamp) { fileInfo.timestamp = timestamp; fileInfo.lastUpdated = new Date(timestamp).toLocaleString(); } return ` `; }; }; /** Get last updated timestamp */ function getGitLastUpdatedTimestamp(filePath: string) { let lastUpdated; try { lastUpdated = parseInt( spawn .sync('git', ['log', '-1', '--format=%at', path.basename(filePath)], { cwd: path.dirname(filePath) }) .stdout.toString('utf-8'), 10 ) * 1000; } catch { /* do not handle for now */ } return lastUpdated; } ================================================ FILE: docs-svelte-kit/tools/markdown-it-replace-link.mts ================================================ import path from 'path'; import type Md from 'markdown-it'; import type Token from 'markdown-it/lib/token'; export default (md: Md, options: { baseUrl: string; root: string }): void => { const base = options.baseUrl; const root = path.resolve(options.root); /** Normalize href */ function normalizeHref(curr: string, href: string) { let absolutePath; let hash = ''; if (/\.md(?:#.*)?$/.test(href)) { hash = /\.md(#.*)?$/.exec(href)![1] || ''; absolutePath = path.join(path.dirname(curr), hash ? href.slice(0, -hash.length) : href); } else { // hash only absolutePath = curr; hash = href; } return `${base}/${path .relative(root, absolutePath) .replace(/README\.md$/, '') .replace(/\.md$/, '')}/${hash}` .replace(/\\/gu, '/') .replace(/\/+/gu, '/'); } md.renderer.rules.link_open = (tokens, idx, options, env, self) => { const token = tokens[idx]; const hrefIndex = token.attrIndex('href'); if (hrefIndex >= 0) { const link = token.attrs![hrefIndex]; const href = link[1]; if (/^https?:/.test(href)) { const proxyToken = { ...token, attrs: [...token.attrs!, ['target', '_blank'], ['rel', 'noopener noreferrer']] } as Token; return self.renderToken([proxyToken], 0, options); } else if (/\.md(?:#.*)?$/.test(href) || /^#.*$/.test(href)) { const proxyToken = { ...token, attrs: [ ...token.attrs!.slice(0, hrefIndex - 1), [link[0], normalizeHref(env.id, href)], ...token.attrs!.slice(hrefIndex + 1) ] } as Token; return self.renderToken([proxyToken], 0, options); } } return self.renderToken(tokens, idx, options); }; }; ================================================ FILE: docs-svelte-kit/tools/markdown-it-title.mts ================================================ import type Md from 'markdown-it'; /** * @param {import('markdown-it')} md */ export default (md: Md): void => { const headingOpen = md.renderer.rules.heading_open; md.renderer.rules.heading_open = (tokens, idx, options, env, self) => { const head = headingOpen ? headingOpen(tokens, idx, options, env, self) : self.renderToken(tokens, idx, options); const token = tokens[idx]; const level = Number(token.tag.substr(1)); if (level > 1) { return head; } const title = tokens[idx + 1] .children!.filter( (token) => token.type === 'text' || token.type === 'emoji' || token.type === 'code_inline' ) .reduce((acc, t) => acc + t.content, '') .trim(); return `${head} {#if !frontmatter.title} ${title} {/if} `; }; }; ================================================ FILE: docs-svelte-kit/tools/vite-plugin-svelte-md-option.mts ================================================ import highlight from './highlight.mjs'; import replaceLinkPlugin from './markdown-it-replace-link.mjs'; import { full as emojiPlugin } from 'markdown-it-emoji'; import anchorPlugin from 'markdown-it-anchor'; import containerPlugin from 'markdown-it-container'; import titlePlugin from './markdown-it-title.mjs'; import markdownPlugin from './markdown-it-markdown.mjs'; import containerPluginOption from './markdown-it-container-option.mjs'; import slugify from '@sindresorhus/slugify'; import type { Options } from 'vite-plugin-svelte-md'; import { createTwoslasher as createTwoslasherESLint } from 'twoslash-eslint'; import { type TwoslashGenericFunction } from 'twoslash-protocol'; import Shiki from '@shikijs/markdown-it'; import plugin from 'eslint-plugin-svelte'; import { transformerTwoslash } from '@shikijs/twoslash'; import tsParser from '@typescript-eslint/parser'; import path from 'path'; const shikiPlugin = await Shiki({ theme: 'dark-plus', // Or any other integrations that support passing Shiki transformers transformers: [ // Create another transformer, but with different trigger and ESLint twoslasher transformerTwoslash({ filter(lang, code) { if (lang.startsWith('svelte') || lang.startsWith('js')) { return /\/\*\s*eslint/.test(code); } return false; }, explicitTrigger: false, // Pass the custom twoslasher twoslasher: adjustTwoslasherESLint( createTwoslasherESLint({ eslintConfig: [ ...plugin.configs['flat/base'], { files: ['**/*.svelte'], languageOptions: { parserOptions: { parser: { ts: tsParser } } }, settings: { svelte: { kit: { files: { routes: '' } } } } } ], includeDocs: false }) ), rendererRich: { errorRendering: 'hover' } }) ] }); function adjustTwoslasherESLint(base: TwoslashGenericFunction): TwoslashGenericFunction { // Change the file name to `+page` to make the rules for Svelte Kit work. return (code, file, options) => { const filename = file?.includes('.') ? file : `+page.${file ?? 'ts'}`; return base(code, path.join(process.cwd(), filename), options); }; } export default (options: { baseUrl: string; root: string }): Options => ({ wrapperClasses: [], markdownItOptions: { highlight }, markdownItUses: [ [ replaceLinkPlugin, { baseUrl: options.baseUrl, root: options.root } ], emojiPlugin, [ anchorPlugin, { slugify, permalink: anchorPlugin.permalink.linkInsideHeader({ symbol: '#', placement: 'before' }) } ], titlePlugin, markdownPlugin, [containerPlugin, 'tip', containerPluginOption('tip')], [containerPlugin, 'warning', containerPluginOption('warning')], [containerPlugin, 'danger', containerPluginOption('danger', 'warning')], [containerPlugin, 'details', containerPluginOption('details')], shikiPlugin ] }); ================================================ FILE: docs-svelte-kit/tsconfig.json ================================================ { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { "target": "es2020", "module": "NodeNext", "moduleResolution": "Node16", "lib": ["es2020", "dom"], "allowJs": true, "checkJs": true, "declaration": true, "strict": true, "noImplicitAny": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "baseUrl": ".", "esModuleInterop": true, "outDir": "lib", "skipLibCheck": true, "resolveJsonModule": true }, "include": ["vite.config.ts", "**/*.mts", "**/*.ts"] } ================================================ FILE: docs-svelte-kit/vite.config.ts ================================================ import { sveltekit } from '@sveltejs/kit/vite'; import path from 'path'; import svelteMd from 'vite-plugin-svelte-md'; import { rules as pluginRules } from 'eslint-plugin-svelte'; import svelteMdOption from './tools/vite-plugin-svelte-md-option.mjs'; import generateRoutes from './tools/generate-routes.mjs'; import { createLogger, type UserConfig } from 'vite'; import { fileURLToPath } from 'url'; generateRoutes(); const dirname = path.dirname(fileURLToPath(import.meta.url)); const logger = createLogger(); /** @type {import('vite').UserConfig} */ const config: UserConfig = { plugins: [ svelteMd( svelteMdOption({ baseUrl: '/eslint-plugin-svelte', root: path.join(dirname, '../docs') }) ), sveltekit() ], define: { RULES_META: JSON.stringify(Object.values(pluginRules).map((rule) => ({ meta: rule.meta }))) }, ssr: { // vite-plugin-svelte recognizes svelte-eslint-parser as a library that runs on svelte. // This confuses the SSR on the Dev server. // This is the workaround for that. // https://github.com/sveltejs/vite-plugin-svelte/blob/a1d141e890ac0d1572a46e2bec705aa090236560/packages/vite-plugin-svelte/src/utils/dependencies.ts#L114 external: ['svelte-eslint-parser'] }, build: { commonjsOptions: { ignoreDynamicRequires: true } }, customLogger: { ...logger, warn(msg, options) { if (msg.includes('vite-plugin-svelte-md') && msg.includes('was used to transform files')) { return; } logger.warn(msg, options); } } }; export default config; ================================================ FILE: package.json ================================================ { "name": "eslint-plugin-svelte-monorepo", "description": "eslint-plugin-svelte monorepo", "private": true, "license": "MIT", "funding": "https://github.com/sponsors/ota-meshi", "packageManager": "pnpm@10.33.0", "repository": { "type": "git", "url": "git+https://github.com/sveltejs/eslint-plugin-svelte.git" }, "scripts": { "prerelease": "cd packages/eslint-plugin-svelte && pnpm clean && pnpm run build && cd ../.. && cp README.md packages/eslint-plugin-svelte", "release": "changeset publish", "version": "cd packages/eslint-plugin-svelte && env-cmd -e version -- pnpm run update && cd ../..", "version:ci": "cd packages/eslint-plugin-svelte && env-cmd -e version-ci -- pnpm run update && cd ../.. && changeset version", "build": "pnpm --filter {packages/*} run build", "test": "pnpm --recursive run test" }, "devDependencies": { "@changesets/changelog-github": "^0.6.0", "@changesets/cli": "^2.30.0", "@changesets/get-release-plan": "^4.0.15", "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1", "@ota-meshi/eslint-plugin": "^0.19.0", "@types/eslint": "^9.6.1", "@typescript-eslint/eslint-plugin": "^8.57.0", "@typescript-eslint/parser": "^8.57.0", "c8": "^10.1.3", "env-cmd": "^11.0.0", "eslint": "~9.39.4", "eslint-config-prettier": "^10.1.8", "eslint-formatter-friendly": "^7.0.0", "eslint-plugin-eslint-plugin": "^6.5.0", "eslint-plugin-jsdoc": "^51.4.1", "eslint-plugin-json-schema-validator": "^5.5.1", "eslint-plugin-jsonc": "^2.21.1", "eslint-plugin-markdown": "^5.1.0", "eslint-plugin-mdx": "^3.7.0", "eslint-plugin-n": "^17.24.0", "eslint-plugin-node-dependencies": "^1.3.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-regexp": "^2.10.0", "eslint-plugin-yml": "^1.19.1", "npm-run-all2": "^8.0.4", "prettier": "^3.8.1", "prettier-plugin-svelte": "^3.5.1", "rimraf": "^6.1.3", "typescript": "~5.9.3", "typescript-eslint": "^8.57.0", "undici": "^6.24.1" }, "publishConfig": { "access": "public" } } ================================================ FILE: packages/eslint-plugin-svelte/.env-cmdrc.json ================================================ { "version": { "IN_VERSION_SCRIPT": "true" }, "version-ci": { "IN_VERSION_CI_SCRIPT": "true" }, "debug": { "DEBUG": "eslint-plugin-svelte*" }, "update-fixtures": { "UPDATE_FIXTURES": "true" } } ================================================ FILE: packages/eslint-plugin-svelte/CHANGELOG.md ================================================ # eslint-plugin-svelte ## 3.17.1 ### Patch Changes - [#1321](https://github.com/sveltejs/eslint-plugin-svelte/pull/1321) [`97d89f7`](https://github.com/sveltejs/eslint-plugin-svelte/commit/97d89f7d068321d4f79399c6c695ca4c0de2bd82) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): added support for ResolvedPathname types ## 3.17.0 ### Minor Changes - [#1489](https://github.com/sveltejs/eslint-plugin-svelte/pull/1489) [`eb8172c`](https://github.com/sveltejs/eslint-plugin-svelte/commit/eb8172cc5eaf2f319542e6ce42c8319ac48bd517) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): added support for ternary expressions ### Patch Changes - [#1490](https://github.com/sveltejs/eslint-plugin-svelte/pull/1490) [`b742163`](https://github.com/sveltejs/eslint-plugin-svelte/commit/b742163d240e5cb99359ed372659489c0ed94b30) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): properly detecting invalid binary expression operators ## 3.16.0 ### Minor Changes - [#1483](https://github.com/sveltejs/eslint-plugin-svelte/pull/1483) [`69c9a6a`](https://github.com/sveltejs/eslint-plugin-svelte/commit/69c9a6af7081e7011a4123cf2045ad3fd58609e0) Thanks [@shimscho](https://github.com/shimscho)! - feat: add `svelte/max-lines-per-block` rule to enforce maximum line counts per block in Svelte SFCs - [#1484](https://github.com/sveltejs/eslint-plugin-svelte/pull/1484) [`98eae61`](https://github.com/sveltejs/eslint-plugin-svelte/commit/98eae61f4462b3a92a40e697d8fbd18e2541118a) Thanks [@Stadly](https://github.com/Stadly)! - feat: ignore parenthetical notes in svelte-ignore comments ## 3.15.2 ### Patch Changes - [#1494](https://github.com/sveltejs/eslint-plugin-svelte/pull/1494) [`5d556c8`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5d556c86f8a532eec560fabf6f0c8d47a3db5a1f) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): fixed a rule crash when encountering an attribute without value ## 3.15.1 ### Patch Changes - [#1477](https://github.com/sveltejs/eslint-plugin-svelte/pull/1477) [`8c5f51e`](https://github.com/sveltejs/eslint-plugin-svelte/commit/8c5f51efbf54e4d8fcbd7e167321e8c0bc4713ab) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-top-level-browser-globals): false positive when browser globals appear inside TypeScript generic type parameters (e.g. `$state(...)`). - [#1467](https://github.com/sveltejs/eslint-plugin-svelte/pull/1467) [`d81b556`](https://github.com/sveltejs/eslint-plugin-svelte/commit/d81b556a4ab9399db1a4c464fb647f9bdf97aa32) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): fixed nullish link shorthands not being allowed ## 3.15.0 ### Minor Changes - [#1472](https://github.com/sveltejs/eslint-plugin-svelte/pull/1472) [`a314e4f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a314e4f0f4df348665cfabef724fd5bb731a2469) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - feat: add support for ESLint v10 - [#1461](https://github.com/sveltejs/eslint-plugin-svelte/pull/1461) [`d8e1dc1`](https://github.com/sveltejs/eslint-plugin-svelte/commit/d8e1dc1405d9d9c8cc4efd1b449c3b5ea9f843c8) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): for links, the rule now reports on the whole attribute ## 3.14.0 ### Minor Changes - [#1443](https://github.com/sveltejs/eslint-plugin-svelte/pull/1443) [`18266fc`](https://github.com/sveltejs/eslint-plugin-svelte/commit/18266fc9a3acc413f5a727241e8db6264005e520) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): ignoring links with rel=external ## 3.13.1 ### Patch Changes - [#1437](https://github.com/sveltejs/eslint-plugin-svelte/pull/1437) [`89d030d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/89d030dd61dd3ec3240c53dfcfac203da0c543f3) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(svelte/indent): crash when using ts import type - [#1440](https://github.com/sveltejs/eslint-plugin-svelte/pull/1440) [`a87e40b`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a87e40b61445ddc1ba584048021c8f0db13bef02) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(prefer-destructured-store-props): handle runes properly - [#1438](https://github.com/sveltejs/eslint-plugin-svelte/pull/1438) [`817b137`](https://github.com/sveltejs/eslint-plugin-svelte/commit/817b137504bcbe6aa4eeb4ec70277e4668b725dd) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: Support `experimental.async` compiler option ## 3.13.0 ### Minor Changes - [#1323](https://github.com/sveltejs/eslint-plugin-svelte/pull/1323) [`074af20`](https://github.com/sveltejs/eslint-plugin-svelte/commit/074af20f617b998479b5f0051ab3f55634455ebd) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): checking link shorthand attributes ### Patch Changes - [#1388](https://github.com/sveltejs/eslint-plugin-svelte/pull/1388) [`005e9fd`](https://github.com/sveltejs/eslint-plugin-svelte/commit/005e9fd5ec99aaacf39d9dbbd8339dc3be33e776) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): allowing undefined and null in link hrefs ## 3.12.5 ### Patch Changes - [#1403](https://github.com/sveltejs/eslint-plugin-svelte/pull/1403) [`e4d788d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e4d788d4b7dbab6e250a79ba8bd41ab45bc602e1) Thanks [@baseballyama](https://github.com/baseballyama)! - deps: update `svelte-eslint-parser` to 1.4.0 (It supports `$state.eager`) - [#1365](https://github.com/sveltejs/eslint-plugin-svelte/pull/1365) [`57ccf95`](https://github.com/sveltejs/eslint-plugin-svelte/commit/57ccf95c4dbc3b863ee80791981a2f9dd4bad529) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): Detecting asset() function as well - [#1378](https://github.com/sveltejs/eslint-plugin-svelte/pull/1378) [`5ba5c3e`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5ba5c3e1b8445358d1813a78faf30982b8051ad8) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(no-unused-props): validate spread operator properly - [#1377](https://github.com/sveltejs/eslint-plugin-svelte/pull/1377) [`27cf677`](https://github.com/sveltejs/eslint-plugin-svelte/commit/27cf677e24500e2a83a0c7df8d506ef93b162a78) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(no-navigation-without-resolve): improve error messages ## 3.12.4 ### Patch Changes - [#1322](https://github.com/sveltejs/eslint-plugin-svelte/pull/1322) [`1e06290`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1e062908be85961c0c3184c5464924e750d78f1c) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-resolve): properly detecting absolute and fragment URLs in variables - [#1355](https://github.com/sveltejs/eslint-plugin-svelte/pull/1355) [`d8df1e8`](https://github.com/sveltejs/eslint-plugin-svelte/commit/d8df1e8838cd39a6260c3a9f571a2611ba2c2c17) Thanks [@InkedCat](https://github.com/InkedCat)! - fix: properly support Windows in `no-unused-props` rule fix: properly support Windows in `valid-style-parse` rule fix: properly support Windows in `no-unnecessary-condition` rule - [#1344](https://github.com/sveltejs/eslint-plugin-svelte/pull/1344) [`03a93f4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/03a93f4ff1b3a1d665bd94befcd5f9126a938602) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: preventing infinite loops in multiple rules ## 3.12.3 ### Patch Changes - [#1305](https://github.com/sveltejs/eslint-plugin-svelte/pull/1305) [`d92dde0`](https://github.com/sveltejs/eslint-plugin-svelte/commit/d92dde085fa7dc71852d28bda906548aece9e531) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-top-level-browser-globals): false positives for compound logical expression guards ## 3.12.2 ### Patch Changes - [#1299](https://github.com/sveltejs/eslint-plugin-svelte/pull/1299) [`5c7cba3`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5c7cba3c20dbef33d22df7e99ff56fa259f34027) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: disabling more rules in runes mode - [#1299](https://github.com/sveltejs/eslint-plugin-svelte/pull/1299) [`5c7cba3`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5c7cba3c20dbef33d22df7e99ff56fa259f34027) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: restricting SvelteKit rules to SvelteKit - [#1306](https://github.com/sveltejs/eslint-plugin-svelte/pull/1306) [`7cb3660`](https://github.com/sveltejs/eslint-plugin-svelte/commit/7cb36605784dd689379600462dbe41f7940ce79a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-unused-props): false positives for `ComponentProps` ## 3.12.1 ### Patch Changes - [#1313](https://github.com/sveltejs/eslint-plugin-svelte/pull/1313) [`27573f4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/27573f4100411f4d33d821bf46825b9dcdb9895e) Thanks [@marekdedic](https://github.com/marekdedic)! - fix: Not reporting mailto: and other unusual schema addresses in no-nmavigation-without-resolve (and its deprecated versions) ## 3.12.0 ### Minor Changes - [#1308](https://github.com/sveltejs/eslint-plugin-svelte/pull/1308) [`abbcfdd`](https://github.com/sveltejs/eslint-plugin-svelte/commit/abbcfdd55baac44800ff1d58b67640d28f849803) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(no-navigation-without-resolve): added to recommended rule set - [#1289](https://github.com/sveltejs/eslint-plugin-svelte/pull/1289) [`e2e791f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e2e791f8fb8268750a9190089c19b16a02843066) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the no-navigation-without-resolve rule - [#1289](https://github.com/sveltejs/eslint-plugin-svelte/pull/1289) [`e2e791f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e2e791f8fb8268750a9190089c19b16a02843066) Thanks [@marekdedic](https://github.com/marekdedic)! - chore: deprecated the no-navigation-without-base rule ## 3.11.0 ### Minor Changes - [#1151](https://github.com/sveltejs/eslint-plugin-svelte/pull/1151) [`843730d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/843730dba5cb907bacf007023ad1971b8925f733) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `prefer-svelte-reactivity` rule - [#1269](https://github.com/sveltejs/eslint-plugin-svelte/pull/1269) [`a444476`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a4444766bf619ba8e3f34289fef606b46a4c64fd) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: support asynchronous svelte ### Patch Changes - [#1268](https://github.com/sveltejs/eslint-plugin-svelte/pull/1268) [`4e33ba4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/4e33ba4c09c792672837db91b46885a85f6cdfe2) Thanks [@GauBen](https://github.com/GauBen)! - feat(valid-prop-names-in-kit-pages): add support for the new `params` page prop ## 3.10.1 ### Patch Changes - [#1260](https://github.com/sveltejs/eslint-plugin-svelte/pull/1260) [`a51363f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a51363fc87bf18191b704ec8a56663e522abab14) Thanks [@tbashiyy](https://github.com/tbashiyy)! - fix(no-unused-class-name): detect duplicated class names ## 3.10.0 ### Minor Changes - [#1257](https://github.com/sveltejs/eslint-plugin-svelte/pull/1257) [`e94a3be`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e94a3be9c110cbe7f7e04decfe1b85f9725bccba) Thanks [@tbashiyy](https://github.com/tbashiyy)! - feat(no-unused-class-name): support regex for `allowedClassNames` option ## 3.9.3 ### Patch Changes - [#1252](https://github.com/sveltejs/eslint-plugin-svelte/pull/1252) [`5db956e`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5db956ef737cddce4d8ec31178b6a677c9ed7680) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-top-level-browser-globals): false positive for `{#if browser}` ## 3.9.2 ### Patch Changes - [#1243](https://github.com/sveltejs/eslint-plugin-svelte/pull/1243) [`5df1121`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5df1121d1428d8f31578bd040bb248c8b1edf8a4) Thanks [@zachstence](https://github.com/zachstence)! - fix false positives for regular components in valid-compile/custom_element_props_identifier ## 3.9.1 ### Patch Changes - [#1239](https://github.com/sveltejs/eslint-plugin-svelte/pull/1239) [`a3d4224`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a3d42245fbb6a6663a1b3c6a4e211dce2b6dfbbb) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(prefer-const): Use `additionalProperties` instead of `ignoreReadonly` to match the ESLint core rule option name. ## 3.9.0 ### Minor Changes - [#1235](https://github.com/sveltejs/eslint-plugin-svelte/pull/1235) [`6e86e30`](https://github.com/sveltejs/eslint-plugin-svelte/commit/6e86e30cd766181dce5849ae739eedd2adfd8d8e) Thanks [@43081j](https://github.com/43081j)! - Improve performance of ignore comment extraction and add support for comma-separated ignore codes ## 3.8.2 ### Patch Changes - [#1231](https://github.com/sveltejs/eslint-plugin-svelte/pull/1231) [`0681f90`](https://github.com/sveltejs/eslint-plugin-svelte/commit/0681f901196cf81a87169155f8f632bf12666908) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(consistent-selector-style): Fixed detections of repeated elements such as in {#each} ## 3.8.1 ### Patch Changes - [#1227](https://github.com/sveltejs/eslint-plugin-svelte/pull/1227) [`c938185`](https://github.com/sveltejs/eslint-plugin-svelte/commit/c938185b8a413f200049bc11376db76d768f2ae3) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-top-level-browser-globals): false positives for type annotations ## 3.8.0 ### Minor Changes - [#1210](https://github.com/sveltejs/eslint-plugin-svelte/pull/1210) [`9cffd3b`](https://github.com/sveltejs/eslint-plugin-svelte/commit/9cffd3ba86926793f3240263e38914cdb2180f0a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/no-top-level-browser-globals` rule ## 3.7.0 ### Minor Changes - [#1221](https://github.com/sveltejs/eslint-plugin-svelte/pull/1221) [`534ad78`](https://github.com/sveltejs/eslint-plugin-svelte/commit/534ad78221f040ea5f9c32835d6973f4a3643580) Thanks [@baseballyama](https://github.com/baseballyama)! - feat(sort-attributes): support `{@attach}` ## 3.6.0 ### Minor Changes - [#1170](https://github.com/sveltejs/eslint-plugin-svelte/pull/1170) [`3ddbd83`](https://github.com/sveltejs/eslint-plugin-svelte/commit/3ddbd83068a8a82ed5bfe638483c7dd7839e681a) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `prefer-writable-derived` rule - [#1069](https://github.com/sveltejs/eslint-plugin-svelte/pull/1069) [`73f23ae`](https://github.com/sveltejs/eslint-plugin-svelte/commit/73f23ae0321aa4cb87e700f8478b140059e18c64) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `require-event-prefix` rule - [#1197](https://github.com/sveltejs/eslint-plugin-svelte/pull/1197) [`e9aec7f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e9aec7f16efb56d5d841a2f5f28cfa05281bcd9d) Thanks [@43081j](https://github.com/43081j)! - Added `no-add-event-listener` rule to disallow usages of `addEventListener` - [#1148](https://github.com/sveltejs/eslint-plugin-svelte/pull/1148) [`87c74fe`](https://github.com/sveltejs/eslint-plugin-svelte/commit/87c74feef892cb7e04e5709e66dfeda4e27ec820) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(consistent-selector-style): added support for dynamic classes and IDs ### Patch Changes - [#1208](https://github.com/sveltejs/eslint-plugin-svelte/pull/1208) [`78d0f78`](https://github.com/sveltejs/eslint-plugin-svelte/commit/78d0f78e0740305f62d6e702f89b333d6d97dbec) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-unused-svelte-ignore): ignore reactive-component warnings ## 3.5.1 ### Patch Changes - [#1188](https://github.com/sveltejs/eslint-plugin-svelte/pull/1188) [`9126f1f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/9126f1f017ff990704498570d77fd2d3ff528efe) Thanks [@43081j](https://github.com/43081j)! - Removed eslint-compat-utils from dependencies ## 3.5.0 ### Minor Changes - [#1171](https://github.com/sveltejs/eslint-plugin-svelte/pull/1171) [`842757f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/842757fe45dd2433e801acdce5f66127e2216d7e) Thanks [@baseballyama](https://github.com/baseballyama)! - feat(no-unused-props): add `allowUnusedNestedProperties` option ### Patch Changes - [#1178](https://github.com/sveltejs/eslint-plugin-svelte/pull/1178) [`7892f4c`](https://github.com/sveltejs/eslint-plugin-svelte/commit/7892f4c56a569ebdf80fa791d39c02754bfebe25) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(no-unused-props): handle alias props name properly ## 3.4.1 ### Patch Changes - [#1173](https://github.com/sveltejs/eslint-plugin-svelte/pull/1173) [`8e53e58`](https://github.com/sveltejs/eslint-plugin-svelte/commit/8e53e58411eba530324a8c223f5a2b00080b0cec) Thanks [@43081j](https://github.com/43081j)! - chore: use `context.sourceCode` directly rather than a compatibility helper. - [#1177](https://github.com/sveltejs/eslint-plugin-svelte/pull/1177) [`ec22fb4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/ec22fb41d6ecc3a49cde882556bc4df1d7b681a5) Thanks [@43081j](https://github.com/43081j)! - test: use ESLint and Linter directly from eslint in tests - [#1174](https://github.com/sveltejs/eslint-plugin-svelte/pull/1174) [`b696ef3`](https://github.com/sveltejs/eslint-plugin-svelte/commit/b696ef350846ceb23f7c1078a4e32f8cb8d33681) Thanks [@43081j](https://github.com/43081j)! - chore: use `context.filename` and `context.physicalFilename` instead of compat functions. - [#1176](https://github.com/sveltejs/eslint-plugin-svelte/pull/1176) [`bafbf5f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/bafbf5f7fc48602f3ede8ec3a7c829e7c4d6e9a4) Thanks [@43081j](https://github.com/43081j)! - chore: switch to `context.cwd` rather than using a compat helper. ## 3.4.0 ### Minor Changes - [#1165](https://github.com/sveltejs/eslint-plugin-svelte/pull/1165) [`2b7e164`](https://github.com/sveltejs/eslint-plugin-svelte/commit/2b7e1640d29477f07f16e5f5b318be34eae9031c) Thanks [@43081j](https://github.com/43081j)! - Adds a suggestion to the `require-store-callbacks-use-set-param` rule to automatically rename or add function parameters. - [#1163](https://github.com/sveltejs/eslint-plugin-svelte/pull/1163) [`d9b8604`](https://github.com/sveltejs/eslint-plugin-svelte/commit/d9b8604f1dc1c83797d4e853c5a805ffd49ce58d) Thanks [@43081j](https://github.com/43081j)! - Adds a suggestion to the `derived-has-same-inputs-outputs` rule which renames the outputs. - [#1164](https://github.com/sveltejs/eslint-plugin-svelte/pull/1164) [`29b1315`](https://github.com/sveltejs/eslint-plugin-svelte/commit/29b13152063f2250d33651b1e99991607a443352) Thanks [@43081j](https://github.com/43081j)! - Added a suggestion for `no-at-debug-tags` rule which removes the tags ### Patch Changes - [#1167](https://github.com/sveltejs/eslint-plugin-svelte/pull/1167) [`db9202d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/db9202de81463d20b1a17d1a0d94e3fd6fe62023) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: update `svelte-eslint-parser` to 1.1.1 ## 3.3.3 ### Patch Changes - [#1146](https://github.com/sveltejs/eslint-plugin-svelte/pull/1146) [`1233e46`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1233e46413132c1e81dc69981be1533c5e6c6a4d) Thanks [@baseballyama](https://github.com/baseballyama)! - fix(no-unused-props): resolve false positives on props with default values or $bindable usage ## 3.3.2 ### Patch Changes - [#1143](https://github.com/sveltejs/eslint-plugin-svelte/pull/1143) [`138380d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/138380deeec2ccd0189b70abf7d9a2cd6b608338) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: stop reporting child properties in `no-unused-props` when the parent object itself is used ## 3.3.1 ### Patch Changes - [#1140](https://github.com/sveltejs/eslint-plugin-svelte/pull/1140) [`40806a4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/40806a4b6342a7f2d1bd40d65df8dec5af666e1a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix(no-useless-mustaches): Wrong auto-fix for quoted mustaches ## 3.3.0 ### Minor Changes - [#1132](https://github.com/sveltejs/eslint-plugin-svelte/pull/1132) [`30c1e5f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/30c1e5fc6517cec7171ca42327699c3ad9ab6580) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `ignorePropertyPatterns` property and rename `ignorePatterns` to `ignoreTypePatterns` in `no-unused-props` rule. The `ignorePatterns` option existed only for a few hours and is removed by this PR. Technically, this is a breaking change, but we’ll handle it as a minor release since very few users are likely affected. ## 3.2.2 ### Patch Changes - [#1135](https://github.com/sveltejs/eslint-plugin-svelte/pull/1135) [`1ff148a`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1ff148a0bb24954aef59ce93b05a35913d83f2ee) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: correct detection of externally defined types in `no-unused-props` rule ## 3.2.1 ### Patch Changes - [#1128](https://github.com/sveltejs/eslint-plugin-svelte/pull/1128) [`e94b59a`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e94b59a35c914d868f89dd300b8d6b8090054976) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: resolve false positives on nested objects in `no-unused-props` rule ## 3.2.0 ### Minor Changes - [#1062](https://github.com/sveltejs/eslint-plugin-svelte/pull/1062) [`a4d3b29`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a4d3b295583309bd8fcde846d1a1daa612d4d56a) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-unnecessary-state-wrap` rule - [#1061](https://github.com/sveltejs/eslint-plugin-svelte/pull/1061) [`268a372`](https://github.com/sveltejs/eslint-plugin-svelte/commit/268a3727e17c4bcb1906cc6901667a1272d2a191) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-unused-props` rule ## 3.1.0 ### Minor Changes - [#1064](https://github.com/sveltejs/eslint-plugin-svelte/pull/1064) [`df1647f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/df1647f64c3abeffc46523a85ea8ea08cc5b4c85) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `excludedRunes` option to the `prefer-const` rule ### Patch Changes - [#1126](https://github.com/sveltejs/eslint-plugin-svelte/pull/1126) [`9b76b46`](https://github.com/sveltejs/eslint-plugin-svelte/commit/9b76b46e8637baff1bda0039edeacd647637993c) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: check property key instead of value in `valid-prop-names-in-kit-pages` rule - [#1125](https://github.com/sveltejs/eslint-plugin-svelte/pull/1125) [`0a03362`](https://github.com/sveltejs/eslint-plugin-svelte/commit/0a0336267a41885871a181ed00454929bc2d79da) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: support windows path delimiter - [#1108](https://github.com/sveltejs/eslint-plugin-svelte/pull/1108) [`976e4f0`](https://github.com/sveltejs/eslint-plugin-svelte/commit/976e4f0b5047f70b737e898743187afff88fea56) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(consistent-selector-style): not reporting class selectors used in class directives - [#1107](https://github.com/sveltejs/eslint-plugin-svelte/pull/1107) [`3b01537`](https://github.com/sveltejs/eslint-plugin-svelte/commit/3b015374eb80d08a914321b36da36ccc9eac730f) Thanks [@marekdedic](https://github.com/marekdedic)! - fix(no-navigation-without-base): ignoring fragment links ## 3.0.3 ### Patch Changes - [#1115](https://github.com/sveltejs/eslint-plugin-svelte/pull/1115) [`7f756b8`](https://github.com/sveltejs/eslint-plugin-svelte/commit/7f756b8535818008742eead569ebf03065db776b) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: align required Node version with ESLint ## 3.0.2 ### Patch Changes - [#1100](https://github.com/sveltejs/eslint-plugin-svelte/pull/1100) [`1358d89`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1358d89206e9cf57faf5789d246ed99489f1685b) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: handle ` {foo || 42} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-errors.yaml ================================================ - message: Unnecessary conditional, left-hand side of `??` operator is always `null` or `undefined`. line: 5 column: 13 suggestions: null - message: Unnecessary conditional, left-hand side of `??` operator is always `null` or `undefined`. line: 9 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-errors.yaml ================================================ - message: Unnecessary optional chain on a non-nullish value. line: 4 column: 16 suggestions: null - message: Unnecessary optional chain on a non-nullish value. line: 8 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-errors.yaml ================================================ - message: Unnecessary conditional, value is always truthy. line: 5 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/reactive-statement01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/template01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/_config.json ================================================ { "options": [{ "reset": false }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml ================================================ - message: reset is a forbidden value for button type attribute. line: 1 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/_config.json ================================================ { "options": [{ "submit": false }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml ================================================ - message: submit is a forbidden value for button type attribute. line: 1 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml ================================================ - message: Missing an explicit type attribute for button. line: 1 column: 1 suggestions: null - message: A value must be set for button type attribute. line: 2 column: 9 suggestions: null - message: A value must be set for button type attribute. line: 3 column: 9 suggestions: null - message: foo is an invalid value for button type attribute. line: 4 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/global/_config.json ================================================ { "options": [{ "checkGlobal": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/global/should-be-id01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 10 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 14 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 18 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 22 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 22 column: 19 suggestions: null - message: Selector should select by ID instead of class line: 26 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 30 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 35 column: 5 suggestions: null - message: Selector should select by ID instead of class line: 39 column: 5 suggestions: null - message: Selector should select by ID instead of class line: 43 column: 5 suggestions: null - message: Selector should select by ID instead of class line: 47 column: 5 suggestions: null - message: Selector should select by ID instead of class line: 47 column: 13 suggestions: null - message: Selector should select by ID instead of class line: 51 column: 5 suggestions: null - message: Selector should select by ID instead of class line: 55 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/global/should-be-id01-input.svelte ================================================ Click me! Click me two! Text 1 Text 3 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/global/should-be-type01-errors.yaml ================================================ - message: Selector should select by element type instead of class line: 12 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 16 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 20 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 28 suggestions: null - message: Selector should select by element type instead of class line: 28 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 32 column: 11 suggestions: null - message: Selector should select by element type instead of ID line: 36 column: 11 suggestions: null - message: Selector should select by element type instead of ID line: 40 column: 11 suggestions: null - message: Selector should select by element type instead of ID line: 44 column: 15 suggestions: null - message: Selector should select by element type instead of ID line: 48 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 53 column: 5 suggestions: null - message: Selector should select by element type instead of class line: 57 column: 5 suggestions: null - message: Selector should select by element type instead of class line: 61 column: 5 suggestions: null - message: Selector should select by element type instead of class line: 65 column: 5 suggestions: null - message: Selector should select by element type instead of class line: 65 column: 13 suggestions: null - message: Selector should select by element type instead of class line: 69 column: 5 suggestions: null - message: Selector should select by element type instead of class line: 73 column: 5 suggestions: null - message: Selector should select by element type instead of ID line: 77 column: 5 suggestions: null - message: Selector should select by element type instead of ID line: 81 column: 5 suggestions: null - message: Selector should select by element type instead of ID line: 85 column: 9 suggestions: null - message: Selector should select by element type instead of ID line: 89 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/global/should-be-type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-class-type/_config.json ================================================ { "options": [{ "style": ["id", "class", "type"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-class-type/should-be-id-combination01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 12 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 13 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 14 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 15 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 15 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 16 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 17 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 18 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 19 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 20 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 20 column: 11 suggestions: null - message: Selector should select by ID instead of element type line: 21 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-class-type/should-be-id-combination01-input.svelte ================================================ Click me! Click me two! Text 1 Text 3 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-class-type/should-be-id01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 12 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 16 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 20 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 24 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 24 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 28 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 32 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 36 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 40 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 44 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 44 column: 11 suggestions: null - message: Selector should select by ID instead of element type line: 48 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-class-type/should-be-id01-input.svelte ================================================ Click me! Click me two! Text 1 Text 3 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-type-class/_config.json ================================================ { "options": [{ "style": ["id", "type", "class"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-type-class/should-be-id01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 12 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 16 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 20 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 24 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 24 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 28 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 32 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 36 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 40 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 44 column: 3 suggestions: null - message: Selector should select by ID instead of element type line: 44 column: 11 suggestions: null - message: Selector should select by ID instead of element type line: 48 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-type-class/should-be-id01-input.svelte ================================================ Click me! Click me two! Text 1 Text 3 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-type-class/should-be-type01-errors.yaml ================================================ - message: Selector should select by element type instead of class line: 10 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 14 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 18 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 22 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 22 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 26 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 30 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/id-type-class/should-be-type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-class-id/_config.json ================================================ { "options": [{ "style": ["type", "class", "id"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-class-id/should-be-type01-errors.yaml ================================================ - message: Selector should select by element type instead of class line: 12 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 16 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 20 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 28 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 32 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 36 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 40 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 44 column: 7 suggestions: null - message: Selector should select by element type instead of ID line: 48 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-class-id/should-be-type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-id-with-components01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 18 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 22 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 26 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 30 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 30 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 34 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 38 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-id-with-components01-input.svelte ================================================ Click me! Component Click me two! Text 1 Component Text 3 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-id01-errors.yaml ================================================ - message: Selector should select by ID instead of class line: 10 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 14 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 18 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 22 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 22 column: 11 suggestions: null - message: Selector should select by ID instead of class line: 26 column: 3 suggestions: null - message: Selector should select by ID instead of class line: 30 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-id01-input.svelte ================================================ Click me! Click me two! Text 1 Text 3 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-type-with-components01-errors.yaml ================================================ - message: Selector should select by element type instead of class line: 22 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 26 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 30 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 34 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 34 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 38 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 42 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 46 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 50 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 54 column: 7 suggestions: null - message: Selector should select by element type instead of ID line: 58 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-type-with-components01-input.svelte ================================================ Click me! Click me two! Component Text 1 Text 2 Component Italic Component ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-type01-errors.yaml ================================================ - message: Selector should select by element type instead of class line: 12 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 16 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 20 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 24 column: 11 suggestions: null - message: Selector should select by element type instead of class line: 28 column: 3 suggestions: null - message: Selector should select by element type instead of class line: 32 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 36 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 40 column: 3 suggestions: null - message: Selector should select by element type instead of ID line: 44 column: 7 suggestions: null - message: Selector should select by element type instead of ID line: 48 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/invalid/type-id-class/should-be-type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Italic ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-id-type/_config.json ================================================ { "options": [{ "style": ["class", "id", "type"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-id-type/class-scss01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-id-type/class01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-type-id/_config.json ================================================ { "options": [{ "style": ["class", "type", "id"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-type-id/class-scss01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/class-type-id/class01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/_config.json ================================================ { "options": [{ "style": ["id", "class", "type"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/class01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 Text 3 {#each ["one", "two"] as iter} {iter} {/each} Text 5 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/id-scss01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/id01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/svelte-5/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-class-type/svelte-5/class01-input.svelte ================================================ Outside {#snippet iterated()} Text 4 {/snippet} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-type-class/_config.json ================================================ { "options": [{ "style": ["id", "type", "class"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-type-class/class01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 Text 3 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-type-class/id-scss01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-type-class/id01-input.svelte ================================================ Click me! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/id-type-class/type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type/_config.json ================================================ { "options": [{ "style": ["type"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type/class01-input.svelte ================================================ Click me! Click me two! Click me three! Click me three! Text 1 Text 2 Text 3 Text 4 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type/id01-input.svelte ================================================ Click me! Click me too! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type/type-scss01-input.svelte ================================================ Click me! Text 1 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type/type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-class-id/_config.json ================================================ { "options": [{ "style": ["type", "class", "id"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-class-id/class01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 3 Text 4 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-class-id/type-scss01-input.svelte ================================================ Click me! Text 1 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-class-id/type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id/_config.json ================================================ { "options": [{ "style": ["type", "id"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id/class01-input.svelte ================================================ Click me! Click me two! Click me three! Text 1 Text 2 Text 3 Text 4 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id/id01-input.svelte ================================================ Click me! Click me too! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id/type-scss01-input.svelte ================================================ Click me! Text 1 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id/type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/class-dynamic-prefix01-input.svelte ================================================ Click me! Click me two! Click me two! Click me three! Click me three! Click me four! Click me four! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/class-dynamic-suffix01-input.svelte ================================================ Click me! Click me two! Click me two! Click me three! Click me three! Click me four! Click me four! {#each ["one", "two"] as count} Bold in each {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/class-dynamic-universal01-input.svelte ================================================ Click me! Click me two! Click me two! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/class01-input.svelte ================================================ Click me! Click me two! Click me three! Text 1 Text 2 Text 3 Text 4 Text 5 Text 6 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/global01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/id-dynamic-prefix01-input.svelte ================================================ Click me! Click me two! Click me three! Click me four! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/id-dynamic-suffix01-input.svelte ================================================ Click me! Click me two! Click me three! Click me four! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/id-dynamic-universal01-input.svelte ================================================ Click me! Click me two! Click me two! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/id01-input.svelte ================================================ Click me! Click me too! Text 1 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/recursive-loop01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/type-scss01-input.svelte ================================================ Click me! Text 1 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/consistent-selector-style/valid/type-id-class/type01-input.svelte ================================================ Click me! Click me two! Text 1 Text 2 Text 2 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-errors.yaml ================================================ - message: The argument name should be '$a'. line: 3 column: 13 suggestions: - desc: Rename the parameter from b to $a. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, ($a) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$c'. line: 6 column: 13 suggestions: - desc: Rename the parameter from d to $c. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, ($c, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$e'. line: 9 column: 19 suggestions: - desc: Rename the parameter from g to $e. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([$e, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$f'. line: 9 column: 22 suggestions: - desc: Rename the parameter from h to $f. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, $f]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$i'. line: 12 column: 19 suggestions: - desc: Rename the parameter from k to $i. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([$i, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$j'. line: 12 column: 22 suggestions: - desc: Rename the parameter from l to $j. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, $j], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$l'. line: 15 column: 26 suggestions: - desc: Rename the parameter from $n to $l. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $l]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$o'. line: 18 column: 22 suggestions: - desc: Rename the parameter from $p to $o. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$o, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$a'. line: 21 column: 13 suggestions: - desc: Rename the parameter from b to $a. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, ($a) => { doSomethingWith($a); somethingWithACallback(() => { $a; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$a'. line: 28 column: 13 suggestions: - desc: Rename the parameter from b to $a. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, ($a) => { $a; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$e'. line: 37 column: 19 suggestions: - desc: Rename the parameter from g to $e. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([$e, h]) => { $e; h; somethingWithACallback(() => { $e; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$f'. line: 37 column: 22 suggestions: - desc: Rename the parameter from h to $f. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, $f]) => { g; $f; somethingWithACallback(() => { g; $f; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$e'. line: 46 column: 19 suggestions: - desc: Rename the parameter from g to $e. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([$e, h]) => { $e; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$f'. line: 46 column: 22 suggestions: - desc: Rename the parameter from h to $f. messageId: renameParam output: | import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, $f]) => { g; $f; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); - message: The argument name should be '$a'. line: 57 column: 13 suggestions: null - message: The argument name should be '$a'. line: 64 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-input.js ================================================ import { derived } from 'svelte/store'; derived(a, (b) => { /** do nothing */ }); derived(c, (d, set) => { /** do nothing */ }); derived([e, f], ([g, h]) => { /** do nothing */ }); derived([i, j], ([k, l], set) => { /** do nothing */ }); derived([null, l], ([$m, $n]) => { /** do nothing */ }); derived([o, null], ([$p, $q]) => { /** do nothing */ }); derived(a, (b) => { doSomethingWith(b); somethingWithACallback(() => { b; }); }); derived(a, (b) => { b; somethingWithACallback(() => { // purposely shadow the var, this should not be updated const b = 303; b; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { g; h; }); }); derived([e, f], ([g, h]) => { g; h; somethingWithACallback(() => { const g = 303; const h = 808; g; h; }); }); derived(a, (b) => { // cause a conflict in names so the suggestion can't work const $a = 303; $a; }); somethingWithACallback(() => { const $a = 303; derived(a, (b) => { $a; }); }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/valid/test01-input.js ================================================ import { derived } from 'svelte/store'; derived(a, ($a) => { /** do nothing */ }); derived(c, ($c, set) => { /** do nothing */ }); derived([e, f], ([$e, $f]) => { /** do nothing */ }); derived([i, j], ([$i, $j], set) => { /** do nothing */ }); derived(null, ($null, set) => { /** do nothing */ }); derived(null, ($k, set) => { /** do nothing */ }); derived([null, l], ([$m, $l]) => { /** do nothing */ }); derived([n, null], ([$n, $o]) => { /** do nothing */ }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-errors.yaml ================================================ - message: The component must define the $$Slots interface. line: 1 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types-with-alias01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/named-slot01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-slots01-input.svelte ================================================ content ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-typescript01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/_requirements.json ================================================ { "svelte": "^4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-errors.yaml ================================================ - message: The component must have the strictEvents attribute on its ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/_requirements.json ================================================ { "svelte": "^4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-interface01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-type-alias01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-strict-events01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/no-typescript01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/script-module-context01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/_config.json ================================================ { "options": [{ "multiline": "below", "singleline": "below" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml ================================================ - message: Expected a linebreak before this attribute. line: 9 column: 9 suggestions: null - message: Expected a linebreak before this attribute. line: 13 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-output.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/_config.json ================================================ { "options": [{ "alignAttributesVertically": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml ================================================ - message: Expected indentation of 5 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 5 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 5 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 5 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 5 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 5 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 9 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 9 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 7 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-input.svelte ================================================
a
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-output.svelte ================================================
a
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 78 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 79 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 80 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 81 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 82 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 83 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 84 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-input.svelte ================================================
{#await expression} ... {:then name} ... {:catch name} ... {/await} {#await expression} ... {:then name} ... {/await} {#await expression then name} ... {/await} {#await expression catch name} ... {/await} { #await expression } ... { :then name } ... { :catch name } ... { /await } { #await expression } ... { :then name } ... { /await } { #await expression then name } ... { /await } { #await expression catch name } ... { /await }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-output.svelte ================================================
{#await expression} ... {:then name} ... {:catch name} ... {/await} {#await expression} ... {:then name} ... {/await} {#await expression then name} ... {/await} {#await expression catch name} ... {/await} { #await expression } ... { :then name } ... { :catch name } ... { /await } { #await expression } ... { :then name } ... { /await } { #await expression then name } ... { /await } { #await expression catch name } ... { /await }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-input.svelte ================================================ {#each boxes as box} { @const area = box.width * box.height } {box.width} * {box.height} = {area} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-output.svelte ================================================ {#each boxes as box} { @const area = box.width * box.height } {box.width} * {box.height} = {area} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-input.svelte ================================================ { @debug var1 , var2 } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-output.svelte ================================================ { @debug var1 , var2 } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 74 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-input.svelte ================================================

The Famous Cats of YouTube

    {#each cats as { id, name }, i}
  • {i + 1}: {name}
  • {/each}
    { #each cats as { id, name } , i }
  • {i + 1}: {name}
  • { /each } { #each cats as c , index ( c . id ) } { c } { index } { /each } { #each cats as cat } {cat.name} { :else } ... { /each }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-output.svelte ================================================

The Famous Cats of YouTube

    {#each cats as { id, name }, i}
  • {i + 1}: {name}
  • {/each}
    { #each cats as { id, name } , i }
  • {i + 1}: {name}
  • { /each } { #each cats as c , index ( c . id ) } { c } { index } { /each } { #each cats as cat } {cat.name} { :else } ... { /each }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 1 whitespace. line: 2 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-input.svelte ================================================
{name}a b
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-output.svelte ================================================
{name}a b
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-input.svelte ================================================
a
b c
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-output.svelte ================================================
a
b c
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-input.svelte ================================================
{#if a}
{/if} { #if a }
{ /if } { #if a }
{ :else if b }
{ :else }
{ /if }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-output.svelte ================================================
{#if a}
{/if} { #if a }
{ /if } { #if a }
{ :else if b }
{ :else }
{ /if }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/_config.json ================================================ { "options": [{ "indentScript": false }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml ================================================ - message: Expected indentation of 0 spaces but found 2 spaces. line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-input.svelte ================================================
{#key value} {/key} { #key value } { /key }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-output.svelte ================================================
{#key value} {/key} { #key value } { /key }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 45 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 74 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 78 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 54 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 52 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 4 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 60 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 51 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 65 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 35 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 42 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 2 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-input.svelte ================================================ {#snippet foo( { a } ) } {/snippet} {@render foo( { a } ) }
{#snippet example()}
{/snippet} { #snippet example_2() }
{ /snippet }
{ #snippet example_3 ( ) }
{ /snippet } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-output.svelte ================================================ {#snippet foo( { a } ) } {/snippet} {@render foo( { a } ) }
{#snippet example()}
{/snippet} { #snippet example_2() }
{ /snippet }
{ #snippet example_3 ( ) }
{ /snippet } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-output.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/_config.json ================================================ { "options": [{ "switchCase": 0 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/_config.json ================================================ { "options": [{ "indent": "tab" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml ================================================ - message: Expected indentation of 1 tab but found 0 tabs. line: 3 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 4 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 5 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 6 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 11 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 14 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 15 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 16 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 17 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 18 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 19 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 22 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 23 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 24 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 25 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 26 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 30 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 32 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 33 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 35 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 37 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 39 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 40 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 42 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 0 tabs. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 0 tabs. line: 45 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 47 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 48 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 0 tabs. line: 50 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 52 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 55 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 57 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 58 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 59 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 60 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 61 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 62 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 63 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 64 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 65 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 66 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 67 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 68 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 69 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 0 tabs. line: 70 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 71 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 72 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 73 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 0 tabs. line: 74 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 75 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 0 tabs. line: 76 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 77 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 78 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 79 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 80 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 81 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 0 tabs. line: 82 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 83 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 84 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 0 tabs. line: 85 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-output.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml ================================================ - message: Expected indentation of 1 tab but found 4 whitespaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 24 whitespaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 24 whitespaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 tabs but found 24 whitespaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 5 tabs but found 20 whitespaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 4 tabs but found 16 whitespaces. line: 74 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 3 tabs but found 12 whitespaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 78 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 79 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 80 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 81 column: 1 suggestions: null - message: Expected indentation of 2 tabs but found 8 whitespaces. line: 82 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 83 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 84 column: 1 suggestions: null - message: Expected indentation of 1 tab but found 4 whitespaces. line: 85 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-output.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 74 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 78 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 79 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 80 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 81 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 82 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 83 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 84 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 85 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-output.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 59 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 35 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 74 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 78 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 79 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 80 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 81 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 82 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 83 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 84 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 85 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 86 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 90 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 91 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 92 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 93 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 97 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 98 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 99 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 100 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 101 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 103 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 105 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 107 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 109 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 111 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 115 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 116 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 117 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 118 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 119 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 120 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 121 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 122 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 10 spaces. line: 123 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 124 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 125 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 126 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 127 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 10 spaces. line: 128 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 129 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 130 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 133 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 135 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 137 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 202 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 205 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 206 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 214 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 216 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 218 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 219 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 220 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 221 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 222 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 228 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 232 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 233 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 234 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 235 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 236 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 237 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 238 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 239 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 240 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 241 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 242 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 243 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 244 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 245 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 246 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 247 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 248 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 249 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 250 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 251 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 252 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 253 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 254 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 255 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 256 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 257 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 258 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 259 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 260 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 264 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 265 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 266 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 267 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 268 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 269 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 270 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 271 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 272 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 273 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 274 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 275 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 276 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 277 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 278 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 279 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 280 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 281 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 282 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 283 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 284 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 285 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 286 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 287 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 288 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 289 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 290 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 291 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 292 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 296 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 297 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 298 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 299 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 300 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 301 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 302 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 303 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 304 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 305 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 306 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 307 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 308 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 309 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 310 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 311 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 312 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 313 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 314 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 315 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 316 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 317 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 318 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 319 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 320 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 321 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 322 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 323 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 324 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 328 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 329 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 330 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 331 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 332 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 333 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 334 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 335 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 336 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 337 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 338 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 339 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 340 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 341 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 342 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 343 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 344 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 345 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 346 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 347 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 348 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 349 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 350 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 351 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 352 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 353 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 354 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 355 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 356 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 360 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 361 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 362 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 363 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 364 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 365 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 366 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 367 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 368 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 369 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 370 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 371 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 372 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 373 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 374 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 375 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 376 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 377 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 378 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 379 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 380 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 381 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 382 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 383 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 384 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 385 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 386 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 387 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 388 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 389 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 390 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 391 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 392 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 396 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 397 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 398 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 399 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 400 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 401 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 402 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 403 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 404 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 405 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 406 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 407 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 408 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 409 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 410 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 411 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 412 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 413 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 414 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 415 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 416 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 417 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 418 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 419 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 420 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 421 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 422 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 423 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 424 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 425 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 16 spaces. line: 426 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 427 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 428 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 430 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 432 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 434 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 436 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 437 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 442 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 443 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 444 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 445 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 446 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 447 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 448 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 449 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 450 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 451 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 452 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 453 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 454 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 455 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 456 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 457 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 458 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 459 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 460 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 461 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 462 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 463 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 464 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 465 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 466 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 467 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 468 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 469 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 470 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 471 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 472 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 473 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 474 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 475 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 476 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 477 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 478 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 479 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 480 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 481 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 482 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 483 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 484 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 485 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 486 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 487 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 488 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 489 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 490 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 491 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 492 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 493 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 494 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 495 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 496 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 497 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 498 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 499 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 500 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 501 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 502 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 503 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 504 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 505 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 506 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 507 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 508 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 509 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 513 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 518 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 520 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 522 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 524 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 526 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 528 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 529 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 530 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 531 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 532 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 533 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 534 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 538 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 539 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 540 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 541 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 542 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 543 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 544 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 545 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 549 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 550 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 551 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 552 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 556 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 557 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 558 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 559 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 560 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 561 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 562 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 563 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 564 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 565 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 566 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 567 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 568 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 569 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 570 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 571 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 572 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 576 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 577 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 578 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 579 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 580 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 581 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 583 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 585 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 587 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 589 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 591 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 593 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 595 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 597 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 601 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 603 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 610 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 616 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 617 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 620 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 622 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 624 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 626 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 628 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 630 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 632 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 634 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 638 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 639 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 641 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 643 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 645 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 667 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 669 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 678 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 682 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 686 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 687 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 688 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 689 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 690 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 691 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 692 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 693 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 694 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 695 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 696 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 697 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 701 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 702 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 707 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 708 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 712 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 713 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 714 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 715 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 716 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 717 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 718 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 719 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 720 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 721 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 725 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 726 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 727 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 728 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 729 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 730 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 731 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 735 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 736 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 737 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 741 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 742 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 743 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 744 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 745 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 746 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 747 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 748 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 749 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 750 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 751 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 752 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 753 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 754 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 758 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 762 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 763 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 764 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 768 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 769 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 10 spaces. line: 770 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 771 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 14 spaces. line: 772 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 10 spaces. line: 773 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 776 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 777 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 778 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 779 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 783 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 784 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 789 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 790 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 791 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 793 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 795 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 799 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 817 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 819 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 821 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 822 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 823 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 824 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 825 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 826 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 827 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 829 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 830 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 831 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 832 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 833 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 834 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 835 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 836 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 837 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 838 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 840 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 841 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 842 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 844 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 845 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 846 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 847 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 851 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 852 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 853 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 854 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 855 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 856 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 857 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 858 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 859 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 863 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 864 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 865 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 869 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 870 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 874 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 879 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 881 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 886 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 912 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 914 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 915 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 917 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 918 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 919 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 920 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 921 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 922 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 923 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 924 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 925 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 926 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 927 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 928 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 929 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 930 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 931 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 932 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 933 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 934 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 935 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 936 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 937 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 938 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 939 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 940 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 941 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 942 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 950 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 951 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 952 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 953 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 954 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 955 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 961 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 963 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 967 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 971 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 972 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 973 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 974 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 12 spaces. line: 975 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 976 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 978 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 980 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 982 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 983 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 984 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 985 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 986 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 987 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 988 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 992 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 993 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 994 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 995 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 999 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1000 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1004 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1005 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1006 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1007 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1008 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1009 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1010 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1011 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 8 spaces. line: 1012 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 1014 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 74 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 75 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 76 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 77 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 78 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 79 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 80 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 81 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 82 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 83 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 84 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 85 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 86 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 88 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 89 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 90 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 91 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 92 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 93 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 94 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 96 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 97 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 98 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 99 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 100 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 101 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 102 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 103 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 104 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 105 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 106 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 107 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 109 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 110 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 111 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 112 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 113 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 114 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 115 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 116 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 117 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 118 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 119 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 120 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 121 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 123 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 124 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 125 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 126 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 127 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 128 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 129 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 130 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 131 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 132 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 133 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 134 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 135 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 136 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 137 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 138 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 139 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 140 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 142 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 143 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 144 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 146 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 147 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 148 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 150 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 151 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 152 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 153 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 154 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 155 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 156 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 157 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 158 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 159 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 160 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 161 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 162 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 163 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 164 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 165 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 166 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 168 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 169 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 170 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 171 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 172 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 173 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 174 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 175 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 176 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 177 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 178 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 179 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 180 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 181 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 182 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 183 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 184 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 185 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 186 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 187 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 188 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 189 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 190 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 191 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 192 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 193 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 194 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 195 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 196 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 197 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 198 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 199 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 200 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 201 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 202 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 203 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 204 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-type01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-type01-input.svelte ================================================ {@render children()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-type01-output.svelte ================================================ {@render children()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-import-type01-requirements.json ================================================ { "svelte": ">=5" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 58 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 54 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-interface03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 40 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 47 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 12 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-type-parameters02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 14 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 73 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 74 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 53 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 54 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 55 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 56 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 57 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 58 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 59 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 60 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 61 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 62 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 63 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 64 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 65 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 66 column: 1 suggestions: null - message: Expected indentation of 14 spaces but found 0 spaces. line: 67 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 68 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 69 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 70 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 71 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 72 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 73 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 35 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-types03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 53 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 15 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 16 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 17 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 18 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 19 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 20 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 21 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 22 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 23 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 24 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 25 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 26 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 27 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 28 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 29 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 30 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 31 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 32 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 33 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 34 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 36 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 37 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 38 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 39 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 40 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 41 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 42 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 43 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 44 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 45 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 46 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 47 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 48 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 49 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 50 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 51 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 52 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 53 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-union02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 7 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 11 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-requirements.json ================================================ { "@typescript-eslint/parser": "<6.11.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-requirements.json ================================================ { "@typescript-eslint/parser": "<6.11.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-requirements.json ================================================ { "@typescript-eslint/parser": "<6.11.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-requirements.json ================================================ { "typescript": ">=5.3.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 10 spaces but found 0 spaces. line: 9 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 10 column: 1 suggestions: null - message: Expected indentation of 12 spaces but found 0 spaces. line: 11 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 12 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 14 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-requirements.json ================================================ { "typescript": ">=5.3.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 8 spaces but found 0 spaces. line: 7 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 9 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-requirements.json ================================================ { "typescript": ">=5.3.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-errors.yaml ================================================ - message: Expected indentation of 2 spaces but found 0 spaces. line: 3 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 4 column: 1 suggestions: null - message: Expected indentation of 6 spaces but found 0 spaces. line: 5 column: 1 suggestions: null - message: Expected indentation of 2 spaces but found 0 spaces. line: 6 column: 1 suggestions: null - message: Expected indentation of 4 spaces but found 0 spaces. line: 7 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/indent-script-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/inline-style-tag-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/pug01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/test01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/ts/ts-import-type01-input.svelte ================================================ {@render children()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/indent/valid/ts/ts-import-type01-requirements.json ================================================ { "svelte": ">=5" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/await/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/await/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 6 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test02-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 8 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `a`. line: 14 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test03-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 8 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `a`. line: 13 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test04-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 6 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 11 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `a`. line: 17 column: 9 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `a`. line: 18 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test05-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 6 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `a`. line: 12 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test06-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 5 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `obj`. line: 9 column: 9 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 10 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test07-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 5 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `$store`. line: 11 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test07-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test08-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 6 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop because this function may update `foo`. line: 12 column: 9 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 13 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test08-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test09-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 10 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test09-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 9 column: 28 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 8 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 6 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 7 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 10 column: 5 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 13 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 8 column: 5 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 11 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 5 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 10 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 5 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 10 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 13 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 7 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 13 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 11 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 17 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 5 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 8 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 14 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 20 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 25 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-errors.yaml ================================================ - message: Possibly it may occur an infinite reactive loop. line: 17 column: 4 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 23 column: 3 suggestions: null - message: Possibly it may occur an infinite reactive loop. line: 28 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/recursive-reference-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test07-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test08-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/_config.json ================================================ { "options": [{ "multiline": 3, "singleline": 3 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml ================================================ - message: "'{...attrs}' should be on a new line." line: 8 column: 50 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml ================================================ - message: "'bind:value' should be on a new line." line: 8 column: 20 suggestions: null - message: "'on:click' should be on a new line." line: 10 column: 23 suggestions: null - message: "'{...attrs}' should be on a new line." line: 11 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/all-blocks-exceed/_config.json ================================================ { "options": [{ "script": 1, "style": 1, "template": 1 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/all-blocks-exceed/all01-errors.yaml ================================================ - message: "
{a}
{b}
{c}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/mixed-comment-code/_config.json ================================================ { "options": [{ "script": 1, "style": 1, "skipComments": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/mixed-comment-code/mixed01-errors.yaml ================================================ - message: ' ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/script-too-long/_config.json ================================================ { "options": [{ "script": 3 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/script-too-long/script01-errors.yaml ================================================ - message: "

Hello {name}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/skip-not-enough/_config.json ================================================ { "options": [{ "script": 2, "skipComments": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/skip-not-enough/skip01-errors.yaml ================================================ - message: "
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/style-too-long/_config.json ================================================ { "options": [{ "style": 5 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/style-too-long/style01-errors.yaml ================================================ - message: " ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/template-too-long/_config.json ================================================ { "options": [{ "template": 3 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/template-too-long/template01-errors.yaml ================================================ - message: "template block has too many lines (10). Maximum allowed is 3." line: 3 column: 10 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/invalid/template-too-long/template01-input.svelte ================================================

Hello {name}

Line 1

Line 2

Line 3

Line 4

Line 5

Line 6

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/default-config.json ================================================ { "options": [{ "script": 10, "style": 10, "template": 10 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/default-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/empty-block/_config.json ================================================ { "options": [{ "script": 1, "style": 1, "template": 5 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/empty-block/empty01-input.svelte ================================================
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/no-style/_config.json ================================================ { "options": [{ "script": 5, "template": 5 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/no-style/no-style01-input.svelte ================================================

Hello {name}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/only-style/_config.json ================================================ { "options": [{ "script": 10 }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/only-style/only-style01-input.svelte ================================================

{name}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-blank-lines/_config.json ================================================ { "options": [{ "script": 4, "skipBlankLines": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-blank-lines/skip-blank01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-both/_config.json ================================================ { "options": [{ "script": 4, "style": 3, "template": 2, "skipBlankLines": true, "skipComments": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-both/skip-both01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-comments/_config.json ================================================ { "options": [{ "script": 1, "style": 3, "skipComments": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/max-lines-per-block/valid/skip-comments/skip-comments01-input.svelte ================================================
{count}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/_config.json ================================================ { "options": [ { "textExpressions": "always", "attributesAndProps": "always", "directiveExpressions": "always", "tags": { "openingBrace": "always", "closingBrace": "always" } } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/snippet-render01-errors.yaml ================================================ - message: Expected 1 space after '{', but not found. line: 2 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 2 column: 16 suggestions: null - message: Expected 1 space after '{', but not found. line: 3 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 3 column: 10 suggestions: null - message: Expected 1 space after '{', but not found. line: 4 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 4 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/snippet-render01-input.svelte ================================================ {#snippet foo()} {/snippet} {@render foo()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/snippet-render01-output.svelte ================================================ { #snippet foo() } { /snippet } { @render foo() } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/snippet-render01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.yaml ================================================ - message: Expected 1 space after '{', but not found. line: 18 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 18 column: 5 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 24 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 31 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 37 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 50 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 58 suggestions: null - message: Expected 1 space after '{', but not found. line: 20 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 20 column: 22 suggestions: null - message: Expected 1 space after '{', but not found. line: 21 column: 8 suggestions: null - message: Expected 1 space before '}', but not found. line: 21 column: 17 suggestions: null - message: Expected 1 space after '{', but not found. line: 22 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 22 column: 11 suggestions: null - message: Expected 1 space after '{', but not found. line: 23 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 23 column: 11 suggestions: null - message: Expected 1 space after '{', but not found. line: 24 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 24 column: 15 suggestions: null - message: Expected 1 space after '{', but not found. line: 26 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 26 column: 16 suggestions: null - message: Expected 1 space after '{', but not found. line: 26 column: 20 suggestions: null - message: Expected 1 space before '}', but not found. line: 26 column: 24 suggestions: null - message: Expected 1 space after '{', but not found. line: 27 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 27 column: 16 suggestions: null - message: Expected 1 space after '{', but not found. line: 27 column: 20 suggestions: null - message: Expected 1 space before '}', but not found. line: 27 column: 40 suggestions: null - message: Expected 1 space after '{', but not found. line: 27 column: 44 suggestions: null - message: Expected 1 space before '}', but not found. line: 27 column: 48 suggestions: null - message: Expected 1 space after '{', but not found. line: 28 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 28 column: 16 suggestions: null - message: Expected 1 space after '{', but not found. line: 28 column: 20 suggestions: null - message: Expected 1 space before '}', but not found. line: 28 column: 26 suggestions: null - message: Expected 1 space after '{', but not found. line: 28 column: 30 suggestions: null - message: Expected 1 space before '}', but not found. line: 28 column: 34 suggestions: null - message: Expected 1 space after '{', but not found. line: 29 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 29 column: 16 suggestions: null - message: Expected 1 space after '{', but not found. line: 29 column: 17 suggestions: null - message: Expected 1 space before '}', but not found. line: 29 column: 23 suggestions: null - message: Expected 1 space after '{', but not found. line: 29 column: 24 suggestions: null - message: Expected 1 space before '}', but not found. line: 29 column: 28 suggestions: null - message: Expected 1 space after '{', but not found. line: 31 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 31 column: 20 suggestions: null - message: Expected 1 space after '{', but not found. line: 31 column: 24 suggestions: null - message: Expected 1 space before '}', but not found. line: 31 column: 30 suggestions: null - message: Expected 1 space after '{', but not found. line: 32 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 32 column: 27 suggestions: null - message: Expected 1 space after '{', but not found. line: 32 column: 31 suggestions: null - message: Expected 1 space before '}', but not found. line: 32 column: 37 suggestions: null - message: Expected 1 space after '{', but not found. line: 33 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 33 column: 31 suggestions: null - message: Expected 1 space after '{', but not found. line: 33 column: 35 suggestions: null - message: Expected 1 space before '}', but not found. line: 33 column: 41 suggestions: null - message: Expected 1 space after '{', but not found. line: 34 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 34 column: 38 suggestions: null - message: Expected 1 space after '{', but not found. line: 34 column: 42 suggestions: null - message: Expected 1 space before '}', but not found. line: 34 column: 48 suggestions: null - message: Expected 1 space after '{', but not found. line: 35 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 35 column: 20 suggestions: null - message: Expected 1 space after '{', but not found. line: 35 column: 24 suggestions: null - message: Expected 1 space before '}', but not found. line: 35 column: 30 suggestions: null - message: Expected 1 space after '{', but not found. line: 35 column: 34 suggestions: null - message: Expected 1 space before '}', but not found. line: 35 column: 40 suggestions: null - message: Expected 1 space after '{', but not found. line: 37 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 19 suggestions: null - message: Expected 1 space after '{', but not found. line: 37 column: 23 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 34 suggestions: null - message: Expected 1 space after '{', but not found. line: 37 column: 38 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 50 suggestions: null - message: Expected 1 space after '{', but not found. line: 37 column: 54 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 61 suggestions: null - message: Expected 1 space after '{', but not found. line: 38 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 38 column: 19 suggestions: null - message: Expected 1 space after '{', but not found. line: 38 column: 23 suggestions: null - message: Expected 1 space before '}', but not found. line: 38 column: 34 suggestions: null - message: Expected 1 space after '{', but not found. line: 38 column: 38 suggestions: null - message: Expected 1 space before '}', but not found. line: 38 column: 45 suggestions: null - message: Expected 1 space after '{', but not found. line: 39 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 39 column: 29 suggestions: null - message: Expected 1 space after '{', but not found. line: 39 column: 33 suggestions: null - message: Expected 1 space before '}', but not found. line: 39 column: 40 suggestions: null - message: Expected 1 space after '{', but not found. line: 41 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 41 column: 30 suggestions: null - message: Expected 1 space after '{', but not found. line: 41 column: 34 suggestions: null - message: Expected 1 space before '}', but not found. line: 41 column: 41 suggestions: null - message: Expected 1 space after '{', but not found. line: 42 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 42 column: 24 suggestions: null - message: Expected 1 space after '{', but not found. line: 42 column: 28 suggestions: null - message: Expected 1 space before '}', but not found. line: 42 column: 35 suggestions: null - message: Expected 1 space after '{', but not found. line: 44 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 44 column: 25 suggestions: null - message: Expected 1 space after '{', but not found. line: 44 column: 29 suggestions: null - message: Expected 1 space before '}', but not found. line: 44 column: 36 suggestions: null - message: Expected 1 space after '{', but not found. line: 46 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 46 column: 19 suggestions: null - message: Expected 1 space after '{', but not found. line: 46 column: 23 suggestions: null - message: Expected 1 space after '{', but not found. line: 46 column: 33 suggestions: null - message: Expected 1 space after '{', but not found. line: 46 column: 44 suggestions: null - message: Expected 1 space before '}', but not found. line: 46 column: 51 suggestions: null - message: Expected 1 space after '{', but not found. line: 48 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 48 column: 17 suggestions: null - message: Expected 1 space after '{', but not found. line: 48 column: 21 suggestions: null - message: Expected 1 space before '}', but not found. line: 48 column: 26 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/test01-input.svelte ================================================ {foo} {@html bar} {@debug o1} {@debug o1, o2} {#if expression}...{/if} {#if expression}...{:else if expression}...{/if} {#if expression}...{:else}...{/if} {#if expression}{:else}{/if} {#each list as item}...{/each} {#each list as item, index}...{/each} {#each list as item (item.key)}...{/each} {#each list as item, index (item.key)}...{/each} {#each list as item}...{:else}...{/each} {#await expression}...{:then name}...{:catch name}...{/await} {#await expression}...{:then name}...{/await} {#await expression then name}...{/await} {#await expression catch name}...{/await} {#await expression then}...{/await} {#await expression catch}...{/await} {#await expression}...{:then}...{:catch}...{/await} {#key expression}...{/key} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always/test01-output.svelte ================================================ { foo } { @html bar } { @debug o1 } { @debug o1, o2 } { #if expression }...{ /if } { #if expression }...{ :else if expression }...{ /if } { #if expression }...{ :else }...{ /if } { #if expression }{ :else }{ /if } { #each list as item }...{ /each } { #each list as item, index }...{ /each } { #each list as item (item.key) }...{ /each } { #each list as item, index (item.key) }...{ /each } { #each list as item }...{ :else }...{ /each } { #await expression }...{ :then name }...{ :catch name }...{ /await } { #await expression }...{ :then name }...{ /await } { #await expression then name }...{ /await } { #await expression catch name }...{ /await } { #await expression then }...{ /await } { #await expression catch }...{ /await } { #await expression }...{ :then}...{ :catch}...{ /await } { #key expression }...{ /key } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/_config.json ================================================ { "options": [ { "textExpressions": "always", "attributesAndProps": "always", "directiveExpressions": "always", "tags": { "openingBrace": "never", "closingBrace": "always-after-expression" } } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-errors.yaml ================================================ - message: Expected 1 space before '}', but not found. line: 2 column: 16 suggestions: null - message: Expected 1 space before '}', but not found. line: 4 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-input.svelte ================================================ {#snippet foo()} {/snippet} {@render foo()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-output.svelte ================================================ {#snippet foo() } {/snippet} {@render foo() } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml ================================================ - message: Expected 1 space after '{', but not found. line: 18 column: 1 suggestions: null - message: Expected 1 space before '}', but not found. line: 18 column: 5 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 24 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 31 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 37 suggestions: null - message: Expected 1 space after '{', but not found. line: 19 column: 50 suggestions: null - message: Expected 1 space before '}', but not found. line: 19 column: 58 suggestions: null - message: Expected 1 space after '{', but not found. line: 20 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 20 column: 22 suggestions: null - message: Expected 1 space after '{', but not found. line: 21 column: 8 suggestions: null - message: Expected 1 space before '}', but not found. line: 21 column: 17 suggestions: null - message: Expected 1 space before '}', but not found. line: 22 column: 11 suggestions: null - message: Expected 1 space before '}', but not found. line: 23 column: 11 suggestions: null - message: Expected 1 space before '}', but not found. line: 24 column: 15 suggestions: null - message: Expected 1 space before '}', but not found. line: 26 column: 16 suggestions: null - message: Expected 1 space before '}', but not found. line: 27 column: 16 suggestions: null - message: Expected 1 space before '}', but not found. line: 27 column: 40 suggestions: null - message: Expected 1 space before '}', but not found. line: 28 column: 16 suggestions: null - message: Expected 1 space before '}', but not found. line: 29 column: 16 suggestions: null - message: Expected 1 space before '}', but not found. line: 31 column: 20 suggestions: null - message: Expected 1 space before '}', but not found. line: 32 column: 27 suggestions: null - message: Expected 1 space before '}', but not found. line: 33 column: 31 suggestions: null - message: Expected 1 space before '}', but not found. line: 34 column: 38 suggestions: null - message: Expected 1 space before '}', but not found. line: 35 column: 20 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 34 suggestions: null - message: Expected 1 space before '}', but not found. line: 37 column: 50 suggestions: null - message: Expected 1 space before '}', but not found. line: 38 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 38 column: 34 suggestions: null - message: Expected 1 space before '}', but not found. line: 39 column: 29 suggestions: null - message: Expected 1 space before '}', but not found. line: 41 column: 30 suggestions: null - message: Expected 1 space before '}', but not found. line: 46 column: 19 suggestions: null - message: Expected 1 space before '}', but not found. line: 48 column: 17 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte ================================================ {foo} {@html bar} {@debug o1} {@debug o1, o2} {#if expression}...{/if} {#if expression}...{:else if expression}...{/if} {#if expression}...{:else}...{/if} {#if expression}{:else}{/if} {#each list as item}...{/each} {#each list as item, index}...{/each} {#each list as item (item.key)}...{/each} {#each list as item, index (item.key)}...{/each} {#each list as item}...{:else}...{/each} {#await expression}...{:then name}...{:catch name}...{/await} {#await expression}...{:then name}...{/await} {#await expression then name}...{/await} {#await expression catch name}...{/await} {#await expression then}...{/await} {#await expression catch}...{/await} {#await expression}...{:then}...{:catch}...{/await} {#key expression}...{/key} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-output.svelte ================================================ { foo } {@html bar } {@debug o1 } {@debug o1, o2 } {#if expression }...{/if} {#if expression }...{:else if expression }...{/if} {#if expression }...{:else}...{/if} {#if expression }{:else}{/if} {#each list as item }...{/each} {#each list as item, index }...{/each} {#each list as item (item.key) }...{/each} {#each list as item, index (item.key) }...{/each} {#each list as item }...{:else}...{/each} {#await expression }...{:then name }...{:catch name }...{/await} {#await expression }...{:then name }...{/await} {#await expression then name }...{/await} {#await expression catch name }...{/await} {#await expression then}...{/await} {#await expression catch}...{/await} {#await expression }...{:then}...{:catch}...{/await} {#key expression }...{/key} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/snippet-render01-errors.yaml ================================================ - message: Expected no space after '{', but found. line: 2 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 2 column: 17 suggestions: null - message: Expected no space after '{', but found. line: 3 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 3 column: 11 suggestions: null - message: Expected no space after '{', but found. line: 4 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 4 column: 16 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/snippet-render01-input.svelte ================================================ { #snippet foo() } { /snippet } { @render foo() } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/snippet-render01-output.svelte ================================================ {#snippet foo()} {/snippet} {@render foo()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/snippet-render01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.yaml ================================================ - message: Expected no space after '{', but found. line: 20 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 20 column: 6 suggestions: null - message: Expected no space after '{', but found. line: 21 column: 19 suggestions: null - message: Expected no space before '}', but found. line: 21 column: 25 suggestions: null - message: Expected no space after '{', but found. line: 21 column: 33 suggestions: null - message: Expected no space before '}', but found. line: 21 column: 40 suggestions: null - message: Expected no space after '{', but found. line: 21 column: 54 suggestions: null - message: Expected no space before '}', but found. line: 21 column: 63 suggestions: null - message: Expected no space after '{', but found. line: 22 column: 19 suggestions: null - message: Expected no space before '}', but found. line: 22 column: 23 suggestions: null - message: Expected no space after '{', but found. line: 23 column: 8 suggestions: null - message: Expected no space before '}', but found. line: 23 column: 18 suggestions: null - message: Expected no space after '{', but found. line: 24 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 24 column: 12 suggestions: null - message: Expected no space after '{', but found. line: 25 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 25 column: 12 suggestions: null - message: Expected no space after '{', but found. line: 26 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 26 column: 16 suggestions: null - message: Expected no space after '{', but found. line: 28 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 28 column: 17 suggestions: null - message: Expected no space after '{', but found. line: 28 column: 22 suggestions: null - message: Expected no space before '}', but found. line: 28 column: 27 suggestions: null - message: Expected no space after '{', but found. line: 29 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 29 column: 17 suggestions: null - message: Expected no space after '{', but found. line: 29 column: 22 suggestions: null - message: Expected no space before '}', but found. line: 29 column: 43 suggestions: null - message: Expected no space after '{', but found. line: 29 column: 48 suggestions: null - message: Expected no space before '}', but found. line: 29 column: 53 suggestions: null - message: Expected no space after '{', but found. line: 30 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 30 column: 17 suggestions: null - message: Expected no space after '{', but found. line: 30 column: 22 suggestions: null - message: Expected no space before '}', but found. line: 30 column: 29 suggestions: null - message: Expected no space after '{', but found. line: 30 column: 34 suggestions: null - message: Expected no space before '}', but found. line: 30 column: 39 suggestions: null - message: Expected no space after '{', but found. line: 31 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 31 column: 17 suggestions: null - message: Expected no space after '{', but found. line: 31 column: 19 suggestions: null - message: Expected no space before '}', but found. line: 31 column: 26 suggestions: null - message: Expected no space after '{', but found. line: 31 column: 28 suggestions: null - message: Expected no space before '}', but found. line: 31 column: 33 suggestions: null - message: Expected no space after '{', but found. line: 33 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 33 column: 21 suggestions: null - message: Expected no space after '{', but found. line: 33 column: 26 suggestions: null - message: Expected no space before '}', but found. line: 33 column: 33 suggestions: null - message: Expected no space after '{', but found. line: 34 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 34 column: 28 suggestions: null - message: Expected no space after '{', but found. line: 34 column: 33 suggestions: null - message: Expected no space before '}', but found. line: 34 column: 40 suggestions: null - message: Expected no space after '{', but found. line: 35 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 35 column: 32 suggestions: null - message: Expected no space after '{', but found. line: 35 column: 37 suggestions: null - message: Expected no space before '}', but found. line: 35 column: 44 suggestions: null - message: Expected no space after '{', but found. line: 36 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 36 column: 39 suggestions: null - message: Expected no space after '{', but found. line: 36 column: 44 suggestions: null - message: Expected no space before '}', but found. line: 36 column: 51 suggestions: null - message: Expected no space after '{', but found. line: 37 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 37 column: 21 suggestions: null - message: Expected no space after '{', but found. line: 37 column: 26 suggestions: null - message: Expected no space before '}', but found. line: 37 column: 33 suggestions: null - message: Expected no space after '{', but found. line: 37 column: 38 suggestions: null - message: Expected no space before '}', but found. line: 37 column: 45 suggestions: null - message: Expected no space after '{', but found. line: 39 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 39 column: 20 suggestions: null - message: Expected no space after '{', but found. line: 39 column: 25 suggestions: null - message: Expected no space before '}', but found. line: 39 column: 37 suggestions: null - message: Expected no space after '{', but found. line: 39 column: 42 suggestions: null - message: Expected no space before '}', but found. line: 39 column: 55 suggestions: null - message: Expected no space after '{', but found. line: 39 column: 60 suggestions: null - message: Expected no space before '}', but found. line: 39 column: 68 suggestions: null - message: Expected no space after '{', but found. line: 40 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 40 column: 20 suggestions: null - message: Expected no space after '{', but found. line: 40 column: 25 suggestions: null - message: Expected no space before '}', but found. line: 40 column: 37 suggestions: null - message: Expected no space after '{', but found. line: 40 column: 42 suggestions: null - message: Expected no space before '}', but found. line: 40 column: 50 suggestions: null - message: Expected no space after '{', but found. line: 41 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 41 column: 30 suggestions: null - message: Expected no space after '{', but found. line: 41 column: 35 suggestions: null - message: Expected no space before '}', but found. line: 41 column: 43 suggestions: null - message: Expected no space after '{', but found. line: 42 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 42 column: 31 suggestions: null - message: Expected no space after '{', but found. line: 42 column: 36 suggestions: null - message: Expected no space before '}', but found. line: 42 column: 44 suggestions: null - message: Expected no space after '{', but found. line: 43 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 43 column: 25 suggestions: null - message: Expected no space after '{', but found. line: 43 column: 30 suggestions: null - message: Expected no space before '}', but found. line: 43 column: 38 suggestions: null - message: Expected no space after '{', but found. line: 44 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 44 column: 26 suggestions: null - message: Expected no space after '{', but found. line: 44 column: 31 suggestions: null - message: Expected no space before '}', but found. line: 44 column: 39 suggestions: null - message: Expected no space after '{', but found. line: 45 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 45 column: 20 suggestions: null - message: Expected no space after '{', but found. line: 45 column: 25 suggestions: null - message: Expected no space after '{', but found. line: 45 column: 36 suggestions: null - message: Expected no space after '{', but found. line: 45 column: 48 suggestions: null - message: Expected no space before '}', but found. line: 45 column: 56 suggestions: null - message: Expected no space after '{', but found. line: 47 column: 1 suggestions: null - message: Expected no space before '}', but found. line: 47 column: 18 suggestions: null - message: Expected no space after '{', but found. line: 47 column: 23 suggestions: null - message: Expected no space before '}', but found. line: 47 column: 29 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/test01-input.svelte ================================================
{ foo } { @html bar } { @debug o1 } { @debug o1, o2 } { #if expression }...{ /if } { #if expression }...{ :else if expression }...{ /if } { #if expression }...{ :else }...{ /if } { #if expression }{ :else }{ /if } { #each list as item }...{ /each } { #each list as item, index }...{ /each } { #each list as item (item.key) }...{ /each } { #each list as item, index (item.key) }...{ /each } { #each list as item }...{ :else }...{ /each } { #await expression }...{ :then name }...{ :catch name }...{ /await } { #await expression }...{ :then name }...{ /await } { #await expression then name }...{ /await } { #await expression catch name }...{ /await } { #await expression then }...{ /await } { #await expression catch }...{ /await } { #await expression }...{ :then}...{ :catch}...{ /await } { #key expression }...{ /key }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/test01-output.svelte ================================================
{foo} {@html bar} {@debug o1} {@debug o1, o2} {#if expression}...{/if} {#if expression}...{:else if expression}...{/if} {#if expression}...{:else}...{/if} {#if expression}{:else}{/if} {#each list as item}...{/each} {#each list as item, index}...{/each} {#each list as item (item.key)}...{/each} {#each list as item, index (item.key)}...{/each} {#each list as item}...{:else}...{/each} {#await expression}...{:then name}...{:catch name}...{/await} {#await expression}...{:then name}...{/await} {#await expression then name}...{/await} {#await expression catch name}...{/await} {#await expression then}...{/await} {#await expression catch}...{/await} {#await expression}...{:then}...{:catch}...{/await} {#key expression}...{/key}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/always/_config.json ================================================ { "options": [ { "textExpressions": "always", "attributesAndProps": "always", "directiveExpressions": "always", "tags": { "openingBrace": "always", "closingBrace": "always" } } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/always/snippet-render01-input.svelte ================================================ { #snippet foo() } { /snippet } { @render foo() } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/always/snippet-render01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/always/test01-input.svelte ================================================
{ foo } { @html bar } { @debug o1 } { @debug o1, o2 } { #if expression }...{ /if } { #if expression }...{ :else if expression }...{ /if } { #if expression }...{ :else }...{ /if } { #if expression }{ :else }{ /if } { #each list as item }...{ /each } { #each list as item, index }...{ /each } { #each list as item (item.key) }...{ /each } { #each list as item, index (item.key) }...{ /each } { #each list as item }...{ :else }...{ /each } { #await expression }...{ :then name }...{ :catch name }...{ /await } { #await expression }...{ :then name }...{ /await } { #await expression then name }...{ /await } { #await expression catch name }...{ /await } { #await expression then }...{ /await } { #await expression catch }...{ /await } { #await expression }...{ :then}...{ :catch}...{ /await } { #key expression }...{ /key }
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/snippet-render01-input.svelte ================================================ {#snippet foo()} {/snippet} {@render foo()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/snippet-render01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/valid/test01-input.svelte ================================================ {foo} {@html bar} {@debug o1} {@debug o1, o2} {#if expression}...{/if} {#if expression}...{:else if expression}...{/if} {#if expression}...{:else}...{/if} {#if expression}{:else}{/if} {#each list as item}...{/each} {#each list as item, index}...{/each} {#each list as item (item.key)}...{/each} {#each list as item, index (item.key)}...{/each} {#each list as item}...{:else}...{/each} {#await expression}...{:then name}...{:catch name}...{/await} {#await expression}...{:then name}...{/await} {#await expression then name}...{/await} {#await expression catch name}...{/await} {#await expression then}...{/await} {#await expression catch}...{/await} {#await expression}...{:then}...{:catch}...{/await} {#key expression}...{/key} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/invalid/test01-errors.yaml ================================================ - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 17 column: 3 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 18 column: 3 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 21 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 22 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 23 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 26 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 28 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 31 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 34 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/invalid/typescript01-errors.yaml ================================================ - message: Do not use `addEventListener`. Use the `on` function from `svelte/events` instead. line: 6 column: 2 suggestions: - desc: Use `on` from `svelte/events` instead output: |
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/invalid/typescript01-input.svelte ================================================
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/valid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-add-event-listener/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.yaml ================================================ - message: Unexpected `{@debug}`. line: 11 column: 1 suggestions: - desc: Remove `{@debug}` from the source messageId: suggestRemove output: |

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-input.svelte ================================================ {@debug}

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.yaml ================================================ - message: Unexpected `{@debug}`. line: 11 column: 1 suggestions: - desc: Remove `{@debug}` from the source messageId: suggestRemove output: |

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-input.svelte ================================================ {@debug user}

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/valid/html-input.svelte ================================================

{@html string}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-debug-tags/valid/text-mustash-input.svelte ================================================

{string}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.yaml ================================================ - message: "`{@html}` can lead to XSS attack." line: 5 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-html-tags/invalid/html-input.svelte ================================================

{@html string}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-html-tags/valid/debug01-input.svelte ================================================ {@debug}

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-html-tags/valid/debug02-input.svelte ================================================ {@debug user}

Hello {user.firstname}!

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-at-html-tags/valid/text-mustash-input.svelte ================================================

{string}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/chain01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 5 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 8 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/chain01-input.svelte ================================================

div

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 9 column: 24 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-input.svelte ================================================
{#if show} div {/if}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 9 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-input.svelte ================================================ {#if show}
div
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 7 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 8 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-input.svelte ================================================

div

div ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 6 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 7 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 8 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 9 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 10 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 11 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 12 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 13 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 14 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 15 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 16 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 17 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 18 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 19 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 20 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-input.svelte ================================================
div
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-errors.yaml ================================================ - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 4 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 5 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 6 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 7 column: 3 suggestions: null - message: Don't manipulate the DOM directly. The Svelte runtime can get confused if there is a difference between the actual DOM and the DOM expected by the Svelte runtime. line: 8 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-input.svelte ================================================
div
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/computed-member01-input.svelte ================================================
div
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/loop01-input.svelte ================================================ {#each list as item} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-bind-this01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-element01-input.svelte ================================================ div div ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop01-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop02-input.svelte ================================================
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove-text01-input.svelte ================================================
{#if show} div {/if}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove01-input.svelte ================================================ {#if show}
div
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-method01-input.svelte ================================================
div
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-prop01-input.svelte ================================================
div
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-var01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml ================================================ - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 7 column: 11 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-input.svelte ================================================ {#if foo}
if
{:else if foo}
else if
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml ================================================ - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 21 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 31 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-input.svelte ================================================ {#if a}
foo
{:else if b}
bar
{:else if c}
baz
{/if} {#if a}
foo
{:else if b}
bar
{:else if b}
baz
{/if} {#if a}
foo
{:else if b}
bar
{:else} baz {#if b}
qux
{/if} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml ================================================ - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 12 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 20 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 26 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 32 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 38 column: 11 suggestions: null - message: This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain. line: 46 column: 17 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-input.svelte ================================================ {#if a || b} 1 {:else if a} 2 {/if} {#if a} 1 {:else if b} 2 {:else if a || b} 3 {/if} {#if a} 1 {:else if a && b} 2 {/if} {#if a && b} 1 {:else if a && b && c} 2 {/if} {#if a || b} 1 {:else if b && c} 2 {/if} {#if a} 1 {:else if b && c} 2 {:else if d && ((c && e && b) || a)} 3 {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test01-input.svelte ================================================ {#if a}
foo
{:else if b}
bar
{:else if c}
baz
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test02-input.svelte ================================================ {#if a}
foo
{:else if b}
bar
{:else}
baz
{/if} {#if b}
baz
{/if} {#if a}
foo
{:else if b} {#each list as b} {#if b}
baz
{/if} {/each} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test03-input.svelte ================================================ {#if b && c}
foo
{:else if b || c}
bar
{:else if a || c}
bar
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-errors.yaml ================================================ - message: This `on:keydown` directive is the same and duplicate directives in L1. line: 1 column: 9 suggestions: null - message: This `on:keydown` directive is the same and duplicate directives in L1. line: 1 column: 47 suggestions: null - message: This `on:keydown` directive is the same and duplicate directives in L7. line: 4 column: 2 suggestions: null - message: This `on:keydown` directive is the same and duplicate directives in L4. line: 7 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member02-wth-bind-input.svelte ================================================ {first} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member03-with-each-input.svelte ================================================ {first} {#each values as value} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member04-with-each-input.svelte ================================================ {first} {#each values as a} {#each a as value} {/each} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member05-with-each-input.svelte ================================================ {first} {values} {#each values as value} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member06-with-each-input.svelte ================================================ {first} {#each values as { a }} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member07-with-each-input.svelte ================================================ {first} {#each values as [value]} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/unknown01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/disallowed-transitions/_config.json ================================================ { "options": [ { "allowTransitions": false } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/disallowed-transitions/transition01-errors.yaml ================================================ - message: Found disallowed transition. line: 5 column: 7 suggestions: null - message: Found disallowed transition. line: 7 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/disallowed-transitions/transition01-input.svelte ================================================ Hello World! Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-errors.yaml ================================================ - message: Found disallowed style attribute. line: 1 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-input.svelte ================================================ Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-errors.yaml ================================================ - message: Found disallowed style directive. line: 5 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-input.svelte ================================================ Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-attribute01-input.svelte ================================================ Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-directive01-input.svelte ================================================ Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/transition01-input.svelte ================================================ Hello World! Hello World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_config.json ================================================ { "options": ["functions", { "blockScopedFunctions": "disallow" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_requirements.json ================================================ { "eslint": "^9.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_config.json ================================================ { "options": ["both", { "blockScopedFunctions": "disallow" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_requirements.json ================================================ { "eslint": "^9.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml ================================================ - message: Move function declaration to program root. line: 3 column: 3 suggestions: null - message: Move variable declaration to program root. line: 5 column: 11 suggestions: null - message: Move variable declaration to program root. line: 6 column: 31 suggestions: null - message: Move function declaration to program root. line: 8 column: 3 suggestions: null - message: Move variable declaration to function body root. line: 10 column: 5 suggestions: null - message: Move function declaration to program root. line: 15 column: 3 suggestions: null - message: Move variable declaration to function body root. line: 16 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml ================================================ - message: Move function declaration to program root. line: 3 column: 3 suggestions: null - message: Move function declaration to program root. line: 8 column: 3 suggestions: null - message: Move function declaration to program root. line: 15 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_config.json ================================================ { "options": ["functions"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_requirements.json ================================================ { "eslint": "<=8" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_config.json ================================================ { "options": ["both"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_requirements.json ================================================ { "eslint": "<=8" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-errors.yaml ================================================ - message: Move function declaration to program root. line: 3 column: 3 suggestions: null - message: Move variable declaration to program root. line: 5 column: 11 suggestions: null - message: Move variable declaration to program root. line: 6 column: 31 suggestions: null - message: Move function declaration to program root. line: 8 column: 3 suggestions: null - message: Move variable declaration to function body root. line: 10 column: 5 suggestions: null - message: Move function declaration to program root. line: 15 column: 3 suggestions: null - message: Move variable declaration to function body root. line: 16 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-errors.yaml ================================================ - message: Move function declaration to program root. line: 3 column: 3 suggestions: null - message: Move function declaration to program root. line: 8 column: 3 suggestions: null - message: Move function declaration to program root. line: 15 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inspect/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inspect/invalid/test01-errors.yaml ================================================ - message: Do not use $inspect directive line: 2 column: 3 suggestions: null - message: Do not use $inspect directive line: 5 column: 13 suggestions: null - message: Do not use $inspect directive line: 8 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inspect/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inspect/valid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-inspect/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-aliased01-errors.yaml ================================================ - message: Found a goto() call with a url that isn't prefixed with the base path. line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-base-not-as-prefix01-errors.yaml ================================================ - message: Found a goto() call with a url that isn't prefixed with the base path. line: 5 column: 7 suggestions: null - message: Found a goto() call with a url that isn't prefixed with the base path. line: 6 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-base-not-as-prefix01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-namespace-import01-errors.yaml ================================================ - message: Found a goto() call with a url that isn't prefixed with the base path. line: 4 column: 18 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-no-base01-errors.yaml ================================================ - message: Found a goto() call with a url that isn't prefixed with the base path. line: 6 column: 7 suggestions: null - message: Found a goto() call with a url that isn't prefixed with the base path. line: 7 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/goto-no-base01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-base-not-as-prefix01-errors.yaml ================================================ - message: Found a link with a url that isn't prefixed with the base path. line: 5 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 6 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-base-not-as-prefix01-input.svelte ================================================ Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-no-base01-errors.yaml ================================================ - message: Found a link with a url that isn't prefixed with the base path. line: 4 column: 10 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 5 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 6 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 7 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 8 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-no-base01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-with-fragment01-errors.yaml ================================================ - message: Found a link with a url that isn't prefixed with the base path. line: 4 column: 10 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 5 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 6 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 7 column: 9 suggestions: null - message: Found a link with a url that isn't prefixed with the base path. line: 8 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/link-with-fragment01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-aliased01-errors.yaml ================================================ - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-base-not-as-prefix01-errors.yaml ================================================ - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 5 column: 12 suggestions: null - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 6 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-base-not-as-prefix01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-namespace-import01-errors.yaml ================================================ - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 4 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-no-base01-errors.yaml ================================================ - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 6 column: 12 suggestions: null - message: Found a pushState() call with a url that isn't prefixed with the base path. line: 7 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/pushState-no-base01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-aliased01-errors.yaml ================================================ - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-base-not-as-prefix01-errors.yaml ================================================ - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 5 column: 15 suggestions: null - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 6 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-base-not-as-prefix01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-namespace-import01-errors.yaml ================================================ - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 4 column: 26 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-no-base01-errors.yaml ================================================ - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 6 column: 15 suggestions: null - message: Found a replaceState() call with a url that isn't prefixed with the base path. line: 7 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/invalid/replaceState-no-base01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/goto-base-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/goto-base-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/goto-base-prefixed01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreGoto/_config.json ================================================ { "options": [ { "ignoreGoto": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreGoto/goto-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreLinks/_config.json ================================================ { "options": [ { "ignoreLinks": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreLinks/link-ignored01-input.svelte ================================================ Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignorePushState/_config.json ================================================ { "options": [ { "ignorePushState": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignorePushState/pushState-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreReplaceState/_config.json ================================================ { "options": [ { "ignoreReplaceState": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/ignoreReplaceState/replaceState-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/link-absolute-url01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/link-base-aliased01-input.svelte ================================================ Click me!; Click me!; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/link-base-namespace-import01-input.svelte ================================================ Click me!; Click me!; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/link-base-prefixed01-input.svelte ================================================ Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/link-fragment-url01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/pushState-base-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/pushState-base-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/pushState-base-prefixed01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/pushState-empty-url01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/replaceState-base-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/replaceState-base-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/replaceState-base-prefixed01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-base/valid/replaceState-empty-url01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-aliased01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-namespace-import01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 4 column: 18 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-partial-resolve01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 5 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 6 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-partial-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-resolved-pathname-wrong-module01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 12 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-resolved-pathname-wrong-module01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-string-prop01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 10 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-string-prop01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-absolute01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 7 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 8 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 9 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-absolute01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-empty01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 7 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 8 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 9 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-empty01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-plain01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 7 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 8 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 9 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 11 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 13 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-ternary-resolve-plain01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-unresolved-pathname01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 12 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-unresolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-without-resolve01-errors.yaml ================================================ - message: Unexpected goto() call without resolve(). line: 6 column: 7 suggestions: null - message: Unexpected goto() call without resolve(). line: 7 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/goto-without-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-absolute-url-invalid-operator01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 1 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 2 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 3 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-absolute-url-invalid-operator01-input.svelte ================================================ Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-fragment-url-invalid-operator01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 1 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 2 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-fragment-url-invalid-operator01-input.svelte ================================================ Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-nullish-like-literal01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 6 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 7 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 8 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 10 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 12 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 13 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 14 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 15 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-nullish-like-literal01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-partial-asset01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 5 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 6 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-partial-asset01-input.svelte ================================================ Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-partial-resolve01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 8 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 10 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-partial-resolve01-input.svelte ================================================ Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-resolved-pathname-wrong-module01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-resolved-pathname-wrong-module01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-string-prop01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-string-prop01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-ternary-asset-plain01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 7 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 8 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-ternary-asset-plain01-input.svelte ================================================ Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-ternary-resolve-plain01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 10 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 12 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 13 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-ternary-resolve-plain01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-unresolved-pathname01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-unresolved-pathname01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-with-fragment01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 6 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 7 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 8 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 10 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-with-fragment01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-without-resolve01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 6 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 7 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 8 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 9 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 10 column: 4 suggestions: null - message: Unexpected href link without resolve(). line: 11 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/link-without-resolve01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-aliased01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-namespace-import01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 4 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-partial-resolve01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 5 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 6 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-partial-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-resolved-pathname-wrong-module01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 12 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-resolved-pathname-wrong-module01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-string-prop01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 10 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-string-prop01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-ternary-resolve-absolute01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 7 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 8 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 9 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-ternary-resolve-absolute01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-ternary-resolve-plain01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 7 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 8 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 9 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 11 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 13 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-ternary-resolve-plain01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-unresolved-pathname01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 12 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-unresolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-without-resolve01-errors.yaml ================================================ - message: Unexpected pushState() call without resolve(). line: 6 column: 12 suggestions: null - message: Unexpected pushState() call without resolve(). line: 7 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/pushState-without-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/recursive-loop01-errors.yaml ================================================ - message: Unexpected href link without resolve(). line: 6 column: 4 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/recursive-loop01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-aliased01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 4 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-namespace-import01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 4 column: 26 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-partial-resolve01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 5 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 6 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-partial-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-resolved-pathname-wrong-module01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 12 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-resolved-pathname-wrong-module01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-string-prop01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 10 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-string-prop01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-ternary-resolve-absolute01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 7 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 8 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 9 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-ternary-resolve-absolute01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-ternary-resolve-plain01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 7 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 8 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 9 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 11 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 13 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-ternary-resolve-plain01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-unresolved-pathname01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 12 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-unresolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-without-resolve01-errors.yaml ================================================ - message: Unexpected replaceState() call without resolve(). line: 6 column: 15 suggestions: null - message: Unexpected replaceState() call without resolve(). line: 7 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/invalid/replaceState-without-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-resolve-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-resolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-resolved-pathname02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-resolved01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/goto-ternary-both-resolve01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreGoto/_config.json ================================================ { "options": [ { "ignoreGoto": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreGoto/goto-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreLinks/_config.json ================================================ { "options": [ { "ignoreLinks": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreLinks/link-ignored01-input.svelte ================================================ Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignorePushState/_config.json ================================================ { "options": [ { "ignorePushState": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignorePushState/pushState-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreReplaceState/_config.json ================================================ { "options": [ { "ignoreReplaceState": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/ignoreReplaceState/replaceState-ignored01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-absolute-url01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-asset-aliased01-input.svelte ================================================ Click me!; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-asset01-input.svelte ================================================ Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-fragment-url01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-namespace-import01-input.svelte ================================================ Click me!; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-nullish01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-rel-external01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-resolve-aliased01-input.svelte ================================================ Click me!; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-resolved-pathname01-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-resolved-pathname02-input.svelte ================================================ Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-resolved01-input.svelte ================================================ Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-ternary-absolute-fragment01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-ternary-resolve-absolute01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-ternary-resolve-asset01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-ternary-resolve-fragment01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/link-ternary-resolve-nullish01-input.svelte ================================================ Click me! Click me! Click me! Click me! Click me! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-empty-url01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-resolve-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-resolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-resolved-pathname02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-resolved01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/pushState-ternary-resolve-empty01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-empty-url01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-namespace-import01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-resolve-aliased01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-resolved-pathname01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-resolved-pathname02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-resolved01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-navigation-without-resolve/valid/replaceState-ternary-resolve-empty01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml ================================================ - message: Unexpected array in event handler. line: 5 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-input.svelte ================================================ {JSON.stringify(array1) + JSON.stringify(array2) + JSON.stringify(array3) + JSON.stringify(array4) + JSON.stringify(array5) + JSON.stringify(array6) + JSON.stringify(array7) + JSON.stringify(array8) + JSON.stringify(array9) + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-errors.yaml ================================================ - message: Assignment to reactive value 'reactiveValue'. line: 6 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-errors.yaml ================================================ - message: Assignment to reactive value 'reactiveValue'. line: 9 column: 4 suggestions: null - message: Assignment to reactive value 'reactiveObject'. line: 10 column: 4 suggestions: null - message: Assignment to reactive value 'reactiveValue'. line: 12 column: 3 suggestions: null - message: Assignment to reactive value 'reactiveArray'. line: 13 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-input.svelte ================================================ {reactiveValue} {JSON.stringify(reactiveObject)} {JSON.stringify(reactiveArray)} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 8 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-input.svelte ================================================ {reactiveValue.key + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 8 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-input.svelte ================================================ {reactiveValue.key + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 6 column: 3 suggestions: null - message: Assignment to property of reactive value 'reactiveValue'. line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/_config.json ================================================ { "options": [ { "props": false } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-errors.yaml ================================================ - message: Assignment to reactive value 'reactiveValue'. line: 7 column: 3 suggestions: null - message: Assignment to reactive value 'reactiveValue'. line: 15 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-errors.yaml ================================================ - message: Assignment to property of reactive value 'reactiveValue'. line: 9 column: 3 suggestions: null - message: Assignment to property of reactive value 'reactiveValue'. line: 16 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-errors.yaml ================================================ - message: Assignment to reactive value 'reactiveValue'. line: 7 column: 3 suggestions: null - message: Assignment to reactive value 'reactiveValue'. line: 8 column: 3 suggestions: null - message: Assignment to reactive value 'reactiveValue'. line: 16 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/array01-input.svelte ================================================ {JSON.stringify(array1) + JSON.stringify(array2) + JSON.stringify(array3) + JSON.stringify(array4) + JSON.stringify(array5) + JSON.stringify(array6) + JSON.stringify(array7) + JSON.stringify(array8) + JSON.stringify(array9) + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/assign-right01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/destructure01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-in01-input.svelte ================================================ {reactiveValue.key + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-of01-input.svelte ================================================ {reactiveValue[0] + rerender} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/member-key01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/on-dir01-input.svelte ================================================ {reactiveLikeValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like02-input.svelte ================================================ {reactiveLikeValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/test01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/typeof01-input.svelte ================================================ {reactiveValue} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-config.json ================================================ { "options": ["h1", "h2", "h3", "h4", "h5", "h6"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-errors.yaml ================================================ - message: Unexpected use of forbidden HTML element h1. line: 1 column: 1 suggestions: null - message: Unexpected use of forbidden HTML element h2. line: 2 column: 1 suggestions: null - message: Unexpected use of forbidden HTML element h3. line: 3 column: 1 suggestions: null - message: Unexpected use of forbidden HTML element h4. line: 4 column: 1 suggestions: null - message: Unexpected use of forbidden HTML element h5. line: 5 column: 1 suggestions: null - message: Unexpected use of forbidden HTML element h6. line: 6 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-input.svelte ================================================

Main Title - H1

Subtitle - H2

Subsection Title - H3

Sub-Subsection Title - H4

Minor Title - H5
Minor Subtitle - H6
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-config.json ================================================ { "options": [ { "elements": ["h1", "h2", "h3", "h4", "h5", "h6"], "message": "Prefer use of our custom component" }, { "elements": ["marquee"], "message": "Do not use deprecated HTML tags" } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-errors.yaml ================================================ - message: Prefer use of our custom component line: 1 column: 1 suggestions: null - message: Prefer use of our custom component line: 2 column: 1 suggestions: null - message: Prefer use of our custom component line: 3 column: 1 suggestions: null - message: Prefer use of our custom component line: 4 column: 1 suggestions: null - message: Prefer use of our custom component line: 5 column: 1 suggestions: null - message: Prefer use of our custom component line: 6 column: 1 suggestions: null - message: Do not use deprecated HTML tags line: 8 column: 1 suggestions: null - message: Do not use deprecated HTML tags line: 10 column: 1 suggestions: null - message: Do not use deprecated HTML tags line: 12 column: 1 suggestions: null - message: Do not use deprecated HTML tags line: 13 column: 2 suggestions: null - message: Do not use deprecated HTML tags line: 17 column: 2 suggestions: null - message: Prefer use of our custom component line: 21 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-input.svelte ================================================

Main Title - H1

Subtitle - H2

Subsection Title - H3

Sub-Subsection Title - H4

Minor Title - H5
Minor Subtitle - H6
This text will scroll from right to left This text will scroll from bottom to top This text will bounce
This text will scroll from right to left
Minor Subtitle - H6
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-config.json ================================================ { "options": ["h1", "h2", "h3", "h4", "h5", "h6"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-input.svelte ================================================
This is a title
This is a subtitle

This is a paragraph. Some sample text goes here.

  • This is
  • a list item
Table Cell 1 Table Cell 2
Table Cell 3 Table Cell 4
This is a hyperlink to example.com


================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-config.json ================================================ { "options": [ { "elements": ["h1", "h2", "h3", "h4", "h5", "h6"], "message": "Prefer use of our custom component" }, { "elements": ["marquee"], "message": "Do not use deprecated HTML tags" } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-input.svelte ================================================
This is a title
This is a subtitle

This is a paragraph. Some sample text goes here.

  • This is
  • a list item
Table Cell 1 Table Cell 2
Table Cell 3 Table Cell 4
This is a hyperlink to example.com


================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml ================================================ - message: Unexpected shorthand 'background' after 'background-repeat'. line: 8 column: 13 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 8 column: 36 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-input.svelte ================================================
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml ================================================ - message: Unexpected shorthand 'background' after 'background-repeat'. line: 5 column: 45 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 6 column: 45 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 10 column: 5 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 18 column: 5 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 23 column: 46 suggestions: null - message: Unexpected shorthand 'background' after 'background-repeat'. line: 24 column: 46 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-input.svelte ================================================
...
...
...
...
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/empty01-input.svelte ================================================
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/ternary01-input.svelte ================================================
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test01-input.svelte ================================================
...
...
...
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test02-input.svelte ================================================
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml ================================================ - message: Unexpected spaces found around equal signs. line: 3 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 4 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 5 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 6 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 8 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 10 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 11 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 12 column: 11 suggestions: null - message: Unexpected spaces found around equal signs. line: 13 column: 15 suggestions: null - message: Unexpected spaces found around equal signs. line: 13 column: 35 suggestions: null - message: Unexpected spaces found around equal signs. line: 14 column: 17 suggestions: null - message: Unexpected spaces found around equal signs. line: 16 column: 10 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-input.svelte ================================================

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-output.svelte ================================================

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/valid/test-01-input.svelte ================================================

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-errors.yaml ================================================ - message: Do not pass async functions to svelte stores. line: 3 column: 28 suggestions: null - message: Do not pass async functions to svelte stores. line: 6 column: 28 suggestions: null - message: Do not pass async functions to svelte stores. line: 9 column: 24 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-input.js ================================================ import { writable, readable, derived } from 'svelte/store'; const w2 = writable(false, async () => { /** do nothing */ }); const r2 = readable(false, async () => { /** do nothing */ }); const d2 = derived(a1, async ($a1) => { /** do nothing */ }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-errors.yaml ================================================ - message: Do not pass async functions to svelte stores. line: 3 column: 35 suggestions: null - message: Do not pass async functions to svelte stores. line: 6 column: 35 suggestions: null - message: Do not pass async functions to svelte stores. line: 9 column: 31 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-input.js ================================================ import * as stores from 'svelte/store'; const w2 = stores.writable(false, async () => { /** do nothing */ }); const r2 = stores.readable(false, async () => { /** do nothing */ }); const d2 = stores.derived(a1, async ($a1) => { /** do nothing */ }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-errors.yaml ================================================ - message: Do not pass async functions to svelte stores. line: 3 column: 21 suggestions: null - message: Do not pass async functions to svelte stores. line: 6 column: 21 suggestions: null - message: Do not pass async functions to svelte stores. line: 9 column: 18 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-input.js ================================================ import { writable as A, readable as B, derived as C } from 'svelte/store'; const w2 = A(false, async () => { /** do nothing */ }); const r2 = B(false, async () => { /** do nothing */ }); const d2 = C(a1, async ($a1) => { /** do nothing */ }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-errors.yaml ================================================ - message: Do not pass async functions to svelte stores. line: 3 column: 28 suggestions: null - message: Do not pass async functions to svelte stores. line: 6 column: 28 suggestions: null - message: Do not pass async functions to svelte stores. line: 9 column: 24 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-input.js ================================================ import { writable, readable, derived } from 'svelte/store'; const w2 = writable(false, async function () { /** do nothing */ }); const r2 = readable(false, async function () { /** do nothing */ }); const d2 = derived(a1, async function ($a1) { /** do nothing */ }); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/valid/test01-input.js ================================================ import { writable, readable, derived } from 'svelte/store'; const w1 = writable(false, () => { /** do nothing */ }); const w2 = writable(false); const r1 = readable(false, () => { /** do nothing */ }); const r2 = readable(false); const d1 = derived(a1, ($a1) => { /** do nothing */ }); const d2 = derived(a1); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-errors.yaml ================================================ - message: Using svelte/internal is prohibited. This will be removed in Svelte 6. line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/valid/no-svelte-internal01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml ================================================ - message: Using target="_blank" without rel="noopener noreferrer" is a security risk. line: 5 column: 31 suggestions: null - message: Using target="_blank" without rel="noopener noreferrer" is a security risk. line: 6 column: 31 suggestions: null - message: Using target="_blank" without rel="noopener noreferrer" is a security risk. line: 7 column: 16 suggestions: null - message: Using target="_blank" without rel="noopener noreferrer" is a security risk. line: 8 column: 16 suggestions: null - message: Using target="_blank" without rel="noopener noreferrer" is a security risk. line: 9 column: 31 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-input.svelte ================================================ link link link link link ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/_config.json ================================================ { "options": [{ "allowReferrer": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/allow-referrer-test01-input.svelte ================================================ link, ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/_config.json ================================================ { "options": [{ "enforceDynamicLinks": "never" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/enforce-dynamic-links-test01-input.svelte ================================================ link ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/test01-input.svelte ================================================ link link link link link link link link link link link ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env01-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 8 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 13 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env02-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 8 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 13 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env03-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 3 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/env03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards01-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 5 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 10 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 15 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 18 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 23 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 30 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 35 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 38 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 43 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 50 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 55 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards02-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 5 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 10 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 15 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 18 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards03-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 5 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 10 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 15 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 18 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 25 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 28 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 35 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 38 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 42 column: 6 suggestions: null - message: Unexpected top-level browser global variable "location". line: 44 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 46 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 48 column: 6 suggestions: null - message: Unexpected top-level browser global variable "location". line: 50 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 52 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 57 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards04-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 5 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 10 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 15 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards05-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 3 column: 31 suggestions: null - message: Unexpected top-level browser global variable "location". line: 4 column: 25 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards06-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 9 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 13 column: 16 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards07-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 13 column: 15 suggestions: null - message: Unexpected top-level browser global variable "location". line: 17 column: 16 suggestions: null - message: Unexpected top-level browser global variable "location". line: 28 column: 16 suggestions: null - message: Unexpected top-level browser global variable "location". line: 33 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards07-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards08-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 3 column: 21 suggestions: null - message: Unexpected top-level browser global variable "location". line: 3 column: 49 suggestions: null - message: Unexpected top-level browser global variable "location". line: 5 column: 14 suggestions: null - message: Unexpected top-level browser global variable "location". line: 5 column: 37 suggestions: null - message: Unexpected top-level browser global variable "location". line: 7 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/guards08-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/in-template01-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 5 column: 2 suggestions: null - message: Unexpected top-level browser global variable "location". line: 12 column: 3 suggestions: null - message: Unexpected top-level browser global variable "location". line: 18 column: 3 suggestions: null - message: Unexpected top-level browser global variable "location". line: 22 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/in-template01-input.svelte ================================================ {location.href} {#if browser} {location.href} {/if} {#if !browser} {location.href} {/if} {#if browser} {location.href} {:else} {location.href} {/if} {#if !browser} {location.href} {:else} {location.href} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test01-errors.yaml ================================================ - message: Unexpected top-level browser global variable "window". line: 2 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test02-errors.yaml ================================================ - message: Unexpected top-level browser global variable "location". line: 2 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test03-errors.yaml ================================================ - message: Unexpected top-level browser global variable "localStorage". line: 2 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/invalid/test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/complex-guards01-input.svelte ================================================ {#if browser && dev}

{localStorage.getItem('myCat')}
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/complex-guards02-input.svelte ================================================ {#if !browser || !dev}
DEV
{:else}
{localStorage.getItem('myCat')}
{/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/effect01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/env-guards01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/env01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/env02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/env03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards06-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards07-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/guards08-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/in-template01-input.svelte ================================================ {#if browser} {location.href} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/in-template02-input.svelte ================================================ {#snippet f()} {location.href} {/snippet} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/in-template02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/in-template03-input.svelte ================================================ {#if !browser} Server-side. {:else} {location.href} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/on-mount01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/state-generic-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-top-level-browser-globals/valid/ts01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/_config.json ================================================ { "options": [ { "ignoreComments": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-errors.yaml ================================================ - message: Trailing spaces not allowed. line: 5 column: 2 suggestions: null - message: Trailing spaces not allowed. line: 9 column: 6 suggestions: null - message: Trailing spaces not allowed. line: 14 column: 1 suggestions: null - message: Trailing spaces not allowed. line: 23 column: 12 suggestions: null - message: Trailing spaces not allowed. line: 26 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 27 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 30 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 33 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 34 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-input.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-output.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/_config.json ================================================ { "options": [ { "skipBlankLines": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-errors.yaml ================================================ - message: Trailing spaces not allowed. line: 5 column: 2 suggestions: null - message: Trailing spaces not allowed. line: 6 column: 18 suggestions: null - message: Trailing spaces not allowed. line: 7 column: 6 suggestions: null - message: Trailing spaces not allowed. line: 8 column: 19 suggestions: null - message: Trailing spaces not allowed. line: 9 column: 6 suggestions: null - message: Trailing spaces not allowed. line: 11 column: 20 suggestions: null - message: Trailing spaces not allowed. line: 18 column: 5 suggestions: null - message: Trailing spaces not allowed. line: 19 column: 15 suggestions: null - message: Trailing spaces not allowed. line: 23 column: 12 suggestions: null - message: Trailing spaces not allowed. line: 26 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 27 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 30 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 33 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 34 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-input.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-output.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-errors.yaml ================================================ - message: Trailing spaces not allowed. line: 5 column: 2 suggestions: null - message: Trailing spaces not allowed. line: 6 column: 18 suggestions: null - message: Trailing spaces not allowed. line: 7 column: 6 suggestions: null - message: Trailing spaces not allowed. line: 8 column: 19 suggestions: null - message: Trailing spaces not allowed. line: 9 column: 6 suggestions: null - message: Trailing spaces not allowed. line: 11 column: 20 suggestions: null - message: Trailing spaces not allowed. line: 14 column: 1 suggestions: null - message: Trailing spaces not allowed. line: 18 column: 5 suggestions: null - message: Trailing spaces not allowed. line: 19 column: 15 suggestions: null - message: Trailing spaces not allowed. line: 23 column: 12 suggestions: null - message: Trailing spaces not allowed. line: 26 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 27 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 30 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 33 column: 7 suggestions: null - message: Trailing spaces not allowed. line: 34 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-input.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-output.svelte ================================================ Text Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/valid/test01-input.svelte ================================================ Text Text Text ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/_config.json ================================================ { "options": [{ "ignoreProperties": ["foo", "/^bar/"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml ================================================ - message: Unexpected unknown style directive property 'unknown-color'. line: 8 column: 12 suggestions: null - message: Unexpected unknown style directive property 'unknown'. line: 9 column: 12 suggestions: null - message: Unexpected unknown style directive property 'foo-bar'. line: 15 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-input.svelte ================================================
...
...
...
...
...
...
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml ================================================ - message: Unexpected unknown style directive property 'unknown-color'. line: 6 column: 12 suggestions: null - message: Unexpected unknown style directive property 'unknown'. line: 7 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-input.svelte ================================================
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test01-input.svelte ================================================
...
...
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test02-input.svelte ================================================
...
...
...
...
...
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/additional-class-config.json ================================================ { "options": [ { "additionalReactiveClasses": ["CustomReactiveClass1", "CustomReactiveClass2"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/additional-class-errors.yaml ================================================ - message: CustomReactiveClass1 is already reactive, $state wrapping is unnecessary. line: 5 column: 25 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: CustomReactiveClass2 is already reactive, $state wrapping is unnecessary. line: 6 column: 25 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/additional-class-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/allow-reassign-config.json ================================================ { "options": [ { "allowReassign": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/allow-reassign-errors.yaml ================================================ - message: SvelteSet is already reactive, $state wrapping is unnecessary. line: 6 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: SvelteMap is already reactive, $state wrapping is unnecessary. line: 7 column: 19 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/allow-reassign-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/basic-errors.yaml ================================================ - message: SvelteSet is already reactive, $state wrapping is unnecessary. line: 12 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: SvelteMap is already reactive, $state wrapping is unnecessary. line: 13 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: SvelteURL is already reactive, $state wrapping is unnecessary. line: 14 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: SvelteURLSearchParams is already reactive, $state wrapping is unnecessary. line: 15 column: 24 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: SvelteDate is already reactive, $state wrapping is unnecessary. line: 16 column: 22 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | - message: MediaQuery is already reactive, $state wrapping is unnecessary. line: 17 column: 28 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/basic-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/import-alias-errors.yaml ================================================ - message: SvelteSet is already reactive, $state wrapping is unnecessary. line: 5 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: > - message: SvelteMap is already reactive, $state wrapping is unnecessary. line: 6 column: 21 suggestions: - desc: Remove unnecessary $state wrapping messageId: suggestRemoveStateWrap output: > ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/invalid/import-alias-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/additional-class-config.json ================================================ { "options": [ { "additionalReactiveClasses": ["CustomReactiveClass1", "CustomReactiveClass2"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/additional-class-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-bind1-config.json ================================================ { "options": [ { "allowReassign": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-bind1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-bind2-config.json ================================================ { "options": [ { "allowReassign": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-bind2-input.svelte ================================================ svelteSet, (v) => (svelteSet = v)} /> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-config.json ================================================ { "options": [ { "allowReassign": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/allow-reassign-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unnecessary-state-wrap/valid/basic-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/_config.json ================================================ { "options": [{ "allowedClassNames": ["div-class", "/^p-\\d{1,2}$/"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-errors.yaml ================================================ - message: Unused class "span-class". line: 3 column: 1 suggestions: null - message: Unused class "p-100". line: 5 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-input.svelte ================================================
Hello
World! Regex! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-errors.yaml ================================================ - message: Unused class "first". line: 1 column: 1 suggestions: null - message: Unused class "second". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/duplicated-class-name-errors.yaml ================================================ - message: Unused class "div-class". line: 1 column: 1 suggestions: null - message: Unused class "div-class". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/duplicated-class-name-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-errors.yaml ================================================ - message: Unused class "div-class-two". line: 2 column: 1 suggestions: null - message: Unused class "span-class-two". line: 4 column: 1 suggestions: null - message: Unused class "span-class-three". line: 4 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-errors.yaml ================================================ - message: Unused class "div-class-two". line: 1 column: 1 suggestions: null - message: Unused class "span-class-two". line: 3 column: 1 suggestions: null - message: Unused class "span-class-three". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-errors.yaml ================================================ - message: Unused class "div-class". line: 1 column: 1 suggestions: null - message: Unused class "span-class". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-errors.yaml ================================================ - message: Unused class "div-class". line: 1 column: 1 suggestions: null - message: Unused class "span-class". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-errors.yaml ================================================ - message: Unused class "div-class". line: 1 column: 1 suggestions: null - message: Unused class "span-class". line: 3 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/adjacent-sibling-combinator01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/_config.json ================================================ { "options": [{ "allowedClassNames": ["div-class", "span-class", "/^p-\\d{1,2}$/"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/allowed-class-name01-input.svelte ================================================
Hello
World! Regex! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/child-combinator01-input.svelte ================================================
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/descendant-combinator01-input.svelte ================================================
Hello
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/general-sibling-combinator01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte ================================================
Hello
World!
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/multiple-class-names01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/no-class-name01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-classes01-input.svelte ================================================
Hello
World ! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-elements01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/scss-class-name01-input.svelte ================================================
Hello
World!
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/selector-list01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/test-input.js ================================================ console.log('a'); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte ================================================
Hello
World!
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/used-class-name01-input.svelte ================================================
Hello
World! ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/alias-errors.yaml ================================================ - message: "'test' is an unused Props property." line: 7 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/alias-input.svelte ================================================ {foo} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/builtin-shadow-unused-errors.yaml ================================================ - message: "'toString' is an unused Props property." line: 5 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/builtin-shadow-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/builtin-types-unused-errors.yaml ================================================ - message: "'regexp' is an unused Props property." line: 10 column: 8 suggestions: null - message: "'promise' is an unused Props property." line: 10 column: 8 suggestions: null - message: "'map' is an unused Props property." line: 10 column: 8 suggestions: null - message: "'set' is an unused Props property." line: 10 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/builtin-types-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/class-props-unused-errors.yaml ================================================ - message: "'data' is an unused Props property." line: 16 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/class-props-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/custom-config-combination-config.json ================================================ { "options": [ { "checkImportedTypes": true, "ignoreTypePatterns": ["BaseProps"], "ignorePropertyPatterns": ["/^(_|baz)/"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/custom-config-combination-errors.yaml ================================================ - message: "'base' is an unused Props property." line: 10 column: 6 suggestions: null - message: "'bar' in 'my_foo' is an unused property." line: 10 column: 6 suggestions: null - message: "'qux' is an unused Props property." line: 10 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/custom-config-combination-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/extends-unused-errors.yaml ================================================ - message: "'role' is an unused Props property." line: 13 column: 6 suggestions: null - message: "'email' is an unused Props property." line: 13 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/extends-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/generic-props-unused-errors.yaml ================================================ - message: "'extra' is an unused Props property." line: 6 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/generic-props-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignore-external-type-errors.yaml ================================================ - message: "'child2' is an unused Props property." line: 9 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignore-external-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignore-property-patterns-custom-config.json ================================================ { "options": [ { "ignorePropertyPatterns": ["^foo$"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignore-property-patterns-custom-errors.yaml ================================================ - message: "'foo' is an unused Props property." line: 8 column: 8 suggestions: null - message: "'_foo' is an unused Props property." line: 8 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignore-property-patterns-custom-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignored-type-patterns-custom-config.json ================================================ { "options": [ { "ignoreTypePatterns": [".*DTO$"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignored-type-patterns-custom-errors.yaml ================================================ - message: "'metadata' is an unused Props property." line: 12 column: 8 suggestions: null - message: "'description' is an unused Props property." line: 12 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/ignored-type-patterns-custom-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/imported-type-check-config.json ================================================ { "options": [ { "checkImportedTypes": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/imported-type-check-errors.yaml ================================================ - message: "'name' is an unused Props property." line: 6 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/imported-type-check-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/imported-type-unused-errors.yaml ================================================ - message: "'role' is an unused Props property." line: 6 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/imported-type-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/index-signature-no-rest-errors.yaml ================================================ - message: "'role' is an unused Props property." line: 8 column: 6 suggestions: null - message: Index signature is unused. Consider using rest operator (...) to capture remaining properties. line: 8 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/index-signature-no-rest-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/intersection-unused-errors.yaml ================================================ - message: "'version' is an unused Props property." line: 17 column: 8 suggestions: null - message: "'updatedAt' is an unused Props property." line: 17 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/intersection-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/multiple-extends-unused-errors.yaml ================================================ - message: "'email' is an unused Props property." line: 17 column: 6 suggestions: null - message: "'permissions' is an unused Props property." line: 17 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/multiple-extends-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/nested-unused-errors.yaml ================================================ - message: "'location' in 'user' is an unused property." line: 8 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/nested-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/optional-unused-errors.yaml ================================================ - message: "'optionalCallback' is an unused Props property." line: 9 column: 8 suggestions: null - message: "'optionalData' is an unused Props property." line: 9 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/optional-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/parent-interface-unused-errors.yaml ================================================ - message: "'id' is an unused Props property." line: 11 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/parent-interface-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/shared-types.ts ================================================ export interface BaseProps { name: string; } export interface FooDTO { foo: string; bar: number; baz: BazDTO; } interface BazDTO { qux: string; quux: number; } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/simple-unused-errors.yaml ================================================ - message: "'age' is an unused Props property." line: 6 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/simple-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/unused-index-signature-errors.yaml ================================================ - message: Index signature is unused. Consider using rest operator (...) to capture remaining properties. line: 7 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/invalid/unused-index-signature-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/alias-input.svelte ================================================

{test}

svelte/no-unused-props does not always respect aliases
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/any-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/assignment-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/basic-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/bindable-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/builtin-types-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/component-props-any-input.svelte ================================================

{a}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/computed-member-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/computed-property-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/conditional-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/custom-config-combination-config.json ================================================ { "options": [ { "checkImportedTypes": true, "ignoreTypePatterns": ["BaseProps"], "ignorePropertyPatterns": ["/^(_|baz)/"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/custom-config-combination-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/default-value-input.svelte ================================================
{newTaskAttributes.attribute} {newTaskAttributes.attribute2}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/extends-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/function-props-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignore-external-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignore-property-patterns-custom-config.json ================================================ { "options": [ { "ignorePropertyPatterns": ["/^[#$@_~]/"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignore-property-patterns-custom-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignore-property-patterns-default-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignored-type-patterns-custom-config.json ================================================ { "options": [ { "ignoreTypePatterns": ["/^Conditional/"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignored-type-patterns-custom-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignored-type-patterns-custom2-config.json ================================================ { "options": [ { "ignoreTypePatterns": ["/^Internal/"] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ignored-type-patterns-custom2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/imported-type-config.json ================================================ { "options": [ { "checkImportedTypes": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/imported-type-default-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/imported-type-explicit-config.json ================================================ { "options": [ { "checkImportedTypes": false } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/imported-type-explicit-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/imported-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/index-signature-rest-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/intersection-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/js-basic-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/js-jsdoc-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/js-no-types-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/member-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/module-script-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/multiple-index-signatures-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-props-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-props2-input.svelte ================================================ Test ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-props3-input.svelte ================================================ Test ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-props4-input.svelte ================================================ Test Test ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-unused-config.json ================================================ { "options": [ { "allowUnusedNestedProperties": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-unused2-config.json ================================================ { "options": [ { "allowUnusedNestedProperties": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/nested-unused2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/new-expression-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/optional-props-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/record-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/recursive-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/rename-unused-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/rest-and-index-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/rest-with-index-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/shared-types.ts ================================================ export interface BaseProps { name: string; age: number; } export interface FooDTO { foo: string; bar: number; baz: BazDTO; } interface BazDTO { qux: string; quux: number; } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested3-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested4-config.json ================================================ { "options": [ { "allowUnusedNestedProperties": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-nested5-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-root1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-root2-config.json ================================================ { "options": [ { "allowUnusedNestedProperties": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-root2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/spread-root3-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/template-usage-input.svelte ================================================

{props.title}

{props.description}

    {#each props.items as item}
  • {item}
  • {/each}
================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/ts-basic-input.svelte ================================================

{myObjectProp.value} {myObjectProp.value2}

================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/typed-props-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/union-type-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-props/valid/used-index-signature-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 1 column: 20 suggestions: null - message: svelte-ignore comment is used, but not warned line: 1 column: 35 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 35 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte ================================================ Foo Foo ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 1 column: 20 suggestions: null - message: svelte-ignore comment is used, but not warned line: 1 column: 35 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 35 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-input.svelte ================================================ Foo Foo ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 4 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte ================================================
{#if true} A {:else}
    {/if}
    ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 4 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-input.svelte ================================================
    {#if true} A {:else}
      {/if}
      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 4 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte ================================================
      {#each [] as e} A {:else}
        {/each}
        ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 4 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 4 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-input.svelte ================================================
        {#each [] as e} A {:else}
          {/each}
          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 3 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 3 column: 56 suggestions: null - message: svelte-ignore comment is used, but not warned line: 7 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 7 column: 56 suggestions: null - message: svelte-ignore comment is used, but not warned line: 15 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 15 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte ================================================
          {#await Promise.resolve(42)} {:then name}
            {:catch name}
              {/await}
              {#await Promise.resolve(42)} {:then name}
                {/await}
                ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 3 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 3 column: 56 suggestions: null - message: svelte-ignore comment is used, but not warned line: 7 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 7 column: 56 suggestions: null - message: svelte-ignore comment is used, but not warned line: 15 column: 22 suggestions: null - message: svelte-ignore comment is used, but not warned line: 15 column: 56 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-input.svelte ================================================
                {#await Promise.resolve(42)} {:then name}
                  {:catch name}
                    {/await}
                    {#await Promise.resolve(42)} {:then name}
                      {/await}
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml ================================================ - message: svelte-ignore comment must include the code line: 1 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-input.svelte ================================================ Foo ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 4 column: 19 suggestions: null - message: svelte-ignore comment is used, but not warned line: 7 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 3 column: 19 suggestions: null - message: svelte-ignore comment is used, but not warned line: 5 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-input.svelte ================================================ {used} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 12 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 5 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 9 column: 20 suggestions: null - message: svelte-ignore comment is used, but not warned line: 9 column: 35 suggestions: null - message: svelte-ignore comment is used, but not warned line: 16 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte ================================================ Foo
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-errors.yaml ================================================ - message: svelte-ignore comment is used, but not warned line: 9 column: 20 suggestions: null - message: svelte-ignore comment is used, but not warned line: 9 column: 35 suggestions: null - message: svelte-ignore comment is used, but not warned line: 16 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-input.svelte ================================================ Foo
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ignore-js-input.js ================================================ // // Foo /* svelte-ignore a11y-autofocus a11y-missing-attribute */ // ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/kebab-ignore-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/reactive-component-input.svelte ================================================ {#if MyComponent} {/if} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/reactive-component-requirements.json ================================================ { "svelte": "^4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-requirements.json ================================================ { "FIXME": "It seems that unused selectors are not checked yet in Svelte v5.", "svelte": "^4 || ^3" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang07-input.svelte ================================================
                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore-comma-separated-input.svelte ================================================
                        ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore-comma-separated-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore-note-input.svelte ================================================
                          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore-note-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte ================================================
                            ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-svelte4-input.svelte ================================================
                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte ================================================ TEXT
                                ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-svelte4-input.svelte ================================================ TEXT
                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte ================================================
                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-svelte4-input.svelte ================================================
                                          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte ================================================
                                          {#if true}
                                            {/if}
                                            {#if true} A {:else}
                                              {/if}
                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-svelte4-input.svelte ================================================
                                              {#if true}
                                                {/if}
                                                {#if true} A {:else}
                                                  {/if}
                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte ================================================
                                                  {#key 42}
                                                    {/key}
                                                    ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-svelte4-input.svelte ================================================
                                                    {#key 42}
                                                      {/key}
                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte ================================================
                                                      {#each [] as e}
                                                        {/each}
                                                        {#each [] as e} A {:else}
                                                          {/each}
                                                          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-svelte4-input.svelte ================================================
                                                          {#each [] as e}
                                                            {/each}
                                                            {#each [] as e} A {:else}
                                                              {/each}
                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte ================================================
                                                              {#await Promise.resolve(42)}
                                                                {/await}
                                                                {#await Promise.resolve(42)}
                                                                  {:then name}
                                                                    {:catch name}
                                                                      {/await}
                                                                      {#await Promise.resolve(42)}
                                                                        {:then name}
                                                                          {/await}
                                                                          {#await Promise.resolve(42) then n}
                                                                            {/await}
                                                                            {#await Promise.resolve(42) catch n}
                                                                              {/await}
                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-svelte4-input.svelte ================================================
                                                                              {#await Promise.resolve(42)}
                                                                                {/await}
                                                                                {#await Promise.resolve(42)}
                                                                                  {:then name}
                                                                                    {:catch name}
                                                                                      {/await}
                                                                                      {#await Promise.resolve(42)}
                                                                                        {:then name}
                                                                                          {/await}
                                                                                          {#await Promise.resolve(42) then n}
                                                                                            {/await}
                                                                                            {#await Promise.resolve(42) catch n}
                                                                                              {/await}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/invalid/children-snippet01-errors.yaml ================================================ - message: Found an unnecessary children snippet. line: 2 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/invalid/children-snippet01-input.svelte ================================================ {#snippet children()} Hello {/snippet} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/valid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/valid/implicit-snippet01-input.svelte ================================================ Hello ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/valid/named-snippet01-input.svelte ================================================ {#snippet bar()} Hello {/snippet} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/valid/snippet-with-params01-input.svelte ================================================ {#snippet children(val)} Hello {val} {/snippet} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-children-snippet/valid/standalone-snippet01-input.svelte ================================================ {#snippet children()} Hello {/snippet} {@render children()} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 13 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 39 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 1 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 4 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 4 column: 24 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 7 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 8 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-input.svelte ================================================ {'\n'} {'\r'}
                                                                                              {'\\\\'} {'\\r'} {'\\'} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-output.svelte ================================================ {'\n'} {'\r'}
                                                                                              \\ \r \ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 1 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 3 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 4 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 28 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 39 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 51 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-input.svelte ================================================ {'space '} {' space'} {' space '} {' '}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-output.svelte ================================================ {'space '} {' space'} {' space '} {' '}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 1 column: 16 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 16 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 3 column: 18 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 5 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 16 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-input.svelte ================================================
                                                                                              "'} /> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test02-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 4 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 6 column: 17 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 8 column: 17 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test02-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test02-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 1 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 2 column: 1 suggestions: null - message: Unexpected mustache interpolation with a string literal value. line: 4 column: 17 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-input.svelte ================================================ {'foo'} {`foo`}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-output.svelte ================================================ foo foo
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml ================================================ - message: Unexpected mustache interpolation with a string literal value. line: 1 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-input.svelte ================================================ {'
                                                                                              '} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-output.svelte ================================================ <br> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/_config.json ================================================ { "options": [{ "ignoreIncludesComment": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/comments01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/_config.json ================================================ { "options": [{ "ignoreStringEscape": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/escape-test01-input.svelte ================================================ {'\n'} {'\r'}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/valid-test01-input.svelte ================================================ foo 'foo' {foo} {'foo' || 'bar'} {1} {null} {`foo${foo}`} {'{foo'}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/valid-test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/_config.json ================================================ { "options": [{ "prefer": "always" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 6 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 7 column: 18 suggestions: null - message: Unexpected class using the ternary operator. line: 8 column: 17 suggestions: null - message: Unexpected class using the ternary operator. line: 10 column: 20 suggestions: null - message: Unexpected class using the ternary operator. line: 11 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-input.svelte ================================================
                                                                                              foo
                                                                                              foo
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-output.svelte ================================================
                                                                                              1}>foo
                                                                                              foo
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 5 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 7 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 9 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 6 column: 41 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 5 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 6 column: 18 suggestions: null - message: Unexpected class using the ternary operator. line: 7 column: 17 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 8 column: 44 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 7 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 8 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 9 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 10 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 11 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 8 column: 15 suggestions: null - message: Unexpected class using the ternary operator. line: 9 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 6 column: 16 suggestions: null - message: Unexpected class using the ternary operator. line: 6 column: 41 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml ================================================ - message: Unexpected class using the ternary operator. line: 6 column: 15 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/_config.json ================================================ { "options": [{ "prefer": "always" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/_config.json ================================================ { "options": [{ "prefer": "empty" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/ignore-test05-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-component01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-svelte-self01-input.svelte ================================================
                                                                                              {#if foo > 0.5} {/if}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test03-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test04-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/simple-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option1/_config.json ================================================ { "options": [{ "excludedRunes": [] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option1/test01-errors.yaml ================================================ - message: "'prop1' is never reassigned. Use 'const' instead." line: 2 column: 8 suggestions: null - message: "'prop2' is never reassigned. Use 'const' instead." line: 2 column: 15 suggestions: null - message: "'zero' is never reassigned. Use 'const' instead." line: 3 column: 6 suggestions: null - message: "'derived' is never reassigned. Use 'const' instead." line: 4 column: 6 suggestions: null - message: "'derivedBy' is never reassigned. Use 'const' instead." line: 5 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option1/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option1/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option2/_config.json ================================================ { "options": [{ "excludedRunes": ["$state"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option2/test01-errors.yaml ================================================ - message: "'prop1' is never reassigned. Use 'const' instead." line: 2 column: 8 suggestions: null - message: "'prop2' is never reassigned. Use 'const' instead." line: 2 column: 15 suggestions: null - message: "'derived' is never reassigned. Use 'const' instead." line: 4 column: 6 suggestions: null - message: "'derivedBy' is never reassigned. Use 'const' instead." line: 5 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option2/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/option2/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/test01-errors.yaml ================================================ - message: "'zero' is never reassigned. Use 'const' instead." line: 3 column: 6 suggestions: null - message: "'state' is never reassigned. Use 'const' instead." line: 4 column: 6 suggestions: null - message: "'raw' is never reassigned. Use 'const' instead." line: 5 column: 6 suggestions: null - message: "'doubled' is never reassigned. Use 'const' instead." line: 6 column: 6 suggestions: null - message: "'calculated' is never reassigned. Use 'const' instead." line: 8 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/invalid/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/1238/_config.json ================================================ { "options": [ { "destructuring": "all", "additionalProperties": true } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/1238/input.svelte ================================================ 123 ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/option1/_config.json ================================================ { "options": [{ "excludedRunes": [] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/option1/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/option2/_config.json ================================================ { "options": [{ "excludedRunes": ["$props", "$derived", "$state"] }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/option2/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-errors.yaml ================================================ - message: Destructure $foo from $store for better change tracking & fewer redraws line: 5 column: 8 suggestions: - desc: "Using destructuring like $: ({ $foo } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {foo} bar: {$store.bar} baz: {$store.baz} var: {$store.var} null: {$store.null} undefined: {$store.undefined} - message: Destructure bar from $store for better change tracking & fewer redraws line: 6 column: 7 suggestions: - desc: "Using destructuring like $: ({ bar } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {$store.$foo} bar: {bar} baz: {$store.baz} var: {$store.var} null: {$store.null} undefined: {$store.undefined} - message: Destructure baz from $store for better change tracking & fewer redraws line: 7 column: 7 suggestions: - desc: "Using destructuring like $: ({ baz } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {$store.$foo} bar: {$store.bar} baz: {baz} var: {$store.var} null: {$store.null} undefined: {$store.undefined} - message: Destructure var from $store for better change tracking & fewer redraws line: 8 column: 7 suggestions: - desc: "Using destructuring like $: ({ var } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {$store.$foo} bar: {$store.bar} baz: {$store.baz} var: {var1} null: {$store.null} undefined: {$store.undefined} - message: Destructure null from $store for better change tracking & fewer redraws line: 9 column: 8 suggestions: - desc: "Using destructuring like $: ({ null } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {$store.$foo} bar: {$store.bar} baz: {$store.baz} var: {$store.var} null: {null1} undefined: {$store.undefined} - message: Destructure undefined from $store for better change tracking & fewer redraws line: 10 column: 13 suggestions: - desc: "Using destructuring like $: ({ undefined } = $store); will run faster" messageId: fixUseDestructuring output: | $foo: {$store.$foo} bar: {$store.bar} baz: {$store.baz} var: {$store.var} null: {$store.null} undefined: {undefined1} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-input.svelte ================================================ $foo: {$store.$foo} bar: {$store.bar} baz: {$store.baz} var: {$store.var} null: {$store.null} undefined: {$store.undefined} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-errors.yaml ================================================ - message: Destructure foo from $store for better change tracking & fewer redraws line: 5 column: 11 suggestions: - desc: "Using destructuring like $: ({ foo } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} - message: Destructure foo from $store for better change tracking & fewer redraws line: 6 column: 11 suggestions: - desc: "Using destructuring like $: ({ foo } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {$store.foo.bar} foo.baz: {foo.baz} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-input.svelte ================================================ foo.bar: {$store.foo.bar} foo.baz: {$store.foo.baz} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-errors.yaml ================================================ - message: Destructure foo from $store for better change tracking & fewer redraws line: 8 column: 11 suggestions: - desc: Using the predefined reactive variable foo messageId: fixUseVariable output: | foo.bar: {foo.bar} foo.baz: {foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - desc: "Using destructuring like $: ({ foo } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {foo1.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - message: Destructure bar from $store for better change tracking & fewer redraws line: 11 column: 11 suggestions: - desc: Using the predefined reactive variable b messageId: fixUseVariable output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {b.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - desc: "Using destructuring like $: ({ bar } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - message: Destructure baz from $store for better change tracking & fewer redraws line: 14 column: 11 suggestions: - desc: Using the predefined reactive variable bbb messageId: fixUseVariable output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {bbb.bar} - desc: "Using destructuring like $: ({ baz } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {baz.bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-input.svelte ================================================ foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-errors.yaml ================================================ - message: Destructure foo from $store for better change tracking & fewer redraws line: 9 column: 11 suggestions: - desc: "Using destructuring like $: ({ foo } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {foo1.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - message: Destructure bar from $store for better change tracking & fewer redraws line: 12 column: 11 suggestions: - desc: "Using destructuring like $: ({ bar } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} - message: Destructure baz from $store for better change tracking & fewer redraws line: 15 column: 11 suggestions: - desc: "Using destructuring like $: ({ baz } = $store); will run faster" messageId: fixUseDestructuring output: | foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {baz.bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-input.svelte ================================================ foo.bar: {foo.bar} foo.baz: {$store.foo.baz} bar.foo: {b.foo} bar.baz: {$store.bar.baz} baz.foo: {bbb.foo} baz.bar: {$store.baz.bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-errors.yaml ================================================ - message: Destructure bar from $foo for better change tracking & fewer redraws line: 4 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-input.svelte ================================================ {$foo.bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/runes-with-store01-errors.yaml ================================================ - message: Destructure foo from $store for better change tracking & fewer redraws line: 10 column: 18 suggestions: - desc: 'Using destructuring like $: ({ foo } = $store); will run faster' messageId: fixUseDestructuring output: |

                                                                                              Count: {count}

                                                                                              Doubled: {doubled}

                                                                                              Store value: {foo}

                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/runes-with-store01-input.svelte ================================================

                                                                                              Count: {count}

                                                                                              Doubled: {doubled}

                                                                                              Store value: {$store.foo}

                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/runes-with-store01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-errors.yaml ================================================ - message: Destructure bar from $foo for better change tracking & fewer redraws line: 4 column: 2 suggestions: - desc: "Using destructuring like $: ({ bar } = $foo); will run faster" messageId: fixUseDestructuring output: | {bar} {$foo[baz]} {$foo['qux']} - message: Destructure baz from $foo for better change tracking & fewer redraws line: 6 column: 2 suggestions: null - message: Destructure 'qux' from $foo for better change tracking & fewer redraws line: 9 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-input.svelte ================================================ {$foo.bar} {$foo[baz]} {$foo['qux']} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-errors.yaml ================================================ - message: Destructure bar from $foo for better change tracking & fewer redraws line: 1 column: 2 suggestions: null - message: Destructure bar from $foo for better change tracking & fewer redraws line: 3 column: 2 suggestions: null - message: Destructure 'bar' from $foo for better change tracking & fewer redraws line: 6 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-input.svelte ================================================ {$foo.bar} {$foo[bar]} {$foo['bar']} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-errors.yaml ================================================ - message: Destructure baz from $store for better change tracking & fewer redraws line: 18 column: 8 suggestions: - desc: "Using destructuring like $: ({ baz } = $store); will run faster" messageId: fixUseDestructuring output: |
                                                                                              foo: {`${foo} ${Date.now()}`}
                                                                                              bar: {`${bar} ${Date.now()}`}
                                                                                              baz: {baz}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-input.svelte ================================================
                                                                                              foo: {`${foo} ${Date.now()}`}
                                                                                              bar: {`${bar} ${Date.now()}`}
                                                                                              baz: {$store.baz}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars01-input.svelte ================================================
                                                                                              {#if $$slots.description}
                                                                                              {/if}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/runes01-input.svelte.js ================================================ export class Test { a = $state(0); b = $derived.by(() => this.a * 2); output() { console.log(this.a, this.b); } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/runes01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/script-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/test01-input.svelte ================================================ {foo$.bar} {f$oo.bar} {#each list as baz} {$foo[`bar${baz}`]} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml ================================================ - message: Can use style directives instead. line: 1 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-output.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml ================================================ - message: Can use style directives instead. line: 5 column: 42 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml ================================================ - message: Can use style directives instead. line: 3 column: 5 suggestions: null - message: Can use style directives instead. line: 4 column: 6 suggestions: null - message: Can use style directives instead. line: 5 column: 6 suggestions: null - message: Can use style directives instead. line: 9 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml ================================================ - message: Can use style directives instead. line: 3 column: 5 suggestions: null - message: Can use style directives instead. line: 4 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml ================================================ - message: Can use style directives instead. line: 3 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml ================================================ - message: Can use style directives instead. line: 1 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-output.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml ================================================ - message: Can use style directives instead. line: 10 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-output.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml ================================================ - message: Can use style directives instead. line: 1 column: 13 suggestions: null - message: Can use style directives instead. line: 1 column: 27 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-output.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml ================================================ - message: Can use style directives instead. line: 1 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-output.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-errors.yaml ================================================ - message: Can use style directives instead. line: 1 column: 13 suggestions: null - message: Can use style directives instead. line: 1 column: 28 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-input.svelte ================================================
                                                                                              foo
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-output.svelte ================================================
                                                                                              foo
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/empty01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-component01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-svelte-self01-input.svelte ================================================
                                                                                              {#if foo > 0.5} {/if}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/invalid-style01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setDate01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setDate01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setFullYear03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours04-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setHours04-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMilliseconds01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMilliseconds01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMinutes03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMonth01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMonth01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMonth02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setMonth02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setSeconds01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setSeconds01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setSeconds02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setSeconds02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setTime01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setTime01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCDate01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCDate01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCFullYear03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours04-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCHours04-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMilliseconds01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMilliseconds01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMinutes03-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMonth01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMonth01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMonth02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCMonth02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCSeconds01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCSeconds01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCSeconds02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setUTCSeconds02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setYear01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/date/setYear01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 1 column: 19 suggestions: null - message: Found a mutable instance of the built-in Map class. Use SvelteMap instead. line: 2 column: 19 suggestions: null - message: Found a mutable instance of the built-in Set class. Use SvelteSet instead. line: 3 column: 19 suggestions: null - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 4 column: 19 suggestions: null - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 5 column: 19 suggestions: null - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 6 column: 19 suggestions: null - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 10 column: 26 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports01-input.svelte.js ================================================ const variable1 = new Date(8.64e15); const variable2 = new Map([[1, "one"], [2, "two"]]); const variable3 = new Set([1, 2, 1, 3, 3]); const variable4 = new URLSearchParams("foo=1&bar=2"); const variable5 = new URL("https://svelte.dev/"); const variable6 = new Date(8.64e15); export {variable1, variable2, variable3, variable4, variable5, variable6 as var}; export const variable7 = new Date(8.64e15); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports02-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 1 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports02-input.svelte.js ================================================ const variable1 = new Date(8.64e15); export default variable1; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports03-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 1 column: 16 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports03-input.svelte.js ================================================ export default new Date(8.64e15); ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports04-errors.yaml ================================================ - message: Found a mutable instance of the built-in Date class. Use SvelteDate instead. line: 1 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/exports04-input.svelte.js ================================================ const variable1 = new Date(8.64e15); export { variable1 as default }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/clear01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Map class. Use SvelteMap instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/clear01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/delete01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Map class. Use SvelteMap instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/delete01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/set01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Map class. Use SvelteMap instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/map/set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/add01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Set class. Use SvelteSet instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/add01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/clear01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Set class. Use SvelteSet instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/clear01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/delete01-errors.yaml ================================================ - message: Found a mutable instance of the built-in Set class. Use SvelteSet instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/set/delete01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/hash01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/hash01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/host01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/host01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/hostname01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/hostname01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/href01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/href01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/password01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/password01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/pathname01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/pathname01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/port01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/port01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/protocol01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/protocol01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/search01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/search01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/username01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URL class. Use SvelteURL instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url/username01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/append01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/append01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/delete01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/delete01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/delete02-errors.yaml ================================================ - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/delete02-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/set01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/sort01-errors.yaml ================================================ - message: Found a mutable instance of the built-in URLSearchParams class. Use SvelteURLSearchParams instead. line: 2 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/invalid/url-search-params/sort01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/aliased-date01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/aliased-map01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/aliased-set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/aliased-url-search-params01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/aliased-url01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/date01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/map01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/svelte-date01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/svelte-map01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/svelte-set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/svelte-url-search-params01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/svelte-url01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/unrelated-date01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/unrelated-map01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/unrelated-set01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/unrelated-url-search-params01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/unrelated-url01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/url-search-params01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-svelte-reactivity/valid/url01-input.svelte ================================================ {variable} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/basic1-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/basic1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/basic2-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/basic2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/effect-pre1-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/effect-pre1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/effect-pre2-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/effect-pre2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign1-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign2-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | { newAlbumName = value; }} /> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign2-input.svelte ================================================ { newAlbumName = value; }} /> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign3-errors.yaml ================================================ - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | - message: Prefer using writable $derived instead of $state and $effect line: 4 column: 6 suggestions: - desc: Rewrite $state and $effect to $derived messageId: suggestRewrite output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/invalid/multiple-reassign3-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/valid/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/valid/condition1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-writable-derived/valid/condition2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-errors.yaml ================================================ - message: Each block should have a key line: 19 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-input.svelte ================================================ {#each things as thing} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/valid/keyed-each-block01-input.svelte ================================================ {#each things as thing (thing.id)} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/valid/svelte5/_requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/valid/svelte5/each-blocks-without-an-item-input.svelte ================================================
                                                                                              {#each { length: 8 }, rank} {#each { length: 8 }} {rank} {/each} {/each}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/_requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-errors.yaml ================================================ - message: Type parameters missing for the `createEventDispatcher` function call. line: 4 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-errors.yaml ================================================ - message: Type parameters missing for the `createEventDispatcher` function call. line: 4 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/_requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/has-types01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/no-typescript01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/non-svelte-dispatcher01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/_config.json ================================================ { "options": [{ "checkAsyncFunctions": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/async-arrow01-errors.yaml ================================================ - message: Component event name must start with "on". line: 3 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/async-arrow01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/async01-errors.yaml ================================================ - message: Component event name must start with "on". line: 3 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/checkAsyncFunctions/async01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix-arrow01-errors.yaml ================================================ - message: Component event name must start with "on". line: 3 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix-arrow01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix-inline-type01-errors.yaml ================================================ - message: Component event name must start with "on". line: 2 column: 21 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix-inline-type01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix01-errors.yaml ================================================ - message: Component event name must start with "on". line: 3 column: 5 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/invalid/no-prefix01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/valid/_requirements.json ================================================ { "svelte": ">=5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/valid/any01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/valid/async01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/valid/non-function01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-prefix/valid/with-prefix01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml ================================================ - message: It cannot be optimized because contains comments. line: 5 column: 30 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml ================================================ - message: It cannot be optimized because property of style declaration contain interpolation. line: 6 column: 30 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml ================================================ - message: It cannot be optimized because too complex. line: 12 column: 12 suggestions: null - message: It cannot be optimized because too complex. line: 15 column: 46 suggestions: null - message: It cannot be optimized because contains comments. line: 18 column: 30 suggestions: null - message: It cannot be optimized because property of style declaration contain interpolation. line: 19 column: 30 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/empty01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/test01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-errors.yaml ================================================ - message: Store callbacks must use `set` param. line: 4 column: 18 suggestions: - desc: Add a `set` parameter. messageId: addParam output: | - message: Store callbacks must use `set` param. line: 5 column: 18 suggestions: - desc: Rename parameter from foo to `set`. messageId: updateParam output: | - message: Store callbacks must use `set` param. line: 7 column: 18 suggestions: - desc: Add a `set` parameter. messageId: addParam output: | - message: Store callbacks must use `set` param. line: 8 column: 18 suggestions: - desc: Rename parameter from foo to `set`. messageId: updateParam output: | - message: Store callbacks must use `set` param. line: 10 column: 18 suggestions: - desc: Rename parameter from foo to `set`. messageId: updateParam output: | - message: Store callbacks must use `set` param. line: 21 column: 18 suggestions: null - message: Store callbacks must use `set` param. line: 27 column: 19 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-errors.yaml ================================================ - message: Store callbacks must use `set` param. line: 4 column: 18 suggestions: - desc: Add a `set` parameter. messageId: addParam output: | - message: Store callbacks must use `set` param. line: 5 column: 18 suggestions: - desc: Rename parameter from foo to `set`. messageId: updateParam output: | - message: Store callbacks must use `set` param. line: 7 column: 18 suggestions: - desc: Add a `set` parameter. messageId: addParam output: | - message: Store callbacks must use `set` param. line: 8 column: 18 suggestions: - desc: Rename parameter from foo to `set`. messageId: updateParam output: | ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 7 column: 19 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 8 column: 12 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 9 column: 7 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 10 column: 10 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 11 column: 17 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 12 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 7 column: 30 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 7 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 8 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 9 column: 16 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 10 column: 16 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 13 column: 15 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 15 column: 15 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 17 column: 15 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 19 column: 15 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 20 column: 21 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 25 column: 2 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 26 column: 9 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 30 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 31 column: 19 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 36 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 37 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 38 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 39 column: 14 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 43 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 5 column: 11 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 6 column: 11 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 5 column: 26 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 6 column: 16 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 6 column: 32 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-errors.yaml ================================================ - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 11 column: 19 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 12 column: 19 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 13 column: 12 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 14 column: 10 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 15 column: 17 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 16 column: 9 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 17 column: 10 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 19 column: 15 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 21 column: 18 suggestions: null - message: Use the $ prefix or the get function to access reactive values instead of accessing the raw store. line: 22 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/_config.json ================================================ { "options": [{ "prefer": "never" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml ================================================ - message: Expected regular attribute syntax. line: 7 column: 9 suggestions: null - message: Expected regular attribute syntax. line: 11 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml ================================================ - message: Expected shorthand attribute. line: 6 column: 9 suggestions: null - message: Expected shorthand attribute. line: 10 column: 9 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/_config.json ================================================ { "options": [{ "prefer": "always" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/_config.json ================================================ { "options": [{ "prefer": "never" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/_config.json ================================================ { "options": [{ "prefer": "always" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml ================================================ - message: Expected shorthand directive. line: 14 column: 8 suggestions: null - message: Expected shorthand directive. line: 16 column: 6 suggestions: null - message: Expected shorthand directive. line: 18 column: 6 suggestions: null - message: Expected shorthand directive. line: 21 column: 6 suggestions: null - message: Expected shorthand directive. line: 23 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-output.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/_config.json ================================================ { "options": [{ "prefer": "never" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml ================================================ - message: Expected regular directive syntax. line: 8 column: 8 suggestions: null - message: Expected regular directive syntax. line: 9 column: 6 suggestions: null - message: Expected regular directive syntax. line: 10 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-output.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml ================================================ - message: Expected shorthand directive. line: 14 column: 8 suggestions: null - message: Expected shorthand directive. line: 16 column: 6 suggestions: null - message: Expected shorthand directive. line: 18 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-output.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/_config.json ================================================ { "options": [{ "prefer": "always" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/_config.json ================================================ { "options": [{ "prefer": "never" }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/test01-input.svelte ================================================
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^c-/u"], "sort": "alphabetical" }, "/^b-/u", { "match": ["/^a-/u"], "sort": "ignore" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml ================================================ - message: Attribute 'b-foo' should go before 'a-foo'. line: 1 column: 12 suggestions: null - message: Attribute 'c-foo' should go before 'a-foo'. line: 1 column: 18 suggestions: null - message: Attribute 'c-b' should go before 'c-c'. line: 4 column: 10 suggestions: null - message: Attribute 'c-a' should go before 'c-c'. line: 4 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/attach-tag-errors.yaml ================================================ - message: Attribute '@attach' should go before 'foo'. line: 14 column: 10 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/attach-tag-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/attach-tag-output.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/attach-tag-requirements.json ================================================ { "svelte": "^5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml ================================================ - message: Attribute 'class:a' should go before 'class:b'. line: 6 column: 26 suggestions: null - message: Attribute 'class' should go before 'class:a'. line: 7 column: 14 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml ================================================ - message: Attribute 'this' should go before 'bind:value'. line: 19 column: 3 suggestions: null - message: Attribute 'def' should go before 'bind:value'. line: 21 column: 3 suggestions: null - message: Attribute 'data-foo' should go before 'bind:value'. line: 22 column: 3 suggestions: null - message: Attribute 'abc' should go before 'bind:value'. line: 23 column: 3 suggestions: null - message: Attribute '--style-props' should go before 'bind:value'. line: 25 column: 3 suggestions: null - message: Attribute 'bind:this' should go before 'id'. line: 29 column: 2 suggestions: null - message: Attribute 'class:disable' should go before 'class:enable'. line: 34 column: 2 suggestions: null - message: Attribute 'use:action' should go before 'animate:name'. line: 36 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'animate:name'. line: 37 column: 2 suggestions: null - message: Attribute 'bind:value' should go before 'animate:name'. line: 38 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'animate:name'. line: 39 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'animate:name'. line: 40 column: 2 suggestions: null - message: Attribute 'abc' should go before 'def'. line: 42 column: 28 suggestions: null - message: Attribute 'data-foo' should go before 'def'. line: 42 column: 34 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml ================================================ - message: Attribute 'def' should go before 'bind:value'. line: 20 column: 2 suggestions: null - message: Attribute 'data-foo' should go before 'bind:value'. line: 21 column: 2 suggestions: null - message: Attribute 'abc' should go before 'bind:value'. line: 22 column: 2 suggestions: null - message: Attribute '--style-props' should go before 'bind:value'. line: 24 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'animate:name'. line: 36 column: 2 suggestions: null - message: Attribute 'bind:value' should go before 'use:action'. line: 37 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'animate:name'. line: 38 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'animate:name'. line: 39 column: 2 suggestions: null - message: Attribute 'data-foo' should go before 'def'. line: 41 column: 34 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml ================================================ - message: Attribute 'data-foo' should go before 'def'. line: 21 column: 2 suggestions: null - message: Attribute 'abc' should go before 'def'. line: 22 column: 2 suggestions: null - message: Attribute '--style-props' should go before 'def'. line: 24 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'animate:name'. line: 37 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'animate:name'. line: 38 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'animate:name'. line: 39 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml ================================================ - message: Attribute 'abc' should go before 'data-foo'. line: 22 column: 2 suggestions: null - message: Attribute '--style-props' should go before 'data-foo'. line: 24 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'animate:name'. line: 38 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'animate:name'. line: 39 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml ================================================ - message: Attribute '--style-props' should go before 'abc'. line: 24 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'animate:name'. line: 39 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml ================================================ - message: Attribute 'in:b' should go before 'out:a'. line: 6 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml ================================================ - message: Attribute 'items' should go before 'let:a'. line: 6 column: 26 suggestions: null - message: Attribute 'items' should go before 'let:a'. line: 10 column: 41 suggestions: null - message: Attribute 'let:a' should go before 'let:b'. line: 14 column: 35 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-input.svelte ================================================
                                                                                              {thing.text}
                                                                                              {thing.text}
                                                                                              {thing.text}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-output.svelte ================================================
                                                                                              {thing.text}
                                                                                              {thing.text}
                                                                                              {thing.text}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml ================================================ - message: Attribute 'slot' should go before 'let:item'. line: 7 column: 29 suggestions: null - message: Attribute 'slot' should go before 'class'. line: 8 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-input.svelte ================================================
                                                                                              {item.text}

                                                                                              Footer

                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-output.svelte ================================================
                                                                                              {item.text}

                                                                                              Footer

                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml ================================================ - message: Attribute 'c' should go before 'd'. line: 5 column: 8 suggestions: null - message: Attribute 'a' should go before 'b'. line: 5 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml ================================================ - message: Attribute 'id' should go before 'a'. line: 5 column: 23 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml ================================================ - message: Attribute 'e' should go before 'f'. line: 5 column: 8 suggestions: null - message: Attribute 'c' should go before 'd'. line: 5 column: 23 suggestions: null - message: Attribute 'a' should go before 'b'. line: 5 column: 39 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml ================================================ - message: Attribute '--a' should go before '--b'. line: 6 column: 26 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml ================================================ - message: Attribute 'use:a' should go before 'use:b'. line: 6 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^order-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml ================================================ - message: Attribute 'order-a' should go before 'order-b'. line: 1 column: 22 suggestions: null - message: Attribute 'order-a' should go before 'order-b'. line: 4 column: 24 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^order-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml ================================================ - message: Attribute 'order-a' should go before 'order-c'. line: 5 column: 33 suggestions: null - message: Attribute 'order-a' should go before 'order-c'. line: 8 column: 47 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-output.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/_config.json ================================================ { "options": [ { "order": [ "id", "class", "/^class:/u", "value", "src", "/^data-/u", "style", "/^style:/u", "/^on:/u", "/^use:/u", "/^animate:/u", "/^transition:/u", "/^in:/u", "/^out:/u", "bind:this", ["/^bind:/u", "!bind:this"], { "match": ["!/:/u", "!/^(?:id|class|value|src|style)$/u", "!/^data-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml ================================================ - message: Attribute 'bind:this' should go before 'bind:data'. line: 11 column: 24 suggestions: null - message: Attribute 'data-foo' should go before 'bind:data'. line: 11 column: 53 suggestions: null - message: Attribute 'class' should go before 'class:bar'. line: 14 column: 2 suggestions: null - message: Attribute 'id' should go before 'class:bar'. line: 15 column: 2 suggestions: null - message: Attribute 'value' should go before 'bind:this'. line: 17 column: 2 suggestions: null - message: Attribute 'style:color' should go before 'bind:this'. line: 18 column: 2 suggestions: null - message: Attribute 'style' should go before 'bind:this'. line: 19 column: 2 suggestions: null - message: Attribute 'data-value' should go before 'bind:this'. line: 20 column: 2 suggestions: null - message: Attribute 'animate:name' should go before 'bind:this'. line: 21 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null - message: Attribute 'src' should go before 'alt'. line: 26 column: 16 suggestions: null - message: Attribute 'id' should go before 'alt'. line: 26 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml ================================================ - message: Attribute 'data-foo' should go before 'bind:this'. line: 11 column: 53 suggestions: null - message: Attribute 'id' should go before 'class'. line: 15 column: 2 suggestions: null - message: Attribute 'style:color' should go before 'bind:this'. line: 18 column: 2 suggestions: null - message: Attribute 'style' should go before 'bind:this'. line: 19 column: 2 suggestions: null - message: Attribute 'data-value' should go before 'bind:this'. line: 20 column: 2 suggestions: null - message: Attribute 'animate:name' should go before 'bind:this'. line: 21 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null - message: Attribute 'id' should go before 'src'. line: 26 column: 22 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml ================================================ - message: Attribute 'style' should go before 'style:color'. line: 19 column: 2 suggestions: null - message: Attribute 'data-value' should go before 'style:color'. line: 20 column: 2 suggestions: null - message: Attribute 'animate:name' should go before 'bind:this'. line: 21 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml ================================================ - message: Attribute 'data-value' should go before 'style'. line: 20 column: 2 suggestions: null - message: Attribute 'animate:name' should go before 'bind:this'. line: 21 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml ================================================ - message: Attribute 'animate:name' should go before 'bind:this'. line: 21 column: 2 suggestions: null - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml ================================================ - message: Attribute 'in:fn' should go before 'bind:this'. line: 22 column: 2 suggestions: null - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml ================================================ - message: Attribute 'out:fn' should go before 'bind:this'. line: 23 column: 2 suggestions: null - message: Attribute 'transition:fn' should go before 'in:fn'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml ================================================ - message: Attribute 'out:fn' should go before 'bind:this'. line: 24 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-output.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^c-/u"], "sort": "alphabetical" }, "/^b-/u", { "match": ["/^a-/u"], "sort": "ignore" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/attach-tag-input.svelte ================================================
                                                                                              ...
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/attach-tag-requirements.json ================================================ { "svelte": "^5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/bind-on-test01-input.svelte ================================================ console.log('Old value:', value)} bind:value on:input={() => console.log('New value:', value)} /> console.log('Old value:', value)} bind:value /> console.log('New value:', value)} /> ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/class-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/default-test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/ignore-spread-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/in-out-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/let-test-input.svelte ================================================
                                                                                              {thing.text}
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/slot-test-input.svelte ================================================
                                                                                              {item.text}

                                                                                              Footer

                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test01-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test02-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-ptops-test-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/use-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^order-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-config.json ================================================ { "options": [ { "order": [ { "match": ["/^order-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-input.svelte ================================================
                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/_config.json ================================================ { "options": [ { "order": [ "id", "class", "/^class:/u", "value", "src", "/^data-/u", "style", "/^style:/u", "/^on:/u", "/^use:/u", "/^animate:/u", "/^transition:/u", "/^in:/u", "/^out:/u", "bind:this", ["/^bind:/u", "!bind:this"], { "match": ["!/:/u", "!/^(?:id|class|value|src|style)$/u", "!/^data-/u"], "sort": "alphabetical" } ] } ] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/test01-input.svelte ================================================ bar ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/_config.json ================================================ { "options": ["always"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml ================================================ - message: Expected space or tab after '' in comment. line: 1 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml ================================================ - message: Expected space or tab after '' in comment. line: 1 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/_config.json ================================================ { "options": ["never"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.yaml ================================================ - message: Unexpected space or tab after '' in comment. line: 2 column: 1 suggestions: null - message: Unexpected space or tab after ' ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-output.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/_config.json ================================================ { "options": ["always"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/default/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/_config.json ================================================ { "options": ["never"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/test01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/sveltekit-types.d.ts ================================================ // Type stubs for SvelteKit's $app modules declare module '$app/types' { export type Pathname = "/" | "/test" | "/test/123" | "/test/123/456"; export type ResolvedPathname = `${"" | `/${string}`}${Pathname}`; } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/tsconfig.json ================================================ { "compilerOptions": { "jsx": "preserve", "target": "es5", "strict": true, "esModuleInterop": true, "lib": ["es2015", "es2017", "esnext"], "experimentalDecorators": true }, "include": ["**/*.svelte", "**/*.ts"] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml ================================================ - message: |- `` element should have an alt attribute https://svelte.dev/e/a11y_missing_attribute(a11y_missing_attribute) line: 5 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-errors.yaml ================================================ - message: 'A11y: element should have an alt attribute(a11y-missing-attribute)' line: 5 column: 1 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/custom_element_props_identifier-errors.yaml ================================================ - message: |- Using a rest element or a non-destructured declaration with `$props()` means that Svelte can't infer what properties to expose when creating a custom element. Consider destructuring all the props or explicitly specifying the `customElement.props` option. https://svelte.dev/e/custom_element_props_identifier(custom_element_props_identifier) line: 4 column: 6 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/custom_element_props_identifier-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/custom_element_props_identifier-requirements.json ================================================ { "svelte": ">=5.33.4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/dyamic-slot01-errors.yaml ================================================ - message: name cannot be dynamic(dynamic-slot-name) line: 5 column: 7 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/dyamic-slot01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/dyamic-slot01-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/experimental-async-disabled/top-level-await-errors.yaml ================================================ - message: |- Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless the `experimental.async` compiler option is `true` https://svelte.dev/e/experimental_async(experimental_async) line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/experimental-async-disabled/top-level-await-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/experimental-async-disabled/top-level-await-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml ================================================ - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 6 column: 3 suggestions: null - message: |- A form label must be associated with a control https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control) line: 6 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte ================================================
                                                                                              {#if true} A {:else}
                                                                                                {/if}
                                                                                                ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-errors.yaml ================================================ - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 6 column: 3 suggestions: null - message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)' line: 6 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-input.svelte ================================================
                                                                                                {#if true} A {:else}
                                                                                                  {/if}
                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml ================================================ - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 6 column: 3 suggestions: null - message: |- A form label must be associated with a control https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control) line: 6 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte ================================================
                                                                                                  {#each [] as e} A {:else}
                                                                                                    {/each}
                                                                                                    ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-errors.yaml ================================================ - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 6 column: 3 suggestions: null - message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)' line: 6 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 7 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-input.svelte ================================================
                                                                                                    {#each [] as e} A {:else}
                                                                                                      {/each}
                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml ================================================ - message: |- Empty block https://svelte.dev/e/block_empty(block_empty) line: 2 column: 30 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 5 column: 3 suggestions: null - message: |- A form label must be associated with a control https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control) line: 5 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 6 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 9 column: 3 suggestions: null - message: |- A form label must be associated with a control https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control) line: 9 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 10 column: 3 suggestions: null - message: |- Empty block https://svelte.dev/e/block_empty(block_empty) line: 14 column: 30 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 17 column: 3 suggestions: null - message: |- A form label must be associated with a control https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control) line: 17 column: 3 suggestions: null - message: |- noninteractive element cannot have nonnegative tabIndex value https://svelte.dev/e/a11y_no_noninteractive_tabindex(a11y_no_noninteractive_tabindex) line: 18 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte ================================================
                                                                                                      {#await Promise.resolve(42)} {:then name}
                                                                                                        {:catch name}
                                                                                                          {/await}
                                                                                                          {#await Promise.resolve(42)} {:then name}
                                                                                                            {/await}
                                                                                                            ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-errors.yaml ================================================ - message: Empty block(empty-block) line: 2 column: 30 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 5 column: 3 suggestions: null - message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)' line: 5 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 6 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 9 column: 3 suggestions: null - message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)' line: 9 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 10 column: 3 suggestions: null - message: Empty block(empty-block) line: 14 column: 30 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 17 column: 3 suggestions: null - message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)' line: 17 column: 3 suggestions: null - message: 'A11y: noninteractive element cannot have nonnegative tabIndex value(a11y-no-noninteractive-tabindex)' line: 18 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-input.svelte ================================================
                                                                                                            {#await Promise.resolve(42)} {:then name}
                                                                                                              {:catch name}
                                                                                                                {/await}
                                                                                                                {#await Promise.resolve(42)} {:then name}
                                                                                                                  {/await}
                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-errors.yaml ================================================ - message: Unused CSS selector ".foo .foo"(css-unused-selector) line: 9 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-input.svelte ================================================
                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-01-errors.yaml ================================================ - message: Unused CSS selector "input"(css-unused-selector) line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-01-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-02-errors.yaml ================================================ - message: |- Unused CSS selector "input" https://svelte.dev/e/css_unused_selector(css_unused_selector) line: 2 column: 2 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-without-global-02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/_config.cjs ================================================ /** * @typedef {import("svelte/compiler").Warning} Warning */ module.exports = { languageOptions: { parserOptions: { svelteConfig: { /** * @param {Warning} warning * @param {(warning: Warning) => void} handler * @returns {void} */ onwarn(warning, handler) { // transform code handler({ ...warning, message: warning.message, code: 'foo' }); } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-errors.yaml ================================================ - message: |- `` element should have an alt attribute https://svelte.dev/e/a11y_missing_attribute(foo) line: 5 column: 1 suggestions: null - message: |- Avoid using autofocus https://svelte.dev/e/a11y_autofocus(foo) line: 5 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-errors.yaml ================================================ - message: 'A11y: element should have an alt attribute(foo)' line: 5 column: 1 suggestions: null - message: 'A11y: Avoid using autofocus(foo)' line: 5 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/_config.cjs ================================================ /** * @typedef {import("svelte/compiler").Warning} Warning */ module.exports = { languageOptions: { parserOptions: { svelteConfig: { /** * @param {Warning} warning * @param {(warning: Warning) => void} handler * @returns {void} */ onwarn(warning, handler) { if ( warning.code === 'a11y_missing_attribute' || warning.code === 'a11y-missing-attribute' ) return; handler(warning); } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-errors.yaml ================================================ - message: |- Avoid using autofocus https://svelte.dev/e/a11y_autofocus(a11y_autofocus) line: 5 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-svelte4-errors.yaml ================================================ - message: 'A11y: Avoid using autofocus(a11y-autofocus)' line: 5 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-onwarn/a11y-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-warning-filter/_config.cjs ================================================ /** * @typedef {import("svelte/compiler").Warning} Warning */ module.exports = { languageOptions: { parserOptions: { svelteConfig: { warningFilter: (warning) => { return ( warning.code !== 'a11y_missing_attribute' && warning.code !== 'a11y-missing-attribute' ); } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-warning-filter/a11y-errors.yaml ================================================ - message: |- Avoid using autofocus https://svelte.dev/e/a11y_autofocus(a11y_autofocus) line: 5 column: 12 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-warning-filter/a11y-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-warning-filter/a11y-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml ================================================ - message: |- The $ prefix is reserved, and cannot be used for variables and imports https://svelte.dev/e/dollar_prefix_invalid(dollar_prefix_invalid) line: 2 column: 8 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-errors.yaml ================================================ - message: The $ prefix is reserved, and cannot be used for variable and import names(illegal-declaration) line: 2 column: 3 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/_config.json ================================================ { "languageOptions": { "parserOptions": { "parser": "@babel/eslint-parser" } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/babel-function-bind01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/class01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/global-style-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/_config.json ================================================ { "options": [{ "ignoreWarnings": true }] } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/no-false-custom_element_props_identifier-warning-without-custom-element-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/no-false-custom_element_props_identifier-warning-without-custom-element-requirements.json ================================================ { "svelte": ">=5.33.4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang01-input.svelte ================================================
                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang02-input.svelte ================================================
                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang03-input.svelte ================================================
                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-experimental-async/_config.cjs ================================================ module.exports = { languageOptions: { parserOptions: { svelteConfig: { compilerOptions: { experimental: { async: true } } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-experimental-async/top-level-await-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-experimental-async/top-level-await-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-onwarn/_config.cjs ================================================ /** * @typedef {import("svelte/compiler").Warning} Warning */ module.exports = { languageOptions: { parserOptions: { svelteConfig: { /** * @param {Warning} warning * @param {(warning: Warning) => void} handler * @returns {void} */ onwarn(warning, handler) { if ( warning.code === 'a11y_missing_attribute' || warning.code === 'a11y-missing-attribute' ) return; handler(warning); } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-onwarn/a11y-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-warning-filter/_config.cjs ================================================ /** * @typedef {import("svelte/compiler").Warning} Warning */ module.exports = { languageOptions: { parserOptions: { svelteConfig: { warningFilter: (warning) => { return ( warning.code !== 'a11y_missing_attribute' && warning.code !== 'a11y-missing-attribute' ); } } } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-warning-filter/a11y-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte ================================================
                                                                                                                    ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-input.svelte ================================================
                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte ================================================ TEXT
                                                                                                                        ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-input.svelte ================================================ TEXT
                                                                                                                          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte ================================================
                                                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-input.svelte ================================================
                                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte ================================================
                                                                                                                                  {#if true}
                                                                                                                                    {/if}
                                                                                                                                    {#if true} A {:else}
                                                                                                                                      {/if}
                                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-input.svelte ================================================
                                                                                                                                      {#if true}
                                                                                                                                        {/if}
                                                                                                                                        {#if true} A {:else}
                                                                                                                                          {/if}
                                                                                                                                          ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte ================================================
                                                                                                                                          {#key 42}
                                                                                                                                            {/key}
                                                                                                                                            ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-input.svelte ================================================
                                                                                                                                            {#key 42}
                                                                                                                                              {/key}
                                                                                                                                              ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte ================================================
                                                                                                                                              {#each [] as e}
                                                                                                                                                {/each}
                                                                                                                                                {#each [] as e} A {:else}
                                                                                                                                                  {/each}
                                                                                                                                                  ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-input.svelte ================================================
                                                                                                                                                  {#each [] as e}
                                                                                                                                                    {/each}
                                                                                                                                                    {#each [] as e} A {:else}
                                                                                                                                                      {/each}
                                                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte ================================================
                                                                                                                                                      {#await Promise.resolve(42)}
                                                                                                                                                        {/await}
                                                                                                                                                        {#await Promise.resolve(42)}
                                                                                                                                                          {:then name}
                                                                                                                                                            {:catch name}
                                                                                                                                                              {/await}
                                                                                                                                                              {#await Promise.resolve(42)}
                                                                                                                                                                {:then name}
                                                                                                                                                                  {/await}
                                                                                                                                                                  {#await Promise.resolve(42) then n}
                                                                                                                                                                    {/await}
                                                                                                                                                                    {#await Promise.resolve(42) catch n}
                                                                                                                                                                      {/await}
                                                                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-input.svelte ================================================
                                                                                                                                                                      {#await Promise.resolve(42)}
                                                                                                                                                                        {/await}
                                                                                                                                                                        {#await Promise.resolve(42)}
                                                                                                                                                                          {:then name}
                                                                                                                                                                            {:catch name}
                                                                                                                                                                              {/await}
                                                                                                                                                                              {#await Promise.resolve(42)}
                                                                                                                                                                                {:then name}
                                                                                                                                                                                  {/await}
                                                                                                                                                                                  {#await Promise.resolve(42) then n}
                                                                                                                                                                                    {/await}
                                                                                                                                                                                    {#await Promise.resolve(42) catch n}
                                                                                                                                                                                      {/await}
                                                                                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-requirements.json ================================================ { "svelte": ">=4.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-requirements.json ================================================ { "svelte": "^3.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/test01-input.svelte ================================================ {name} dances. ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/class01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/test01-input.svelte ================================================ {name} dances. ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4-requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-unused-in-script-input.svelte ================================================ {$page} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import01-input.svelte ================================================ {{ $a }} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import02-input.svelte ================================================ {{ $a }} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/undef01-input.svelte ================================================ {name} dances. ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/unuse01-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/valid-custom-element-with-props-identifier-input.svelte ================================================ ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/valid-custom-element-with-props-identifier-requirements.json ================================================ { "svelte": ">=5.33.4" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-errors.yaml ================================================ - message: Expected key to use the variables which are defined by the `{#each}` block. line: 11 column: 25 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-input.svelte ================================================ {#each things as thing (key)} {@const key = thing.id} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-errors.yaml ================================================ - message: Expected key to use the variables which are defined by the `{#each}` block. line: 12 column: 25 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-input.svelte ================================================ {#each things as thing (foo)} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/call-key01-input.svelte ================================================ {#each things as thing (fn(thing))} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/destructure-key01-input.svelte ================================================ {#each things as { id, name } (id)} {name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key01-input.svelte ================================================ {#each things as thing (`thing_id=${thing.id}`)} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key02-input.svelte ================================================ {#each things as thing (foo + thing.id)} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/index-key01-input.svelte ================================================ {#each things as thing, index (index)} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/member-key01-input.svelte ================================================ {#each things as thing (thing.id)} {thing.name} {/each} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/svelte5-each-blocks-without-an-item-input.svelte ================================================
                                                                                                                                                                                      {#each { length: 8 }, rank} {#each { length: 8 }} {rank} {/each} {/each}
                                                                                                                                                                                      ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/svelte5-each-blocks-without-an-item-requirements.json ================================================ { "svelte": "^5.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+page.svelte ================================================ {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/_config.json ================================================ { "settings": { "svelte": { "kit": { "files": { "routes": "tests/fixtures" } } } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/errors.yaml ================================================ - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 3 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 15 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+page.svelte ================================================ {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/errors.yaml ================================================ - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 3 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 15 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/svelte.config.js ================================================ export default { kit: { files: { routes: 'tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config' } } }; ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+page.svelte ================================================ {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json ================================================ { "languageOptions": { "parserOptions": { "svelteConfig": { "kit": { "files": { "routes": "tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options" } } } } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/errors.yaml ================================================ - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 3 column: 13 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 15 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 4 column: 20 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte4-children/+page.svelte ================================================ {children} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte4-children/_config.json ================================================ { "languageOptions": { "parserOptions": { "svelteConfig": { "kit": { "files": { "routes": "tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte4-children" } } } } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte4-children/errors.yaml ================================================ - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte4-children/requirements.json ================================================ { "svelte": "^3.0.0 || ^4.0.0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte5/+page.svelte ================================================ {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte5/_config.json ================================================ { "languageOptions": { "parserOptions": { "svelteConfig": { "kit": { "files": { "routes": "tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte5" } } } } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte5/errors.yaml ================================================ - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 8 suggestions: null - message: disallow props other than data or errors in SvelteKit page components. line: 2 column: 13 suggestions: null ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte5/requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/_config.json ================================================ { "settings": { "svelte": { "kit": { "files": { "routes": "tests/fixtures" } } } } } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/svelte5/test01-input.svelte ================================================ {data}, {errors}, {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/svelte5/test01-requirements.json ================================================ { "svelte": ">=5.0.0-0" } ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/test01-input.svelte ================================================ {data}, {errors}, {foo}, {bar} ================================================ FILE: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/svelte5/+page.svelte ================================================ {data}, {errors} {#if form?.success}

                                                                                                                                                                                      Successfully logged in! Welcome back, {data.user.name}

                                                                                                                                                                                      {/if}