diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index dbd194153..000000000 --- a/.browserslistrc +++ /dev/null @@ -1 +0,0 @@ -extends @1stg/browserslist-config/modern diff --git a/.github/workflows/GHPages.yml b/.github/workflows/GHPages.yml index 30ccd714c..d002776e9 100644 --- a/.github/workflows/GHPages.yml +++ b/.github/workflows/GHPages.yml @@ -28,18 +28,20 @@ jobs: - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v4 - name: Install And Build - run: |+ + run: | pnpm install + cd packages/eslint-plugin-svelte pnpm run update - pnpm run build + pnpm build + cd ../../docs-svelte-kit export NODE_OPTIONS="--max-old-space-size=8192" - pnpm run docs:build + pnpm build - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./build/eslint-plugin-svelte + path: ./docs-svelte-kit/build/eslint-plugin-svelte - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 diff --git a/.github/workflows/NodeCI.yml b/.github/workflows/NodeCI.yml index 206d2d01b..0c82d3a9f 100644 --- a/.github/workflows/NodeCI.yml +++ b/.github/workflows/NodeCI.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +env: + project_root_path: ./packages/eslint-plugin-svelte + jobs: lint: runs-on: ubuntu-latest @@ -15,12 +18,20 @@ jobs: - uses: actions/setup-node@v4 - name: Install Packages run: pnpm install - - name: Lint - run: |+ + - 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: @@ -30,9 +41,11 @@ jobs: - name: Install Packages run: pnpm install - name: Build - run: |+ + 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 }} @@ -49,15 +62,23 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Install ESLint ${{ matrix.eslint }} - run: |+ - pnpm install -D eslint@${{ matrix.eslint }} - rm -rf node_modules - if: matrix.eslint != 9 - name: Install Packages run: pnpm install + - 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 run 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 }} @@ -65,7 +86,7 @@ jobs: matrix: os: [ubuntu-latest] eslint: [9] - node: [18, 20] + node: [18, 20, 22] include: # On old Node.js version - eslint: 8 @@ -83,17 +104,20 @@ jobs: with: node-version: ${{ matrix.node }} - name: Install svelte@4 - run: |+ + 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 eslint@${{ matrix.eslint }} + run: | + pnpm install -D -w eslint@${{ matrix.eslint }} rm -rf node_modules - name: Install Packages run: pnpm install - 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 }} @@ -109,18 +133,25 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Remove @sveltejs/kit # Remove @sveltejs/kit because postinstall fails on old node. - run: |+ - pnpm rm @sveltejs/kit - rm -rf node_modules - name: Install svelte@3 - run: |+ - pnpm install -D svelte@3 @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 eslint@8 + # Remove @sveltejs/kit because postinstall fails on old node. + run: | + cd docs-svelte-kit + pnpm rm @sveltejs/kit + cd .. + pnpm install -D -w @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 eslint@8 + 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 - name: Test run: pnpm run test + working-directory: ${{ env.project_root_path }} + test-for-typescript-eslint-v5: name: Test for typescript-eslint v5 runs-on: ${{ matrix.os }} @@ -137,13 +168,15 @@ jobs: with: node-version: ${{ matrix.node }} - name: Install typescript-eslint v5 - run: |+ - pnpm install -D @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 + run: | + pnpm install -D -w @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 rm -rf node_modules - name: Install Packages run: pnpm install - name: Test run: pnpm run test + working-directory: ${{ env.project_root_path }} + update-resources: runs-on: ubuntu-latest steps: @@ -156,6 +189,7 @@ jobs: run: pnpm install - name: Update resources run: pnpm run update + working-directory: ${{ env.project_root_path }} - name: Check changes run: | git add --all && \ diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index 84140fb47..000000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: 👔 Format - -on: - workflow_dispatch: null - -permissions: - contents: write - -jobs: - format: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 - - uses: actions/setup-node@v4 - - name: Install deps - run: pnpm install -f - - name: Format - run: pnpm run lint-fix - - name: Commit - run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - - git add . - if [ -z "$(git status --porcelain)" ]; then - echo "no formatting changed" - exit 0 - fi - git commit -m "chore: format" - git push - echo "pushed formatting changes https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)" diff --git a/.gitignore b/.gitignore index 3e278fe25..cf1b233b1 100644 --- a/.gitignore +++ b/.gitignore @@ -102,12 +102,14 @@ dist ## repo /pnpm-lock.yaml -/lib -/.svelte-kit -/.type-coverage -/build +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 diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index 04f08797f..000000000 --- a/.stylelintignore +++ /dev/null @@ -1,22 +0,0 @@ -.*ignore -.npmrc -LICENSE -*.png -*.json -*.js -*.mjs -*.ts -*.mts -*.tsx -*.lock -*.log -*.svg -*.yaml -*.yml -/tests/fixtures/rules -# TODO: enable the following -# should we ignore markdown files? -*.md -/docs-svelte-kit/ -/coverage -/build diff --git a/README.md b/README.md index 435777a47..9a6c25600 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,36 @@ for some context. ::: +#### Specify `svelte.config.js` + +If you are using `eslint.config.js`, we recommend that you import and specify `svelte.config.js`. +By specifying it, some rules of `eslint-plugin-svelte` will read it and try to behave well for you by default. +Some Svelte configurations will be statically loaded from `svelte.config.js` even if you don't specify it, but you need to specify it to make it work better. + +Example **eslint.config.js**: + +```js +import eslintPluginSvelte from 'eslint-plugin-svelte'; +import svelteConfig from './svelte.config.js'; +export default [ + ...eslintPluginSvelte.configs['flat/recommended'], + { + files: [ + '**/*.svelte', + '*.svelte' + // Add more files if you need. + // '**/*.svelte.ts', '*.svelte.ts', '**/*.svelte.js', '*.svelte.js', + ], + languageOptions: { + parserOptions: { + // Specify the `svelte.config.js`. + svelteConfig + } + } + } +]; +``` + #### settings.svelte You can change the behavior of this plugin with some settings. @@ -274,6 +304,12 @@ Specifies options for Svelte compile. Effects rules that use Svelte compile. The #### settings.svelte.kit +::: warning + +Even if you don't specify `settings.svelte.kit`, the rules will try to load information from `svelte.config.js`, so specify `settings.svelte.kit` if the default doesn't work. + +::: + If you use SvelteKit with not default configuration, you need to set below configurations. The schema is subset of SvelteKit's configuration. Therefore please check [SvelteKit docs](https://kit.svelte.dev/docs/configuration) for more details. @@ -385,6 +421,7 @@ These rules relate to better ways of doing things to help you avoid problems: | [svelte/no-inline-styles](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inline-styles/) | disallow attributes and directives that produce inline styles | | | [svelte/no-reactive-functions](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-functions/) | it's not necessary to define functions in reactive statements | :bulb: | | [svelte/no-reactive-literals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/) | don't assign literal values in reactive statements | :bulb: | +| [svelte/no-svelte-internal](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/) | svelte/internal will be removed in Svelte 6. | | | [svelte/no-unused-class-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/) | disallow the use of a class in the template without a corresponding style | | | [svelte/no-unused-svelte-ignore](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-svelte-ignore/) | disallow unused svelte-ignore comments | :star: | | [svelte/no-useless-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/) | disallow unnecessary mustache interpolations | :wrench: | diff --git a/docs-svelte-kit/build-system/build.mts b/docs-svelte-kit/build-system/build.ts similarity index 94% rename from docs-svelte-kit/build-system/build.mts rename to docs-svelte-kit/build-system/build.ts index e13936dbb..c2ff84359 100644 --- a/docs-svelte-kit/build-system/build.mts +++ b/docs-svelte-kit/build-system/build.ts @@ -5,7 +5,7 @@ import { fileURLToPath } from 'url'; const dirname = path.dirname(fileURLToPath(import.meta.url)); -build(path.join(dirname, '../../node_modules/assert'), path.join(dirname, '../shim/assert.mjs')); +build(path.join(dirname, '../node_modules/assert'), path.join(dirname, '../shim/assert.mjs')); /** build */ function build(input: string, out: string, injects: string[] = []) { diff --git a/docs-svelte-kit/eslint.config.mjs b/docs-svelte-kit/eslint.config.mjs new file mode 100644 index 000000000..5e336f604 --- /dev/null +++ b/docs-svelte-kit/eslint.config.mjs @@ -0,0 +1,59 @@ +import * as myPlugin from '@ota-meshi/eslint-plugin'; +import globals from 'globals'; + +/** + * @type {import('eslint').Linter.FlatConfig[]} + */ +const config = [ + { + ignores: [ + 'node_modules/', + '.svelte-kit/', + 'build/', + 'shim/eslint.mjs', + 'shim/assert.mjs', + 'src/routes/*.md', + 'src/routes/**/*.md', + 'src/app.html' + ] + }, + ...myPlugin.config({ + eslintPlugin: true, + ts: true, + json: true, + packageJson: true, + yaml: true, + md: true, + prettier: true, + svelte: { withTs: false } + }), + { + languageOptions: { + sourceType: 'module', + globals: { + ...globals.browser, + require: 'readonly' + } + } + }, + { + rules: { + 'jsdoc/require-jsdoc': 'off', + '@typescript-eslint/no-shadow': 'off', + 'no-shadow': 'off', + '@typescript-eslint/naming-convention': 'off', + 'new-cap': 'off', + complexity: 'off', + 'n/no-missing-import': 'off', + 'n/file-extension-in-import': 'off', + 'n/no-extraneous-import': 'off' + } + }, + { + files: ['**/*.svelte'], + languageOptions: { + parserOptions: { project: null } + } + } +]; +export default config; diff --git a/docs-svelte-kit/package.json b/docs-svelte-kit/package.json new file mode 100644 index 000000000..6f776212a --- /dev/null +++ b/docs-svelte-kit/package.json @@ -0,0 +1,63 @@ +{ + "name": "docs", + "private": true, + "type": "module", + "scripts": { + "lint": "eslint --cache .", + "lint-fix": "eslint --cache . --fix", + "build": "cd ../packages/eslint-plugin-svelte && pnpm build && cd ../../docs-svelte-kit && pnpm run svelte-kit build", + "preview": "pnpm run svelte-kit preview", + "dev": "pnpm run svelte-kit dev", + "svelte-kit": "vite" + }, + "devDependencies": { + "@babel/core": "^7.24.5", + "@babel/types": "^7.24.5", + "@fontsource/fira-mono": "^5.0.13", + "@ota-meshi/eslint-plugin": "^0.17.1", + "@sindresorhus/slugify": "^2.2.1", + "@sveltejs/adapter-static": "^3.0.1", + "@sveltejs/kit": "^2.5.9", + "@sveltejs/vite-plugin-svelte": "^3.1.0", + "@types/babel__core": "^7.20.5", + "@types/cross-spawn": "^6.0.6", + "@types/escape-html": "^1.0.4", + "@types/eslint-scope": "^3.7.7", + "@types/eslint-visitor-keys": "^3.3.0", + "@types/less": "^3.0.6", + "@types/markdown-it": "^14.1.1", + "@types/markdown-it-container": "^2.0.10", + "@types/markdown-it-emoji": "^3.0.1", + "@types/node": "^20.12.12", + "@types/prismjs": "^1.26.4", + "@types/stylus": "^0.48.42", + "@typescript/vfs": "^1.5.0", + "acorn": "^8.11.3", + "assert": "^2.1.0", + "cross-spawn": "^7.0.3", + "env-cmd": "^10.1.0", + "esbuild": "^0.21.3", + "escape-html": "^1.0.3", + "eslint-plugin-svelte": "workspace:^", + "eslint-scope": "^8.0.1", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.0.1", + "globals": "^15.2.0", + "markdown-it-anchor": "^9.0.0", + "markdown-it-container": "^4.0.0", + "markdown-it-emoji": "^3.0.0", + "pako": "^2.1.0", + "postcss-nested": "^6.0.1", + "prism-svelte": "^0.5.0", + "prismjs": "^1.29.0", + "sass": "^1.77.2", + "source-map-js": "^1.2.0", + "stylus": "^0.63.0", + "svelte": "^5.0.0-next.112", + "svelte-adapter-ghpages": "0.2.2", + "util": "^0.12.5", + "vite": "^5.2.11", + "vite-plugin-eslint4b": "^0.4.2", + "vite-plugin-svelte-md": "^0.1.7" + } +} diff --git a/docs-svelte-kit/shim/source-map-js.mjs b/docs-svelte-kit/shim/source-map-js.mjs index 86bbf5794..4bdafa563 100644 --- a/docs-svelte-kit/shim/source-map-js.mjs +++ b/docs-svelte-kit/shim/source-map-js.mjs @@ -1,4 +1,4 @@ -import { SourceMapGenerator } from '../../node_modules/source-map-js/lib/source-map-generator.js'; -import { SourceMapConsumer } from '../../node_modules/source-map-js/lib/source-map-consumer.js'; +import { SourceMapGenerator } from '../node_modules/source-map-js/lib/source-map-generator.js'; +import { SourceMapConsumer } from '../node_modules/source-map-js/lib/source-map-consumer.js'; export { SourceMapGenerator, SourceMapConsumer }; export default { SourceMapGenerator, SourceMapConsumer }; diff --git a/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte b/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte index 393070fc5..72d0e18c8 100644 --- a/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte +++ b/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte @@ -3,7 +3,7 @@ import ESLintEditor from '../eslint/ESLintEditor.svelte'; import { preprocess, postprocess, createLinterConfig } from '../eslint/scripts/linter.js'; import { loadTsParser } from '../eslint/scripts/ts-parser.js'; - import { loadModulesForBrowser } from '../../../../src/utils/load-module'; + import { loadModulesForBrowser } from '../../../../packages/eslint-plugin-svelte/src/utils/load-module.ts'; import { Linter } from 'eslint'; import globals from 'globals'; diff --git a/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte b/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte index 21c85cec6..ce705f0af 100644 --- a/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte +++ b/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte @@ -10,7 +10,7 @@ createLinterConfig } from '../eslint/scripts/linter.js'; import { loadTsParser } from '../eslint/scripts/ts-parser.js'; - import { loadModulesForBrowser } from '../../../../src/utils/load-module'; + import { loadModulesForBrowser } from '../../../../packages/eslint-plugin-svelte/src/utils/load-module.ts'; import { Linter } from 'eslint'; import globals from 'globals'; let tsParser = null; @@ -190,10 +190,9 @@
    {#each messages as msg, i (`${msg.line}:${msg.column}:${msg.ruleId}@${i}`)}
  1. - - onClickMessage(evt, msg)} class="message-link" - >[{msg.line}:{msg.column}]: + : {msg.message} diff --git a/docs-svelte-kit/src/lib/eslint/scripts/linter.js b/docs-svelte-kit/src/lib/eslint/scripts/linter.js index c2e2eb5a8..01dd44666 100644 --- a/docs-svelte-kit/src/lib/eslint/scripts/linter.js +++ b/docs-svelte-kit/src/lib/eslint/scripts/linter.js @@ -1,8 +1,11 @@ -import { rules as pluginRules } from '../../../../../src/utils/rules.ts'; +import { rules as pluginRules } from '../../../../../packages/eslint-plugin-svelte/src/utils/rules.ts'; import { builtinRules } from 'eslint/use-at-your-own-risk'; import * as svelteEslintParser from 'svelte-eslint-parser'; -export { preprocess, postprocess } from '../../../../../src/processor/index.ts'; +export { + preprocess, + postprocess +} from '../../../../../packages/eslint-plugin-svelte/src/processor/index.ts'; export const categories = [ { diff --git a/docs-svelte-kit/src/lib/utils.js b/docs-svelte-kit/src/lib/utils.js index ce28beab4..69b316716 100644 --- a/docs-svelte-kit/src/lib/utils.js +++ b/docs-svelte-kit/src/lib/utils.js @@ -1,4 +1,4 @@ -import { rules } from '../../../src/utils/rules.ts'; +import { rules } from '../../../packages/eslint-plugin-svelte/src/utils/rules.ts'; import { readable, writable } from 'svelte/store'; import { page } from '$app/stores'; import { base as baseUrl } from '$app/paths'; diff --git a/docs-svelte-kit/src/routes/+layout.svelte b/docs-svelte-kit/src/routes/+layout.svelte index 00b5bcda1..14f2f3e0a 100644 --- a/docs-svelte-kit/src/routes/+layout.svelte +++ b/docs-svelte-kit/src/routes/+layout.svelte @@ -33,7 +33,7 @@ - +
    svelte/internal will be removed in Svelte 6. + +## :book: Rule Details + +This rule reports the use of the deprecated API `svelte/internal` and `svelte/internal/xxx`. `svelte/internal` is deprecated in Svelte 5. And it will be deleted in Svelte 6. These APIs can change in breaking ways at any time without notice. + + + + + +```svelte + +``` + + + +## :wrench: Options + +Nothing. + +## :books: Further Reading + + + +Nothing. + +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v2.39.0 + +## :mag: Implementation + +- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-svelte-internal.ts) +- [Test source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/tests/src/rules/no-svelte-internal.ts) diff --git a/docs/rules/valid-compile.md b/docs/rules/valid-compile.md index 920d072ba..1efdf6f49 100644 --- a/docs/rules/valid-compile.md +++ b/docs/rules/valid-compile.md @@ -37,6 +37,45 @@ This rule uses Svelte compiler to check the source code. 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 [`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 > Specify `svelte.config.js`](../user-guide.md#specify-svelte-config-js) + +#### 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 diff --git a/docs/user-guide.md b/docs/user-guide.md index 0a48c998c..0818976de 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -180,6 +180,36 @@ for some context. ::: +#### Specify `svelte.config.js` + +If you are using `eslint.config.js`, we recommend that you import and specify `svelte.config.js`. +By specifying it, some rules of `eslint-plugin-svelte` will read it and try to behave well for you by default. +Some Svelte configurations will be statically loaded from `svelte.config.js` even if you don't specify it, but you need to specify it to make it work better. + +Example **eslint.config.js**: + +```js +import eslintPluginSvelte from 'eslint-plugin-svelte'; +import svelteConfig from './svelte.config.js'; +export default [ + ...eslintPluginSvelte.configs['flat/recommended'], + { + files: [ + '**/*.svelte', + '*.svelte' + // Add more files if you need. + // '**/*.svelte.ts', '*.svelte.ts', '**/*.svelte.js', '*.svelte.js', + ], + languageOptions: { + parserOptions: { + // Specify the `svelte.config.js`. + svelteConfig + } + } + } +]; +``` + #### settings.svelte You can change the behavior of this plugin with some settings. @@ -225,6 +255,12 @@ Specifies options for Svelte compile. Effects rules that use Svelte compile. The #### settings.svelte.kit +::: warning + +Even if you don't specify `settings.svelte.kit`, the rules will try to load information from `svelte.config.js`, so specify `settings.svelte.kit` if the default doesn't work. + +::: + If you use SvelteKit with not default configuration, you need to set below configurations. The schema is subset of SvelteKit's configuration. Therefore please check [SvelteKit docs](https://kit.svelte.dev/docs/configuration) for more details. diff --git a/logo.png b/logo.png deleted file mode 100644 index bbe4170e7..000000000 Binary files a/logo.png and /dev/null differ diff --git a/logo.svg b/logo.svg deleted file mode 100644 index ba8fb61d4..000000000 --- a/logo.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - diff --git a/package.json b/package.json index 58380d768..3aa39db45 100644 --- a/package.json +++ b/package.json @@ -1,199 +1,50 @@ { - "name": "eslint-plugin-svelte", - "version": "2.38.0", - "description": "ESLint plugin for Svelte using AST", - "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git", - "homepage": "https://sveltejs.github.io/eslint-plugin-svelte", - "author": "Yosuke Ota (https://github.com/ota-meshi)", - "contributors": [ - "JounQin (https://github.com/JounQin)" - ], - "funding": "https://github.com/sponsors/ota-meshi", + "name": "eslint-plugin-svelte-monorepo", + "description": "eslint-plugin-svelte monorepo", + "private": true, "license": "MIT", + "funding": "https://github.com/sponsors/ota-meshi", "packageManager": "pnpm@7.33.7", - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "type": "commonjs", - "main": "lib/index.js", - "files": [ - "lib" - ], - "keywords": [ - "eslint", - "eslint-plugin", - "eslintplugin", - "svelte", - "sveltejs" - ], "scripts": { - "build": "pnpm run build:meta && pnpm run build:ts", - "build:meta": "pnpm run ts ./tools/update-meta.ts", - "build:ts": "tsc --project ./tsconfig.build.json", - "clean": "rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js", - "cover": "nyc --reporter=lcov pnpm run test", - "debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", - "docs:build": "pnpm run svelte-kit build", - "docs:preview": "pnpm run svelte-kit preview", - "docs:watch": "pnpm run svelte-kit dev", - "lint": "run-p lint:*", - "lint-fix": "pnpm run lint-fix:md \"./**/*.md\" && pnpm run lint:es --fix && pnpm run lint:style --fix", - "lint-fix:md": "prettier --cache --write \"./**/*.md\"", - "lint:es": "eslint --cache .", - "lint:md": "prettier --cache --check \"./**/*.md\"", - "lint:style": "stylelint --cache .", - "mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js", - "new": "pnpm run ts ./tools/new-rule.ts", - "prebuild": "pnpm run clean", - "prerelease": "pnpm run clean && pnpm run build", + "prerelease": "cd packages/eslint-plugin-svelte && pnpm clean && pnpm run build && cd ../.. && cp README.md packages/eslint-plugin-svelte", "release": "changeset publish", - "svelte-kit": "env-cmd -e sveltekit node node_modules/vite/bin/vite.js", - "test": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", - "test:debug": "env-cmd -e debug pnpm run test", - "test:update-fixtures": "env-cmd -e update-fixtures pnpm run test", - "ts": "node -r esbuild-register", - "typecov": "type-coverage", - "update": "pnpm run ts ./tools/update.ts && pnpm run lint-fix:md", - "version": "env-cmd -e version pnpm run update", - "version:ci": "env-cmd -e version-ci pnpm run update && changeset version" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0", - "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.112" - }, - "peerDependenciesMeta": { - "svelte": { - "optional": true - } - }, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@jridgewell/sourcemap-codec": "^1.4.15", - "debug": "^4.3.4", - "eslint-compat-utils": "^0.5.0", - "esutils": "^2.0.3", - "known-css-properties": "^0.30.0", - "postcss": "^8.4.38", - "postcss-load-config": "^3.1.4", - "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.16", - "semver": "^7.6.0", - "svelte-eslint-parser": ">=0.35.0 <1.0.0" + "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": { - "@1stg/browserslist-config": "^2.0.0", - "@1stg/stylelint-config": "^6.0.0", - "@babel/core": "^7.24.4", - "@babel/eslint-parser": "^7.24.1", - "@babel/plugin-proposal-function-bind": "^7.24.1", - "@babel/types": "^7.24.0", "@changesets/changelog-github": "^0.5.0", - "@changesets/cli": "^2.27.1", - "@changesets/get-release-plan": "^4.0.0", - "@eslint-community/eslint-plugin-eslint-comments": "4.3.0", - "@fontsource/fira-mono": "^5.0.12", + "@changesets/cli": "^2.27.5", + "@changesets/get-release-plan": "^4.0.2", + "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", "@ota-meshi/eslint-plugin": "^0.17.1", - "@sindresorhus/slugify": "^2.2.1", - "@sveltejs/adapter-static": "^3.0.1", - "@sveltejs/kit": "^2.5.6", - "@sveltejs/vite-plugin-svelte": "^3.1.0", - "@types/babel__core": "^7.20.5", - "@types/cross-spawn": "^6.0.6", - "@types/escape-html": "^1.0.4", "@types/eslint": "^8.56.10", - "@types/eslint-scope": "^3.7.7", - "@types/eslint-utils": "^3.0.5", - "@types/eslint-visitor-keys": "^3.3.0", - "@types/esutils": "^2.0.2", - "@types/json-schema": "^7.0.15", - "@types/less": "^3.0.6", - "@types/markdown-it": "^14.0.1", - "@types/markdown-it-container": "^2.0.10", - "@types/markdown-it-emoji": "^2.0.5", - "@types/mocha": "^10.0.6", - "@types/node": "^20.12.7", - "@types/postcss-safe-parser": "^5.0.4", - "@types/prismjs": "^1.26.3", - "@types/semver": "^7.5.8", - "@types/stylus": "^0.48.42", - "@typescript-eslint/eslint-plugin": "^7.7.0", - "@typescript-eslint/parser": "^7.7.0", - "@typescript/vfs": "^1.5.0", - "acorn": "^8.11.3", - "assert": "^2.1.0", - "cross-spawn": "^7.0.3", + "@typescript-eslint/eslint-plugin": "^7.13.0", + "@typescript-eslint/parser": "^7.13.0", "env-cmd": "^10.1.0", - "esbuild": "^0.20.2", - "esbuild-register": "^3.5.0", - "escape-html": "^1.0.3", - "eslint": "^9.0.0", + "eslint": "^9.4.0", "eslint-config-prettier": "^9.1.0", "eslint-formatter-friendly": "^7.0.0", - "eslint-plugin-eslint-plugin": "^6.0.0", - "eslint-plugin-jsdoc": "^48.2.3", + "eslint-plugin-eslint-plugin": "^6.1.0", + "eslint-plugin-jsdoc": "^48.2.12", "eslint-plugin-json-schema-validator": "^5.1.0", - "eslint-plugin-jsonc": "^2.15.1", - "eslint-plugin-markdown": "^4.0.1", + "eslint-plugin-jsonc": "^2.16.0", + "eslint-plugin-markdown": "^5.0.0", "eslint-plugin-mdx": "^3.1.5", - "eslint-plugin-n": "^17.2.1", + "eslint-plugin-n": "^17.9.0", "eslint-plugin-node-dependencies": "^0.12.0", "eslint-plugin-prettier": "^5.1.3", - "eslint-plugin-regexp": "^2.5.0", - "eslint-plugin-svelte": "^2.37.0", + "eslint-plugin-regexp": "^2.6.0", "eslint-plugin-yml": "^1.14.0", - "eslint-scope": "^8.0.1", - "eslint-typegen": "^0.2.3", - "eslint-visitor-keys": "^4.0.0", - "espree": "^10.0.1", - "estree-walker": "^3.0.3", - "globals": "^15.0.0", - "less": "^4.2.0", - "locate-character": "^3.0.0", - "magic-string": "^0.30.10", - "markdown-it-anchor": "^8.6.7", - "markdown-it-container": "^4.0.0", - "markdown-it-emoji": "^3.0.0", - "mocha": "^10.4.0", - "npm-run-all2": "^6.1.2", - "nyc": "^15.1.0", - "pako": "^2.1.0", - "postcss-nested": "^6.0.1", - "prettier": "^3.2.5", - "prettier-plugin-pkg": "^0.18.1", - "prettier-plugin-svelte": "^3.2.3", - "prism-svelte": "^0.5.0", - "prismjs": "^1.29.0", - "rimraf": "^5.0.5", - "sass": "^1.75.0", - "source-map-js": "^1.2.0", - "stylelint": "~16.3.1", - "stylelint-config-standard": "^36.0.0", - "stylus": "^0.63.0", - "svelte": "^5.0.0-next.112", - "svelte-adapter-ghpages": "0.2.2", - "svelte-i18n": "^4.0.0", - "tslib": "^2.6.2", - "type-coverage": "^2.28.1", - "typescript": "~5.4.5", - "typescript-eslint": "^7.7.0", - "util": "^0.12.5", - "vite": "^5.2.9", - "vite-plugin-eslint4b": "^0.4.0", - "vite-plugin-svelte-md": "^0.1.7", - "yaml": "^2.4.1" + "npm-run-all2": "^6.2.0", + "prettier": "^3.3.2", + "prettier-plugin-svelte": "^3.2.4", + "rimraf": "^5.0.7", + "typescript": "~5.5.0", + "typescript-eslint": "^7.13.0" }, "publishConfig": { "access": "public" - }, - "typeCoverage": { - "atLeast": 97, - "cache": true, - "detail": true, - "ignoreAsAssertion": true, - "ignoreNested": true, - "ignoreNonNullAssertion": true, - "showRelativePath": true, - "strict": true, - "update": true } } diff --git a/packages/eslint-plugin-svelte/.env-cmdrc.js b/packages/eslint-plugin-svelte/.env-cmdrc.js new file mode 100644 index 000000000..bd20dc380 --- /dev/null +++ b/packages/eslint-plugin-svelte/.env-cmdrc.js @@ -0,0 +1,16 @@ +'use strict'; + +module.exports = { + version: { + IN_VERSION_SCRIPT: 'true' + }, + 'version-ci': { + IN_VERSION_CI_SCRIPT: 'true' + }, + debug: { + DEBUG: 'eslint-plugin-svelte*' + }, + 'update-fixtures': { + UPDATE_FIXTURES: 'true' + } +}; diff --git a/CHANGELOG.md b/packages/eslint-plugin-svelte/CHANGELOG.md similarity index 87% rename from CHANGELOG.md rename to packages/eslint-plugin-svelte/CHANGELOG.md index 421bb6122..fb69a82d2 100644 --- a/CHANGELOG.md +++ b/packages/eslint-plugin-svelte/CHANGELOG.md @@ -1,5 +1,75 @@ # eslint-plugin-svelte +## 2.41.0 + +### Minor Changes + +- [#802](https://github.com/sveltejs/eslint-plugin-svelte/pull/802) [`be64d36`](https://github.com/sveltejs/eslint-plugin-svelte/commit/be64d36dfe07f37cdd10d4bac9d80989518dccc2) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: broken indentation of if condition in `svelte/indent` rule + +### Patch Changes + +- [#789](https://github.com/sveltejs/eslint-plugin-svelte/pull/789) [`0bc17df`](https://github.com/sveltejs/eslint-plugin-svelte/commit/0bc17dfe72aca1236a7e693ac7e23240c8d72910) Thanks [@KuSh](https://github.com/KuSh)! - chore: Use eslint types for exported configs + +- [#805](https://github.com/sveltejs/eslint-plugin-svelte/pull/805) [`6e4d3ed`](https://github.com/sveltejs/eslint-plugin-svelte/commit/6e4d3edd17cf930b3e266f51e8ae999e1961006f) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: update `svelte-eslint-parser` to fix nested `{#snippet}` + +- [#800](https://github.com/sveltejs/eslint-plugin-svelte/pull/800) [`580f44f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/580f44fa4a64af32d7d3257b871745e926305b8c) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add name to flat configs. + +## 2.40.0 + +### Minor Changes + +- [#792](https://github.com/sveltejs/eslint-plugin-svelte/pull/792) [`cb722bc`](https://github.com/sveltejs/eslint-plugin-svelte/commit/cb722bc9d455f4caeaa4dfdf5771dc95f06b26b8) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: update svelte-eslint-parser to 0.39 + +- [#796](https://github.com/sveltejs/eslint-plugin-svelte/pull/796) [`5e4d264`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5e4d26495a377860f7db2ba042993fd686d41a8f) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improve `svelte/valid-compile` to use `svelte.config.js`'s `onwarn` from the parser. + +- [#794](https://github.com/sveltejs/eslint-plugin-svelte/pull/794) [`7894f82`](https://github.com/sveltejs/eslint-plugin-svelte/commit/7894f82263d114c948cfe46a041c43a93a5d9249) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improve `svelte/valid-prop-names-in-kit-pages` to use `svelte.config.js` data from the parser. + +- [#794](https://github.com/sveltejs/eslint-plugin-svelte/pull/794) [`7894f82`](https://github.com/sveltejs/eslint-plugin-svelte/commit/7894f82263d114c948cfe46a041c43a93a5d9249) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improve `svelte/no-export-load-in-svelte-module-in-kit-pages` to use `svelte.config.js` data from the parser. + +### Patch Changes + +- [#795](https://github.com/sveltejs/eslint-plugin-svelte/pull/795) [`df947a7`](https://github.com/sveltejs/eslint-plugin-svelte/commit/df947a7161fe97021da37f4fcde44fe9923c0a22) Thanks [@baseballyama](https://github.com/baseballyama)! - deps: update `svelte-eslint-parser` to 0.39.1 to set `svelteFeatures.runes` to `true` by default for Svelte 5 + +- [#797](https://github.com/sveltejs/eslint-plugin-svelte/pull/797) [`f6d4e4c`](https://github.com/sveltejs/eslint-plugin-svelte/commit/f6d4e4c974924ef5da1a970d88f04b81a36e19b6) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: `svelte/valid-compile` to use verbatimModuleSyntax to work with TS v5.5. + +## 2.39.5 + +### Patch Changes + +- [#790](https://github.com/sveltejs/eslint-plugin-svelte/pull/790) [`f7b7649`](https://github.com/sveltejs/eslint-plugin-svelte/commit/f7b76494efbf82d3bce1b963740ef20884aa6998) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: false positives for import vars with TS in `svelte/valid-compile` + +## 2.39.4 + +### Patch Changes + +- [#786](https://github.com/sveltejs/eslint-plugin-svelte/pull/786) [`e7e25d6`](https://github.com/sveltejs/eslint-plugin-svelte/commit/e7e25d62db5050e6d16e16518a4afe67499d8efc) Thanks [@baseballyama](https://github.com/baseballyama)! - deps: update `svelte-eslint-parser` to support Svelte `5.0.0-next.155` + +## 2.39.3 + +### Patch Changes + +- [#778](https://github.com/sveltejs/eslint-plugin-svelte/pull/778) [`3e2a732`](https://github.com/sveltejs/eslint-plugin-svelte/commit/3e2a732831aae9224824bfb329ef971f135dd997) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: update svelte-eslint-parser + +## 2.39.2 + +### Patch Changes + +- [#775](https://github.com/sveltejs/eslint-plugin-svelte/pull/775) [`0e85eba`](https://github.com/sveltejs/eslint-plugin-svelte/commit/0e85ebab173759e08c1005dceda94736477ef300) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: README is not publish + +## 2.39.1 + +### Patch Changes + +- [#772](https://github.com/sveltejs/eslint-plugin-svelte/pull/772) [`0ecab95`](https://github.com/sveltejs/eslint-plugin-svelte/commit/0ecab95f74a9bd88d831671c2048a821a2194ec6) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: false positive for kebab-case with svelte v5 in `svelte/no-unused-svelte-ignore` + +## 2.39.0 + +### Minor Changes + +- [#749](https://github.com/sveltejs/eslint-plugin-svelte/pull/749) [`da4d535`](https://github.com/sveltejs/eslint-plugin-svelte/commit/da4d5357344805ef4e95aac681c2c58158199b8e) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `svelte/no-svelte-internal` rule + +- [#758](https://github.com/sveltejs/eslint-plugin-svelte/pull/758) [`6ee50c8`](https://github.com/sveltejs/eslint-plugin-svelte/commit/6ee50c8b0d8e183cf0e3c974e3b3b131007a5a30) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: Update svelte-eslint-parser to 0.36 + ## 2.38.0 ### Minor Changes diff --git a/packages/eslint-plugin-svelte/LICENSE b/packages/eslint-plugin-svelte/LICENSE new file mode 100644 index 000000000..e32111964 --- /dev/null +++ b/packages/eslint-plugin-svelte/LICENSE @@ -0,0 +1,21 @@ +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. diff --git a/babel.config.js b/packages/eslint-plugin-svelte/babel.config.js similarity index 100% rename from babel.config.js rename to packages/eslint-plugin-svelte/babel.config.js diff --git a/eslint.config.mjs b/packages/eslint-plugin-svelte/eslint.config.mjs similarity index 58% rename from eslint.config.mjs rename to packages/eslint-plugin-svelte/eslint.config.mjs index 8b3acb10c..bd2489353 100644 --- a/eslint.config.mjs +++ b/packages/eslint-plugin-svelte/eslint.config.mjs @@ -1,7 +1,5 @@ import * as myPlugin from '@ota-meshi/eslint-plugin'; import * as tseslint from 'typescript-eslint'; -import * as svelte from 'eslint-plugin-svelte'; -import globals from 'globals'; /** * @type {import('eslint').Linter.FlatConfig[]} @@ -13,40 +11,10 @@ const config = [ 'coverage/', 'lib/', 'node_modules/', - '!.vscode/', - '!.github/', - '!.devcontainer/', - 'prettier-playground/', - 'tests/fixtures/rules/indent/invalid/ts/', - 'tests/fixtures/rules/indent/invalid/ts-v5/', - 'tests/fixtures/rules/indent/invalid/snippets01-input.svelte', - 'tests/fixtures/rules/indent/valid/', - 'tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte', - 'tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte', - 'tests/fixtures/rules/valid-compile/invalid/ts/', - 'tests/fixtures/rules/valid-compile/valid/babel/', - 'tests/fixtures/rules/valid-compile/valid/ts/', - 'tests/fixtures/rules/prefer-style-directive/', - 'tests/fixtures/rules/@typescript-eslint/', - 'tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte', - 'tests/fixtures/rules/mustache-spacing/valid/always/snippet-render01-input.svelte', - 'tests/fixtures/rules/mustache-spacing/invalid/snippet-render01-input.svelte', - 'tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test-for-form-input.svelte', - '.svelte-kit/', - 'svelte.config-dist.js', 'build/', - 'docs-svelte-kit/shim/eslint.mjs', - 'docs-svelte-kit/shim/assert.mjs', '!.*.js', - 'docs-svelte-kit/src/routes/*.md', - 'docs-svelte-kit/src/routes/**/*.md', - 'docs-svelte-kit/src/app.html', 'src/rule-types.ts', - // JSONSchema bug? - '.devcontainer/devcontainer.json', - // Parser bug? - 'tests/fixtures/rules/indent/invalid/const-tag01-input.svelte', - 'tests/fixtures/rules/indent/invalid/const-tag01-output.svelte' + 'tests' ] }, ...myPlugin.config({ @@ -56,9 +24,7 @@ const config = [ json: true, packageJson: true, yaml: true, - md: true, - prettier: true, - svelte: { withTs: false } + prettier: true }), { rules: { @@ -117,26 +83,6 @@ const config = [ ] } }, - { - files: ['docs-svelte-kit/**'], - languageOptions: { - sourceType: 'module', - globals: { - ...globals.browser, - require: 'readonly' - } - }, - rules: { - 'n/file-extension-in-import': 'off', - 'n/no-unsupported-features/es-syntax': 'off' - } - }, - { - files: ['docs-svelte-kit/**/*.svelte'], - languageOptions: { - parserOptions: { project: null } - } - }, ...tseslint.config({ files: ['tests/fixtures/rules/**'], extends: [tseslint.configs.disableTypeChecked], @@ -153,13 +99,7 @@ const config = [ 'no-unused-expressions': 'off', 'no-new': 'off', 'getter-return': 'off', - 'no-sparse-arrays': 'off', - - ...Object.fromEntries( - Object.keys(svelte.rules).map((key) => { - return [`svelte/${key}`, 'off']; - }) - ) + 'no-sparse-arrays': 'off' }, languageOptions: { sourceType: 'module', @@ -183,13 +123,19 @@ const config = [ 'yml/no-tab-indent': 'off' } }, - { files: ['tests/**'], rules: { '@typescript-eslint/no-misused-promises': 'off', '@typescript-eslint/no-require-imports': 'off' } + }, + { + files: ['eslint.config.mjs'], + rules: { + // Some ESLint plugins specify in repository root's package.json, so this rule should be disabled. + 'n/no-extraneous-import': 'off' + } } ]; export default config; diff --git a/packages/eslint-plugin-svelte/package.json b/packages/eslint-plugin-svelte/package.json new file mode 100644 index 000000000..9603407f8 --- /dev/null +++ b/packages/eslint-plugin-svelte/package.json @@ -0,0 +1,120 @@ +{ + "name": "eslint-plugin-svelte", + "version": "2.41.0", + "description": "ESLint plugin for Svelte using AST", + "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git", + "homepage": "https://sveltejs.github.io/eslint-plugin-svelte", + "author": "Yosuke Ota (https://github.com/ota-meshi)", + "funding": "https://github.com/sponsors/ota-meshi", + "license": "MIT", + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "type": "commonjs", + "main": "lib/index.js", + "files": [ + "lib" + ], + "keywords": [ + "eslint", + "eslint-plugin", + "eslintplugin", + "svelte", + "sveltejs" + ], + "scripts": { + "build": "pnpm run build:meta && pnpm run build:ts", + "build:meta": "pnpm run ts ./tools/update-meta.ts", + "build:ts": "tsc --project ./tsconfig.build.json", + "clean": "rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js", + "cover": "nyc --reporter=lcov pnpm run test", + "debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", + "lint": "run-p lint:*", + "lint-fix": "pnpm run lint:es --fix && pnpm run lint:style --fix", + "lint:es": "eslint --cache .", + "mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js", + "new": "pnpm run ts ./tools/new-rule.ts", + "prebuild": "pnpm run clean", + "prerelease": "pnpm run clean && pnpm run build", + "release": "changeset publish", + "test": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", + "test:debug": "env-cmd -e debug pnpm run test", + "test:update-fixtures": "env-cmd -e update-fixtures pnpm run test", + "ts": "node -r esbuild-register", + "typecov": "type-coverage", + "update": "pnpm run ts ./tools/update.ts", + "version": "env-cmd -e version pnpm run update", + "version:ci": "env-cmd -e version-ci pnpm run update && changeset version" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0", + "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.155" + }, + "peerDependenciesMeta": { + "svelte": { + "optional": true + } + }, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@jridgewell/sourcemap-codec": "^1.4.15", + "eslint-compat-utils": "^0.5.1", + "esutils": "^2.0.3", + "known-css-properties": "^0.34.0", + "postcss": "^8.4.38", + "postcss-load-config": "^3.1.4", + "postcss-safe-parser": "^6.0.0", + "postcss-selector-parser": "^6.1.0", + "semver": "^7.6.2", + "svelte-eslint-parser": "^0.39.2" + }, + "devDependencies": { + "@babel/core": "^7.24.7", + "@babel/eslint-parser": "^7.24.7", + "@babel/plugin-proposal-function-bind": "^7.24.7", + "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", + "@types/babel__core": "^7.20.5", + "@types/eslint-utils": "^3.0.5", + "@types/esutils": "^2.0.2", + "@types/json-schema": "^7.0.15", + "@types/less": "^3.0.6", + "@types/mocha": "^10.0.6", + "@types/node": "^20.14.2", + "@types/postcss-safe-parser": "^5.0.4", + "@types/semver": "^7.5.8", + "@types/stylus": "^0.48.42", + "acorn": "^8.12.0", + "assert": "^2.1.0", + "esbuild": "^0.21.5", + "esbuild-register": "^3.5.0", + "eslint-scope": "^8.0.1", + "eslint-typegen": "^0.2.4", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.0.1", + "less": "^4.2.0", + "mocha": "^10.4.0", + "nyc": "^17.0.0", + "postcss-nested": "^6.0.1", + "sass": "^1.77.5", + "source-map-js": "^1.2.0", + "stylus": "^0.63.0", + "svelte": "^5.0.0-next.155", + "svelte-i18n": "^4.0.0", + "type-coverage": "^2.29.0", + "yaml": "^2.4.5" + }, + "publishConfig": { + "access": "public" + }, + "typeCoverage": { + "atLeast": 98.9, + "cache": true, + "detail": true, + "ignoreAsAssertion": true, + "ignoreNested": true, + "ignoreNonNullAssertion": true, + "showRelativePath": true, + "strict": true, + "update": true + } +} diff --git a/postcss.config.js b/packages/eslint-plugin-svelte/postcss.config.js similarity index 100% rename from postcss.config.js rename to packages/eslint-plugin-svelte/postcss.config.js diff --git a/src/configs/all.ts b/packages/eslint-plugin-svelte/src/configs/all.ts similarity index 79% rename from src/configs/all.ts rename to packages/eslint-plugin-svelte/src/configs/all.ts index 602a61c7f..41a45fa39 100644 --- a/src/configs/all.ts +++ b/packages/eslint-plugin-svelte/src/configs/all.ts @@ -1,8 +1,9 @@ -import path from 'path'; +import type { Linter } from 'eslint'; +import path from 'node:path'; import { rules } from '../utils/rules'; const base = require.resolve('./base'); const baseExtend = path.extname(`${base}`) === '.ts' ? 'plugin:svelte/base' : base; -export = { +const config: Linter.Config = { extends: [baseExtend], rules: Object.fromEntries( rules @@ -16,3 +17,4 @@ export = { ) ) }; +export = config; diff --git a/src/configs/base.ts b/packages/eslint-plugin-svelte/src/configs/base.ts similarity index 89% rename from src/configs/base.ts rename to packages/eslint-plugin-svelte/src/configs/base.ts index d9ebce6c1..fe0e3a94d 100644 --- a/src/configs/base.ts +++ b/packages/eslint-plugin-svelte/src/configs/base.ts @@ -1,7 +1,8 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" -export = { +import type { Linter } from 'eslint'; +const config: Linter.Config = { plugins: ['svelte'], overrides: [ { @@ -21,3 +22,4 @@ export = { } ] }; +export = config; diff --git a/src/configs/flat/all.ts b/packages/eslint-plugin-svelte/src/configs/flat/all.ts similarity index 73% rename from src/configs/flat/all.ts rename to packages/eslint-plugin-svelte/src/configs/flat/all.ts index c2dfe9771..da7addd7f 100644 --- a/src/configs/flat/all.ts +++ b/packages/eslint-plugin-svelte/src/configs/flat/all.ts @@ -1,8 +1,10 @@ +import type { Linter } from 'eslint'; import { rules } from '../../utils/rules'; import base from './base'; -export default [ +const config: Linter.FlatConfig[] = [ ...base, { + name: 'svelte:all:rules', rules: Object.fromEntries( rules .map((rule) => [`svelte/${rule.meta.docs.ruleName}`, 'error']) @@ -16,3 +18,4 @@ export default [ ) } ]; +export default config; diff --git a/src/configs/flat/base.ts b/packages/eslint-plugin-svelte/src/configs/flat/base.ts similarity index 84% rename from src/configs/flat/base.ts rename to packages/eslint-plugin-svelte/src/configs/flat/base.ts index 755a52831..6956628ea 100644 --- a/src/configs/flat/base.ts +++ b/packages/eslint-plugin-svelte/src/configs/flat/base.ts @@ -1,9 +1,10 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" -import type { ESLint } from 'eslint'; -export default [ +import type { ESLint, Linter } from 'eslint'; +const config: Linter.FlatConfig[] = [ { + name: 'svelte:base:setup-plugin', plugins: { get svelte(): ESLint.Plugin { // eslint-disable-next-line @typescript-eslint/no-require-imports -- ignore @@ -12,6 +13,7 @@ export default [ } }, { + name: 'svelte:base:setup-for-svelte', files: ['*.svelte', '**/*.svelte'], languageOptions: { // eslint-disable-next-line @typescript-eslint/no-require-imports -- ignore @@ -31,3 +33,4 @@ export default [ processor: 'svelte/svelte' } ]; +export default config; diff --git a/src/configs/flat/prettier.ts b/packages/eslint-plugin-svelte/src/configs/flat/prettier.ts similarity index 82% rename from src/configs/flat/prettier.ts rename to packages/eslint-plugin-svelte/src/configs/flat/prettier.ts index 5b2b1543b..6d1610751 100644 --- a/src/configs/flat/prettier.ts +++ b/packages/eslint-plugin-svelte/src/configs/flat/prettier.ts @@ -1,10 +1,12 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" +import type { Linter } from 'eslint'; import base from './base'; -export default [ +const config: Linter.FlatConfig[] = [ ...base, { + name: 'svelte:prettier:turn-off-rules', rules: { // eslint-plugin-svelte rules 'svelte/first-attribute-linebreak': 'off', @@ -21,3 +23,4 @@ export default [ } } ]; +export default config; diff --git a/src/configs/flat/recommended.ts b/packages/eslint-plugin-svelte/src/configs/flat/recommended.ts similarity index 86% rename from src/configs/flat/recommended.ts rename to packages/eslint-plugin-svelte/src/configs/flat/recommended.ts index 7e2c4a80d..eff2aa8d4 100644 --- a/src/configs/flat/recommended.ts +++ b/packages/eslint-plugin-svelte/src/configs/flat/recommended.ts @@ -1,10 +1,12 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" +import type { Linter } from 'eslint'; import base from './base'; -export default [ +const config: Linter.FlatConfig[] = [ ...base, { + name: 'svelte:recommended:rules', rules: { // eslint-plugin-svelte rules 'svelte/comment-directive': 'error', @@ -24,3 +26,4 @@ export default [ } } ]; +export default config; diff --git a/src/configs/prettier.ts b/packages/eslint-plugin-svelte/src/configs/prettier.ts similarity index 86% rename from src/configs/prettier.ts rename to packages/eslint-plugin-svelte/src/configs/prettier.ts index b1bf978b8..42054233b 100644 --- a/src/configs/prettier.ts +++ b/packages/eslint-plugin-svelte/src/configs/prettier.ts @@ -1,10 +1,11 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" -import path from 'path'; +import type { Linter } from 'eslint'; +import path from 'node:path'; const base = require.resolve('./base'); const baseExtend = path.extname(`${base}`) === '.ts' ? 'plugin:svelte/base' : base; -export = { +const config: Linter.Config = { extends: [baseExtend], rules: { // eslint-plugin-svelte rules @@ -21,3 +22,4 @@ export = { 'svelte/shorthand-directive': 'off' } }; +export = config; diff --git a/src/configs/recommended.ts b/packages/eslint-plugin-svelte/src/configs/recommended.ts similarity index 88% rename from src/configs/recommended.ts rename to packages/eslint-plugin-svelte/src/configs/recommended.ts index b865b64e2..5e53547be 100644 --- a/src/configs/recommended.ts +++ b/packages/eslint-plugin-svelte/src/configs/recommended.ts @@ -1,10 +1,11 @@ // IMPORTANT! // This file has been automatically generated, // in order to update its content execute "pnpm run update" -import path from 'path'; +import type { Linter } from 'eslint'; +import path from 'node:path'; const base = require.resolve('./base'); const baseExtend = path.extname(`${base}`) === '.ts' ? 'plugin:svelte/base' : base; -export = { +const config: Linter.Config = { extends: [baseExtend], rules: { // eslint-plugin-svelte rules @@ -24,3 +25,4 @@ export = { 'svelte/valid-compile': 'error' } }; +export = config; diff --git a/src/index.ts b/packages/eslint-plugin-svelte/src/index.ts similarity index 100% rename from src/index.ts rename to packages/eslint-plugin-svelte/src/index.ts diff --git a/src/meta.ts b/packages/eslint-plugin-svelte/src/meta.ts similarity index 83% rename from src/meta.ts rename to packages/eslint-plugin-svelte/src/meta.ts index bd0fd9420..40860cbbc 100644 --- a/src/meta.ts +++ b/packages/eslint-plugin-svelte/src/meta.ts @@ -2,4 +2,4 @@ // This file has been automatically generated, // in order to update its content execute "pnpm run update" export const name = 'eslint-plugin-svelte'; -export const version = '2.38.0'; +export const version = '2.41.0'; diff --git a/src/processor/index.ts b/packages/eslint-plugin-svelte/src/processor/index.ts similarity index 100% rename from src/processor/index.ts rename to packages/eslint-plugin-svelte/src/processor/index.ts diff --git a/src/rule-types.ts b/packages/eslint-plugin-svelte/src/rule-types.ts similarity index 98% rename from src/rule-types.ts rename to packages/eslint-plugin-svelte/src/rule-types.ts index 8f9e88911..77d3c4ca4 100644 --- a/src/rule-types.ts +++ b/packages/eslint-plugin-svelte/src/rule-types.ts @@ -209,6 +209,11 @@ export interface RuleOptions { * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/ */ 'svelte/no-store-async'?: Linter.RuleEntry<[]> + /** + * svelte/internal will be removed in Svelte 6. + * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/ + */ + 'svelte/no-svelte-internal'?: Linter.RuleEntry<[]> /** * disallow `target="_blank"` attribute without `rel="noopener noreferrer"` * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/ diff --git a/src/rules/@typescript-eslint/no-unnecessary-condition.ts b/packages/eslint-plugin-svelte/src/rules/@typescript-eslint/no-unnecessary-condition.ts similarity index 100% rename from src/rules/@typescript-eslint/no-unnecessary-condition.ts rename to packages/eslint-plugin-svelte/src/rules/@typescript-eslint/no-unnecessary-condition.ts diff --git a/src/rules/block-lang.ts b/packages/eslint-plugin-svelte/src/rules/block-lang.ts similarity index 100% rename from src/rules/block-lang.ts rename to packages/eslint-plugin-svelte/src/rules/block-lang.ts diff --git a/src/rules/button-has-type.ts b/packages/eslint-plugin-svelte/src/rules/button-has-type.ts similarity index 100% rename from src/rules/button-has-type.ts rename to packages/eslint-plugin-svelte/src/rules/button-has-type.ts diff --git a/src/rules/comment-directive.ts b/packages/eslint-plugin-svelte/src/rules/comment-directive.ts similarity index 100% rename from src/rules/comment-directive.ts rename to packages/eslint-plugin-svelte/src/rules/comment-directive.ts diff --git a/src/rules/derived-has-same-inputs-outputs.ts b/packages/eslint-plugin-svelte/src/rules/derived-has-same-inputs-outputs.ts similarity index 100% rename from src/rules/derived-has-same-inputs-outputs.ts rename to packages/eslint-plugin-svelte/src/rules/derived-has-same-inputs-outputs.ts diff --git a/src/rules/experimental-require-slot-types.ts b/packages/eslint-plugin-svelte/src/rules/experimental-require-slot-types.ts similarity index 100% rename from src/rules/experimental-require-slot-types.ts rename to packages/eslint-plugin-svelte/src/rules/experimental-require-slot-types.ts diff --git a/src/rules/experimental-require-strict-events.ts b/packages/eslint-plugin-svelte/src/rules/experimental-require-strict-events.ts similarity index 100% rename from src/rules/experimental-require-strict-events.ts rename to packages/eslint-plugin-svelte/src/rules/experimental-require-strict-events.ts diff --git a/src/rules/first-attribute-linebreak.ts b/packages/eslint-plugin-svelte/src/rules/first-attribute-linebreak.ts similarity index 100% rename from src/rules/first-attribute-linebreak.ts rename to packages/eslint-plugin-svelte/src/rules/first-attribute-linebreak.ts diff --git a/src/rules/html-closing-bracket-spacing.ts b/packages/eslint-plugin-svelte/src/rules/html-closing-bracket-spacing.ts similarity index 100% rename from src/rules/html-closing-bracket-spacing.ts rename to packages/eslint-plugin-svelte/src/rules/html-closing-bracket-spacing.ts diff --git a/src/rules/html-quotes.ts b/packages/eslint-plugin-svelte/src/rules/html-quotes.ts similarity index 100% rename from src/rules/html-quotes.ts rename to packages/eslint-plugin-svelte/src/rules/html-quotes.ts diff --git a/src/rules/html-self-closing.ts b/packages/eslint-plugin-svelte/src/rules/html-self-closing.ts similarity index 100% rename from src/rules/html-self-closing.ts rename to packages/eslint-plugin-svelte/src/rules/html-self-closing.ts diff --git a/src/rules/indent-helpers/ast.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/ast.ts similarity index 100% rename from src/rules/indent-helpers/ast.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/ast.ts diff --git a/src/rules/indent-helpers/commons.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/commons.ts similarity index 100% rename from src/rules/indent-helpers/commons.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/commons.ts diff --git a/src/rules/indent-helpers/es.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/es.ts similarity index 97% rename from src/rules/indent-helpers/es.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/es.ts index 583222a51..a0d684521 100644 --- a/src/rules/indent-helpers/es.ts +++ b/packages/eslint-plugin-svelte/src/rules/indent-helpers/es.ts @@ -30,9 +30,9 @@ export function defineVisitor(context: IndentContext): NodeListener { const { sourceCode, offsets, options } = context; /** - * Find the root of left node. + * Find the head of chaining nodes. */ - function getRootLeft( + function getChainHeadNode( node: | TSESTree.AssignmentExpression | TSESTree.AssignmentPattern @@ -49,13 +49,20 @@ export function defineVisitor(context: IndentContext): NodeListener { parent.type === 'LogicalExpression') ) { const prevToken = sourceCode.getTokenBefore(target); - if (prevToken && isOpeningParenToken(prevToken)) { + const nextToken = sourceCode.getTokenAfter(target); + if ( + prevToken && + isOpeningParenToken(prevToken) && + nextToken && + isClosingParenToken(nextToken) + ) { + // The chain is broken because it is enclosed in parentheses. break; } target = parent; parent = getParent(target); } - return target.left; + return target; } const visitor = { @@ -116,17 +123,22 @@ export function defineVisitor(context: IndentContext): NodeListener { | TSESTree.BinaryExpression | TSESTree.LogicalExpression ) { - const leftNode = getRootLeft(node); + const baseNode = getChainHeadNode(node); const opToken = sourceCode.getTokenAfter(node.left, { filter: isNotClosingParenToken, includeComments: false })!; + const baseToken = + baseNode.type === 'AssignmentExpression' || baseNode.type === 'AssignmentPattern' + ? sourceCode.getFirstToken(baseNode) + : getFirstAndLastTokens(sourceCode, baseNode).firstToken; + const leftToken = getFirstAndLastTokens(sourceCode, node.left).firstToken; const rightToken = getFirstAndLastTokens(sourceCode, node.right).firstToken; offsets.setOffsetToken( - [opToken, rightToken], + [leftToken === baseToken ? null : leftToken, opToken, rightToken], 1, - getFirstAndLastTokens(sourceCode, leftNode).firstToken + baseToken ); }, AssignmentPattern(node: TSESTree.AssignmentPattern) { diff --git a/src/rules/indent-helpers/index.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/index.ts similarity index 100% rename from src/rules/indent-helpers/index.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/index.ts diff --git a/src/rules/indent-helpers/offset-context.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/offset-context.ts similarity index 100% rename from src/rules/indent-helpers/offset-context.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/offset-context.ts diff --git a/src/rules/indent-helpers/svelte.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/svelte.ts similarity index 100% rename from src/rules/indent-helpers/svelte.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/svelte.ts diff --git a/src/rules/indent-helpers/ts.ts b/packages/eslint-plugin-svelte/src/rules/indent-helpers/ts.ts similarity index 100% rename from src/rules/indent-helpers/ts.ts rename to packages/eslint-plugin-svelte/src/rules/indent-helpers/ts.ts diff --git a/src/rules/indent.ts b/packages/eslint-plugin-svelte/src/rules/indent.ts similarity index 100% rename from src/rules/indent.ts rename to packages/eslint-plugin-svelte/src/rules/indent.ts diff --git a/src/rules/infinite-reactive-loop.ts b/packages/eslint-plugin-svelte/src/rules/infinite-reactive-loop.ts similarity index 100% rename from src/rules/infinite-reactive-loop.ts rename to packages/eslint-plugin-svelte/src/rules/infinite-reactive-loop.ts diff --git a/src/rules/max-attributes-per-line.ts b/packages/eslint-plugin-svelte/src/rules/max-attributes-per-line.ts similarity index 100% rename from src/rules/max-attributes-per-line.ts rename to packages/eslint-plugin-svelte/src/rules/max-attributes-per-line.ts diff --git a/src/rules/mustache-spacing.ts b/packages/eslint-plugin-svelte/src/rules/mustache-spacing.ts similarity index 100% rename from src/rules/mustache-spacing.ts rename to packages/eslint-plugin-svelte/src/rules/mustache-spacing.ts diff --git a/src/rules/no-at-debug-tags.ts b/packages/eslint-plugin-svelte/src/rules/no-at-debug-tags.ts similarity index 100% rename from src/rules/no-at-debug-tags.ts rename to packages/eslint-plugin-svelte/src/rules/no-at-debug-tags.ts diff --git a/src/rules/no-at-html-tags.ts b/packages/eslint-plugin-svelte/src/rules/no-at-html-tags.ts similarity index 100% rename from src/rules/no-at-html-tags.ts rename to packages/eslint-plugin-svelte/src/rules/no-at-html-tags.ts diff --git a/src/rules/no-dom-manipulating.ts b/packages/eslint-plugin-svelte/src/rules/no-dom-manipulating.ts similarity index 100% rename from src/rules/no-dom-manipulating.ts rename to packages/eslint-plugin-svelte/src/rules/no-dom-manipulating.ts diff --git a/src/rules/no-dupe-else-if-blocks.ts b/packages/eslint-plugin-svelte/src/rules/no-dupe-else-if-blocks.ts similarity index 100% rename from src/rules/no-dupe-else-if-blocks.ts rename to packages/eslint-plugin-svelte/src/rules/no-dupe-else-if-blocks.ts diff --git a/src/rules/no-dupe-on-directives.ts b/packages/eslint-plugin-svelte/src/rules/no-dupe-on-directives.ts similarity index 100% rename from src/rules/no-dupe-on-directives.ts rename to packages/eslint-plugin-svelte/src/rules/no-dupe-on-directives.ts diff --git a/src/rules/no-dupe-style-properties.ts b/packages/eslint-plugin-svelte/src/rules/no-dupe-style-properties.ts similarity index 100% rename from src/rules/no-dupe-style-properties.ts rename to packages/eslint-plugin-svelte/src/rules/no-dupe-style-properties.ts diff --git a/src/rules/no-dupe-use-directives.ts b/packages/eslint-plugin-svelte/src/rules/no-dupe-use-directives.ts similarity index 100% rename from src/rules/no-dupe-use-directives.ts rename to packages/eslint-plugin-svelte/src/rules/no-dupe-use-directives.ts diff --git a/src/rules/no-dynamic-slot-name.ts b/packages/eslint-plugin-svelte/src/rules/no-dynamic-slot-name.ts similarity index 100% rename from src/rules/no-dynamic-slot-name.ts rename to packages/eslint-plugin-svelte/src/rules/no-dynamic-slot-name.ts diff --git a/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts b/packages/eslint-plugin-svelte/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts similarity index 100% rename from src/rules/no-export-load-in-svelte-module-in-kit-pages.ts rename to packages/eslint-plugin-svelte/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts diff --git a/src/rules/no-extra-reactive-curlies.ts b/packages/eslint-plugin-svelte/src/rules/no-extra-reactive-curlies.ts similarity index 100% rename from src/rules/no-extra-reactive-curlies.ts rename to packages/eslint-plugin-svelte/src/rules/no-extra-reactive-curlies.ts diff --git a/src/rules/no-goto-without-base.ts b/packages/eslint-plugin-svelte/src/rules/no-goto-without-base.ts similarity index 100% rename from src/rules/no-goto-without-base.ts rename to packages/eslint-plugin-svelte/src/rules/no-goto-without-base.ts diff --git a/src/rules/no-ignored-unsubscribe.ts b/packages/eslint-plugin-svelte/src/rules/no-ignored-unsubscribe.ts similarity index 100% rename from src/rules/no-ignored-unsubscribe.ts rename to packages/eslint-plugin-svelte/src/rules/no-ignored-unsubscribe.ts diff --git a/src/rules/no-immutable-reactive-statements.ts b/packages/eslint-plugin-svelte/src/rules/no-immutable-reactive-statements.ts similarity index 100% rename from src/rules/no-immutable-reactive-statements.ts rename to packages/eslint-plugin-svelte/src/rules/no-immutable-reactive-statements.ts diff --git a/src/rules/no-inline-styles.ts b/packages/eslint-plugin-svelte/src/rules/no-inline-styles.ts similarity index 100% rename from src/rules/no-inline-styles.ts rename to packages/eslint-plugin-svelte/src/rules/no-inline-styles.ts diff --git a/src/rules/no-inner-declarations.ts b/packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts similarity index 100% rename from src/rules/no-inner-declarations.ts rename to packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts diff --git a/src/rules/no-not-function-handler.ts b/packages/eslint-plugin-svelte/src/rules/no-not-function-handler.ts similarity index 100% rename from src/rules/no-not-function-handler.ts rename to packages/eslint-plugin-svelte/src/rules/no-not-function-handler.ts diff --git a/src/rules/no-object-in-text-mustaches.ts b/packages/eslint-plugin-svelte/src/rules/no-object-in-text-mustaches.ts similarity index 100% rename from src/rules/no-object-in-text-mustaches.ts rename to packages/eslint-plugin-svelte/src/rules/no-object-in-text-mustaches.ts diff --git a/src/rules/no-reactive-functions.ts b/packages/eslint-plugin-svelte/src/rules/no-reactive-functions.ts similarity index 100% rename from src/rules/no-reactive-functions.ts rename to packages/eslint-plugin-svelte/src/rules/no-reactive-functions.ts diff --git a/src/rules/no-reactive-literals.ts b/packages/eslint-plugin-svelte/src/rules/no-reactive-literals.ts similarity index 100% rename from src/rules/no-reactive-literals.ts rename to packages/eslint-plugin-svelte/src/rules/no-reactive-literals.ts diff --git a/src/rules/no-reactive-reassign.ts b/packages/eslint-plugin-svelte/src/rules/no-reactive-reassign.ts similarity index 100% rename from src/rules/no-reactive-reassign.ts rename to packages/eslint-plugin-svelte/src/rules/no-reactive-reassign.ts diff --git a/src/rules/no-restricted-html-elements.ts b/packages/eslint-plugin-svelte/src/rules/no-restricted-html-elements.ts similarity index 100% rename from src/rules/no-restricted-html-elements.ts rename to packages/eslint-plugin-svelte/src/rules/no-restricted-html-elements.ts diff --git a/src/rules/no-shorthand-style-property-overrides.ts b/packages/eslint-plugin-svelte/src/rules/no-shorthand-style-property-overrides.ts similarity index 100% rename from src/rules/no-shorthand-style-property-overrides.ts rename to packages/eslint-plugin-svelte/src/rules/no-shorthand-style-property-overrides.ts diff --git a/src/rules/no-spaces-around-equal-signs-in-attribute.ts b/packages/eslint-plugin-svelte/src/rules/no-spaces-around-equal-signs-in-attribute.ts similarity index 100% rename from src/rules/no-spaces-around-equal-signs-in-attribute.ts rename to packages/eslint-plugin-svelte/src/rules/no-spaces-around-equal-signs-in-attribute.ts diff --git a/src/rules/no-store-async.ts b/packages/eslint-plugin-svelte/src/rules/no-store-async.ts similarity index 100% rename from src/rules/no-store-async.ts rename to packages/eslint-plugin-svelte/src/rules/no-store-async.ts diff --git a/packages/eslint-plugin-svelte/src/rules/no-svelte-internal.ts b/packages/eslint-plugin-svelte/src/rules/no-svelte-internal.ts new file mode 100644 index 000000000..114496e62 --- /dev/null +++ b/packages/eslint-plugin-svelte/src/rules/no-svelte-internal.ts @@ -0,0 +1,59 @@ +import { createRule } from '../utils'; +import type { TSESTree } from '@typescript-eslint/types'; + +export default createRule('no-svelte-internal', { + meta: { + docs: { + description: 'svelte/internal will be removed in Svelte 6.', + category: 'Best Practices', + // TODO Switch to recommended in the major version. + // recommended: true, + recommended: false + }, + schema: [], + messages: { + unexpected: 'Using svelte/internal is prohibited. This will be removed in Svelte 6.' + }, + type: 'problem' + }, + create(context) { + function report(node: TSESTree.Node) { + context.report({ + node, + messageId: 'unexpected' + }); + } + + function isSvelteInternal(value: string) { + return value === 'svelte/internal' || value.startsWith('svelte/internal/'); + } + + return { + ImportDeclaration(node) { + if (node.source && isSvelteInternal(node.source.value)) { + report(node); + } + }, + ImportExpression(node) { + if ( + node.source && + node.source.type === 'Literal' && + typeof node.source.value === 'string' && + isSvelteInternal(node.source.value) + ) { + report(node); + } + }, + ExportNamedDeclaration(node) { + if (node.source && isSvelteInternal(node.source.value)) { + report(node); + } + }, + ExportAllDeclaration(node) { + if (node.source && isSvelteInternal(node.source.value)) { + report(node); + } + } + }; + } +}); diff --git a/src/rules/no-target-blank.ts b/packages/eslint-plugin-svelte/src/rules/no-target-blank.ts similarity index 100% rename from src/rules/no-target-blank.ts rename to packages/eslint-plugin-svelte/src/rules/no-target-blank.ts diff --git a/src/rules/no-trailing-spaces.ts b/packages/eslint-plugin-svelte/src/rules/no-trailing-spaces.ts similarity index 100% rename from src/rules/no-trailing-spaces.ts rename to packages/eslint-plugin-svelte/src/rules/no-trailing-spaces.ts diff --git a/src/rules/no-unknown-style-directive-property.ts b/packages/eslint-plugin-svelte/src/rules/no-unknown-style-directive-property.ts similarity index 100% rename from src/rules/no-unknown-style-directive-property.ts rename to packages/eslint-plugin-svelte/src/rules/no-unknown-style-directive-property.ts diff --git a/src/rules/no-unused-class-name.ts b/packages/eslint-plugin-svelte/src/rules/no-unused-class-name.ts similarity index 94% rename from src/rules/no-unused-class-name.ts rename to packages/eslint-plugin-svelte/src/rules/no-unused-class-name.ts index 57f795725..9d183c850 100644 --- a/src/rules/no-unused-class-name.ts +++ b/packages/eslint-plugin-svelte/src/rules/no-unused-class-name.ts @@ -56,12 +56,12 @@ export default createRule('no-unused-class-name', { } }, 'Program:exit'() { - const styleContext = sourceCode.parserServices.getStyleContext(); - if (['parse-error', 'unknown-lang'].includes(styleContext.status)) { + const styleContext = sourceCode.parserServices.getStyleContext!(); + if (styleContext.status === 'parse-error' || styleContext.status === 'unknown-lang') { return; } const classesUsedInStyle = - styleContext.sourceAst != null ? findClassesInPostCSSNode(styleContext.sourceAst) : []; + styleContext.status === 'success' ? findClassesInPostCSSNode(styleContext.sourceAst) : []; for (const className in classesUsedInTemplate) { if (!allowedClassNames.includes(className) && !classesUsedInStyle.includes(className)) { context.report({ diff --git a/src/rules/no-unused-svelte-ignore.ts b/packages/eslint-plugin-svelte/src/rules/no-unused-svelte-ignore.ts similarity index 100% rename from src/rules/no-unused-svelte-ignore.ts rename to packages/eslint-plugin-svelte/src/rules/no-unused-svelte-ignore.ts diff --git a/src/rules/no-useless-mustaches.ts b/packages/eslint-plugin-svelte/src/rules/no-useless-mustaches.ts similarity index 100% rename from src/rules/no-useless-mustaches.ts rename to packages/eslint-plugin-svelte/src/rules/no-useless-mustaches.ts diff --git a/src/rules/prefer-class-directive.ts b/packages/eslint-plugin-svelte/src/rules/prefer-class-directive.ts similarity index 100% rename from src/rules/prefer-class-directive.ts rename to packages/eslint-plugin-svelte/src/rules/prefer-class-directive.ts diff --git a/src/rules/prefer-destructured-store-props.ts b/packages/eslint-plugin-svelte/src/rules/prefer-destructured-store-props.ts similarity index 100% rename from src/rules/prefer-destructured-store-props.ts rename to packages/eslint-plugin-svelte/src/rules/prefer-destructured-store-props.ts diff --git a/src/rules/prefer-style-directive.ts b/packages/eslint-plugin-svelte/src/rules/prefer-style-directive.ts similarity index 100% rename from src/rules/prefer-style-directive.ts rename to packages/eslint-plugin-svelte/src/rules/prefer-style-directive.ts diff --git a/src/rules/reference-helpers/svelte-store.ts b/packages/eslint-plugin-svelte/src/rules/reference-helpers/svelte-store.ts similarity index 100% rename from src/rules/reference-helpers/svelte-store.ts rename to packages/eslint-plugin-svelte/src/rules/reference-helpers/svelte-store.ts diff --git a/src/rules/require-each-key.ts b/packages/eslint-plugin-svelte/src/rules/require-each-key.ts similarity index 100% rename from src/rules/require-each-key.ts rename to packages/eslint-plugin-svelte/src/rules/require-each-key.ts diff --git a/src/rules/require-event-dispatcher-types.ts b/packages/eslint-plugin-svelte/src/rules/require-event-dispatcher-types.ts similarity index 100% rename from src/rules/require-event-dispatcher-types.ts rename to packages/eslint-plugin-svelte/src/rules/require-event-dispatcher-types.ts diff --git a/src/rules/require-optimized-style-attribute.ts b/packages/eslint-plugin-svelte/src/rules/require-optimized-style-attribute.ts similarity index 100% rename from src/rules/require-optimized-style-attribute.ts rename to packages/eslint-plugin-svelte/src/rules/require-optimized-style-attribute.ts diff --git a/src/rules/require-store-callbacks-use-set-param.ts b/packages/eslint-plugin-svelte/src/rules/require-store-callbacks-use-set-param.ts similarity index 100% rename from src/rules/require-store-callbacks-use-set-param.ts rename to packages/eslint-plugin-svelte/src/rules/require-store-callbacks-use-set-param.ts diff --git a/src/rules/require-store-reactive-access.ts b/packages/eslint-plugin-svelte/src/rules/require-store-reactive-access.ts similarity index 100% rename from src/rules/require-store-reactive-access.ts rename to packages/eslint-plugin-svelte/src/rules/require-store-reactive-access.ts diff --git a/src/rules/require-stores-init.ts b/packages/eslint-plugin-svelte/src/rules/require-stores-init.ts similarity index 100% rename from src/rules/require-stores-init.ts rename to packages/eslint-plugin-svelte/src/rules/require-stores-init.ts diff --git a/src/rules/shorthand-attribute.ts b/packages/eslint-plugin-svelte/src/rules/shorthand-attribute.ts similarity index 100% rename from src/rules/shorthand-attribute.ts rename to packages/eslint-plugin-svelte/src/rules/shorthand-attribute.ts diff --git a/src/rules/shorthand-directive.ts b/packages/eslint-plugin-svelte/src/rules/shorthand-directive.ts similarity index 100% rename from src/rules/shorthand-directive.ts rename to packages/eslint-plugin-svelte/src/rules/shorthand-directive.ts diff --git a/src/rules/sort-attributes.ts b/packages/eslint-plugin-svelte/src/rules/sort-attributes.ts similarity index 100% rename from src/rules/sort-attributes.ts rename to packages/eslint-plugin-svelte/src/rules/sort-attributes.ts diff --git a/src/rules/spaced-html-comment.ts b/packages/eslint-plugin-svelte/src/rules/spaced-html-comment.ts similarity index 100% rename from src/rules/spaced-html-comment.ts rename to packages/eslint-plugin-svelte/src/rules/spaced-html-comment.ts diff --git a/src/rules/system.ts b/packages/eslint-plugin-svelte/src/rules/system.ts similarity index 100% rename from src/rules/system.ts rename to packages/eslint-plugin-svelte/src/rules/system.ts diff --git a/src/rules/valid-compile.ts b/packages/eslint-plugin-svelte/src/rules/valid-compile.ts similarity index 53% rename from src/rules/valid-compile.ts rename to packages/eslint-plugin-svelte/src/rules/valid-compile.ts index e56e6ec7b..e202164f3 100644 --- a/src/rules/valid-compile.ts +++ b/packages/eslint-plugin-svelte/src/rules/valid-compile.ts @@ -1,5 +1,5 @@ import { createRule } from '../utils'; -import type { Warning } from '../shared/svelte-compile-warns'; +import type { SvelteCompileWarnings, Warning } from '../shared/svelte-compile-warns'; import { getSvelteCompileWarnings } from '../shared/svelte-compile-warns'; import { getSourceCode } from '../utils/compat'; @@ -23,9 +23,21 @@ export default createRule('valid-compile', { type: 'problem' }, create(context) { - if (!getSourceCode(context).parserServices.isSvelte) { + const sourceCode = getSourceCode(context); + if (!sourceCode.parserServices.isSvelte) { return {}; } + const onwarn = sourceCode.parserServices.svelteParseContext?.svelteConfig?.onwarn; + + const transform: (warning: Warning) => Warning | null = onwarn + ? (warning) => { + if (!warning.code) return warning; + let result: Warning | null = null; + onwarn(warning, (reportWarn) => (result = reportWarn)); + return result; + } + : (warning) => warning; + const ignoreWarnings = Boolean(context.options[0]?.ignoreWarnings); const ignores = [ @@ -39,17 +51,21 @@ export default createRule('valid-compile', { /** * report */ - function report(warnings: Warning[]) { + function report({ warnings, kind }: SvelteCompileWarnings) { for (const warn of warnings) { if (warn.code && ignores.includes(warn.code)) { continue; } + const reportWarn = kind === 'warn' ? transform(warn) : warn; + if (!reportWarn) { + continue; + } context.report({ loc: { - start: warn.start || warn.end || { line: 1, column: 0 }, - end: warn.end || warn.start || { line: 1, column: 0 } + start: reportWarn.start || reportWarn.end || { line: 1, column: 0 }, + end: reportWarn.end || reportWarn.start || { line: 1, column: 0 } }, - message: `${warn.message}${warn.code ? `(${warn.code})` : ''}` + message: `${reportWarn.message}${reportWarn.code ? `(${reportWarn.code})` : ''}` }); } } @@ -60,7 +76,7 @@ export default createRule('valid-compile', { if (ignoreWarnings && result.kind === 'warn') { return; } - report(result.warnings); + report(result); } }; } diff --git a/src/rules/valid-each-key.ts b/packages/eslint-plugin-svelte/src/rules/valid-each-key.ts similarity index 100% rename from src/rules/valid-each-key.ts rename to packages/eslint-plugin-svelte/src/rules/valid-each-key.ts diff --git a/src/rules/valid-prop-names-in-kit-pages.ts b/packages/eslint-plugin-svelte/src/rules/valid-prop-names-in-kit-pages.ts similarity index 100% rename from src/rules/valid-prop-names-in-kit-pages.ts rename to packages/eslint-plugin-svelte/src/rules/valid-prop-names-in-kit-pages.ts diff --git a/src/shared/comment-directives.ts b/packages/eslint-plugin-svelte/src/shared/comment-directives.ts similarity index 100% rename from src/shared/comment-directives.ts rename to packages/eslint-plugin-svelte/src/shared/comment-directives.ts diff --git a/src/shared/index.ts b/packages/eslint-plugin-svelte/src/shared/index.ts similarity index 100% rename from src/shared/index.ts rename to packages/eslint-plugin-svelte/src/shared/index.ts diff --git a/src/shared/svelte-compile-warns/extract-leading-comments.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/extract-leading-comments.ts similarity index 100% rename from src/shared/svelte-compile-warns/extract-leading-comments.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/extract-leading-comments.ts diff --git a/src/shared/svelte-compile-warns/ignore-comment.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/ignore-comment.ts similarity index 74% rename from src/shared/svelte-compile-warns/ignore-comment.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/ignore-comment.ts index 4d3fada04..623909ab1 100644 --- a/src/shared/svelte-compile-warns/ignore-comment.ts +++ b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/ignore-comment.ts @@ -4,6 +4,22 @@ import { getSourceCode } from '../../utils/compat'; const SVELTE_IGNORE_PATTERN = /^\s*svelte-ignore/m; +/** + * Map of legacy code -> new code + * See https://github.com/sveltejs/svelte/blob/c9202a889612df3c2fcb369096a5573668be99d6/packages/svelte/src/compiler/utils/extract_svelte_ignore.js#L6 + */ +const V5_REPLACEMENTS: Record = { + 'non-top-level-reactive-declaration': 'reactive_declaration_invalid_placement', + 'module-script-reactive-declaration': 'reactive_declaration_module_script', + 'empty-block': 'block_empty', + 'avoid-is': 'attribute_avoid_is', + 'invalid-html-attribute': 'attribute_invalid_property_name', + 'a11y-structure': 'a11y_figcaption_parent', + 'illegal-attribute-character': 'attribute_illegal_colon', + 'invalid-rest-eachblock-binding': 'bind_invalid_each_rest', + 'unused-export-let': 'export_let_unused' +}; + export type IgnoreItemWithoutCode = { range: [number, number]; code: null; @@ -12,6 +28,7 @@ export type IgnoreItemWithoutCode = { export type IgnoreItem = { range: [number, number]; code: string; + codeForV5: string; // Code targeting Svelte v5. token: AST.Token | AST.Comment; }; @@ -75,6 +92,7 @@ function extractSvelteIgnore( if (trimmed) { results.push({ code: trimmed, + codeForV5: V5_REPLACEMENTS[trimmed] || trimmed.replace(/-/gu, '_'), range: [start, end], token }); diff --git a/src/shared/svelte-compile-warns/index.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/index.ts similarity index 95% rename from src/shared/svelte-compile-warns/index.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/index.ts index 20e184507..01cc5449b 100644 --- a/src/shared/svelte-compile-warns/index.ts +++ b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/index.ts @@ -1,5 +1,4 @@ import type { AST } from 'svelte-eslint-parser'; -import type {} from 'svelte'; // FIXME: Workaround to get type information for "svelte/compiler" import * as compiler from 'svelte/compiler'; import type { SourceMapMappings } from '@jridgewell/sourcemap-codec'; import { decode } from '@jridgewell/sourcemap-codec'; @@ -45,6 +44,7 @@ const STYLE_TRANSFORMS: Record const CSS_WARN_CODES = new Set([ 'css-unused-selector', + 'css_unused_selector', 'css-invalid-global', 'css-invalid-global-selector' ]); @@ -59,16 +59,25 @@ export type Loc = { start?: { line: number; column: number; + character: number; }; end?: { line: number; column: number; + character: number; }; }; -export type Warning = { - code?: string; - message: string; -} & Loc; +export type Warning = ( + | { + code: string; + message: string; + } + | { + code?: undefined; + message: string; + } +) & + Loc; /** * Get svelte compile warnings @@ -227,51 +236,24 @@ function getSvelteCompileWarningsWithoutCache(context: RuleContext): SvelteCompi } } - public remapLocs(points: { - start?: { - line: number; - column: number; - }; - end?: { - line: number; - column: number; - }; - }): { - start?: { - line: number; - column: number; - }; - end?: { - line: number; - column: number; - }; - } { + public remapLocs(points: Loc): Loc { const mapIndexes = this.mapIndexes; const locs = (this.locs = this.locs ?? new LinesAndColumns(this.code)); - let start: - | { - line: number; - column: number; - } - | undefined = undefined; - let end: - | { - line: number; - column: number; - } - | undefined = undefined; + let start: Loc['start'] | undefined = undefined; + let end: Loc['end'] | undefined = undefined; if (points.start) { const index = locs.getIndexFromLoc(points.start); const remapped = remapIndex(index); if (remapped) { - start = sourceCode.getLocFromIndex(remapped); + start = { ...sourceCode.getLocFromIndex(remapped), character: remapped }; } } if (points.end) { const index = locs.getIndexFromLoc(points.end); const remapped = remapIndex(index - 1 /* include index */); if (remapped) { - end = sourceCode.getLocFromIndex(remapped + 1 /* restore */); + const character = remapped + 1; /* restore */ + end = { ...sourceCode.getLocFromIndex(character), character }; } } @@ -481,7 +463,9 @@ function processIgnore( while (node) { for (const comment of extractLeadingComments(context, node).reverse()) { const ignoreItem = ignoreComments.find( - (item) => item.token === comment && item.code === warning.code + (item) => + item.token === comment && + (item.code === warning.code || item.codeForV5 === warning.code) ); if (ignoreItem) { unusedIgnores.delete(ignoreItem); @@ -497,7 +481,9 @@ function processIgnore( for (const node of stripStyleElements) { for (const comment of extractLeadingComments(context, node).reverse()) { const ignoreItem = ignoreComments.find( - (item) => item.token === comment && CSS_WARN_CODES.has(item.code) + (item) => + item.token === comment && + (CSS_WARN_CODES.has(item.code) || CSS_WARN_CODES.has(item.codeForV5)) ); if (ignoreItem) { unusedIgnores.delete(ignoreItem); diff --git a/src/shared/svelte-compile-warns/transform/babel.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/babel.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/babel.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/babel.ts diff --git a/src/shared/svelte-compile-warns/transform/less.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/less.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/less.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/less.ts diff --git a/src/shared/svelte-compile-warns/transform/postcss.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/postcss.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/postcss.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/postcss.ts diff --git a/src/shared/svelte-compile-warns/transform/sass.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/sass.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/sass.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/sass.ts diff --git a/src/shared/svelte-compile-warns/transform/stylus.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/stylus.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/stylus.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/stylus.ts diff --git a/src/shared/svelte-compile-warns/transform/types.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/types.ts similarity index 100% rename from src/shared/svelte-compile-warns/transform/types.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/types.ts diff --git a/src/shared/svelte-compile-warns/transform/typescript.ts b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/typescript.ts similarity index 96% rename from src/shared/svelte-compile-warns/transform/typescript.ts rename to packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/typescript.ts index 90f755913..248fd1d8c 100644 --- a/src/shared/svelte-compile-warns/transform/typescript.ts +++ b/packages/eslint-plugin-svelte/src/shared/svelte-compile-warns/transform/typescript.ts @@ -35,6 +35,8 @@ export function transform( ts.ScriptTarget.ESNext, module: ts.ModuleKind.ESNext, importsNotUsedAsValues: ts.ImportsNotUsedAsValues.Preserve, + preserveValueImports: true, + verbatimModuleSyntax: true, sourceMap: true } }); diff --git a/src/types-for-node.ts b/packages/eslint-plugin-svelte/src/types-for-node.ts similarity index 100% rename from src/types-for-node.ts rename to packages/eslint-plugin-svelte/src/types-for-node.ts diff --git a/src/types.ts b/packages/eslint-plugin-svelte/src/types.ts similarity index 90% rename from src/types.ts rename to packages/eslint-plugin-svelte/src/types.ts index ab313fbb6..a04eb81f8 100644 --- a/src/types.ts +++ b/packages/eslint-plugin-svelte/src/types.ts @@ -1,9 +1,10 @@ import type { JSONSchema4 } from 'json-schema'; import type { Linter, Rule, SourceCode as ESLintSourceCode } from 'eslint'; -import type { AST } from 'svelte-eslint-parser'; +import type { AST, StyleContext, SvelteConfig } from 'svelte-eslint-parser'; import type { TSESTree } from '@typescript-eslint/types'; import type { ScopeManager, Scope, Variable } from '@typescript-eslint/scope-manager'; import type { ASTNode, ASTNodeWithParent, ASTNodeListener } from './types-for-node'; +import type * as TS from 'typescript'; export type { ASTNode, ASTNodeWithParent, ASTNodeListener }; export interface RuleListener extends ASTNodeListener { @@ -201,7 +202,29 @@ export interface SourceCode { ast: AST.SvelteProgram; lines: string[]; hasBOM: boolean; - parserServices: ESLintSourceCode.ParserServices; + parserServices: { + isSvelte?: boolean; + isSvelteScript?: boolean; + getSvelteHtmlAst?: () => unknown; + getStyleContext?: () => StyleContext; + svelteParseContext?: { + /** + * Whether to use Runes mode. + * May be `true` if the user is using Svelte v5. + * Resolved from `svelte.config.js` or `parserOptions`, but may be overridden by ``. + */ + runes?: boolean; + /** The version of "svelte/compiler". */ + compilerVersion?: string; + /** The result of static analysis of `svelte.config.js`. */ + svelteConfig?: SvelteConfig | null; + }; + program?: TS.Program; + esTreeNodeToTSNodeMap?: ReadonlyMap; + tsNodeToESTreeNodeMap?: ReadonlyMap; + hasFullTypeInformation?: boolean; // Old typescript-eslint + [key: string]: unknown; + }; scopeManager: ScopeManager; visitorKeys: ESLintSourceCode.VisitorKeys; diff --git a/src/utils/ast-utils.ts b/packages/eslint-plugin-svelte/src/utils/ast-utils.ts similarity index 100% rename from src/utils/ast-utils.ts rename to packages/eslint-plugin-svelte/src/utils/ast-utils.ts diff --git a/src/utils/cache.ts b/packages/eslint-plugin-svelte/src/utils/cache.ts similarity index 100% rename from src/utils/cache.ts rename to packages/eslint-plugin-svelte/src/utils/cache.ts diff --git a/src/utils/compat.ts b/packages/eslint-plugin-svelte/src/utils/compat.ts similarity index 100% rename from src/utils/compat.ts rename to packages/eslint-plugin-svelte/src/utils/compat.ts diff --git a/src/utils/css-utils/index.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/index.ts similarity index 100% rename from src/utils/css-utils/index.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/index.ts diff --git a/src/utils/css-utils/resource.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/resource.ts similarity index 100% rename from src/utils/css-utils/resource.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/resource.ts diff --git a/src/utils/css-utils/style-attribute.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/style-attribute.ts similarity index 100% rename from src/utils/css-utils/style-attribute.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/style-attribute.ts diff --git a/src/utils/css-utils/template-safe-parser.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/template-safe-parser.ts similarity index 100% rename from src/utils/css-utils/template-safe-parser.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/template-safe-parser.ts diff --git a/src/utils/css-utils/template-tokenize.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/template-tokenize.ts similarity index 100% rename from src/utils/css-utils/template-tokenize.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/template-tokenize.ts diff --git a/src/utils/css-utils/utils.ts b/packages/eslint-plugin-svelte/src/utils/css-utils/utils.ts similarity index 100% rename from src/utils/css-utils/utils.ts rename to packages/eslint-plugin-svelte/src/utils/css-utils/utils.ts diff --git a/src/utils/eslint-core.ts b/packages/eslint-plugin-svelte/src/utils/eslint-core.ts similarity index 100% rename from src/utils/eslint-core.ts rename to packages/eslint-plugin-svelte/src/utils/eslint-core.ts diff --git a/src/utils/get-package-json.ts b/packages/eslint-plugin-svelte/src/utils/get-package-json.ts similarity index 100% rename from src/utils/get-package-json.ts rename to packages/eslint-plugin-svelte/src/utils/get-package-json.ts diff --git a/src/utils/index.ts b/packages/eslint-plugin-svelte/src/utils/index.ts similarity index 100% rename from src/utils/index.ts rename to packages/eslint-plugin-svelte/src/utils/index.ts diff --git a/src/utils/lines-and-columns.ts b/packages/eslint-plugin-svelte/src/utils/lines-and-columns.ts similarity index 100% rename from src/utils/lines-and-columns.ts rename to packages/eslint-plugin-svelte/src/utils/lines-and-columns.ts diff --git a/src/utils/load-module.ts b/packages/eslint-plugin-svelte/src/utils/load-module.ts similarity index 100% rename from src/utils/load-module.ts rename to packages/eslint-plugin-svelte/src/utils/load-module.ts diff --git a/src/utils/regexp.ts b/packages/eslint-plugin-svelte/src/utils/regexp.ts similarity index 100% rename from src/utils/regexp.ts rename to packages/eslint-plugin-svelte/src/utils/regexp.ts diff --git a/src/utils/rules.ts b/packages/eslint-plugin-svelte/src/utils/rules.ts similarity index 98% rename from src/utils/rules.ts rename to packages/eslint-plugin-svelte/src/utils/rules.ts index cb19a67a3..af0dd20e6 100644 --- a/src/utils/rules.ts +++ b/packages/eslint-plugin-svelte/src/utils/rules.ts @@ -41,6 +41,7 @@ import noRestrictedHtmlElements from '../rules/no-restricted-html-elements'; import noShorthandStylePropertyOverrides from '../rules/no-shorthand-style-property-overrides'; import noSpacesAroundEqualSignsInAttribute from '../rules/no-spaces-around-equal-signs-in-attribute'; import noStoreAsync from '../rules/no-store-async'; +import noSvelteInternal from '../rules/no-svelte-internal'; import noTargetBlank from '../rules/no-target-blank'; import noTrailingSpaces from '../rules/no-trailing-spaces'; import noUnknownStyleDirectiveProperty from '../rules/no-unknown-style-directive-property'; @@ -105,6 +106,7 @@ export const rules = [ noShorthandStylePropertyOverrides, noSpacesAroundEqualSignsInAttribute, noStoreAsync, + noSvelteInternal, noTargetBlank, noTrailingSpaces, noUnknownStyleDirectiveProperty, diff --git a/src/utils/svelte-kit.ts b/packages/eslint-plugin-svelte/src/utils/svelte-kit.ts similarity index 89% rename from src/utils/svelte-kit.ts rename to packages/eslint-plugin-svelte/src/utils/svelte-kit.ts index c42be3c56..04a1b390b 100644 --- a/src/utils/svelte-kit.ts +++ b/packages/eslint-plugin-svelte/src/utils/svelte-kit.ts @@ -6,7 +6,7 @@ import type { RuleContext } from '../types'; import fs from 'fs'; import path from 'path'; import { getPackageJson } from './get-package-json'; -import { getFilename } from './compat'; +import { getFilename, getSourceCode } from './compat'; const isRunOnBrowser = !fs.readFileSync; @@ -19,7 +19,11 @@ export function isKitPageComponent(context: RuleContext): boolean { // Hack: if it runs on browser, it regards as SvelteKit project. if (isRunOnBrowser) return true; if (!hasSvelteKit(getFilename(context))) return false; - const routes = context.settings?.svelte?.kit?.files?.routes?.replace(/^\//, '') ?? 'src/routes'; + const routes = + ( + context.settings?.svelte?.kit?.files?.routes ?? + getSourceCode(context).parserServices.svelteParseContext?.svelteConfig?.kit?.files?.routes + )?.replace(/^\//, '') ?? 'src/routes'; const filePath = getFilename(context); const projectRootDir = getProjectRootDir(getFilename(context)) ?? ''; const fileName = path.basename(filePath); diff --git a/src/utils/ts-utils/index.ts b/packages/eslint-plugin-svelte/src/utils/ts-utils/index.ts similarity index 100% rename from src/utils/ts-utils/index.ts rename to packages/eslint-plugin-svelte/src/utils/ts-utils/index.ts diff --git a/src/utils/void-elements.ts b/packages/eslint-plugin-svelte/src/utils/void-elements.ts similarity index 100% rename from src/utils/void-elements.ts rename to packages/eslint-plugin-svelte/src/utils/void-elements.ts diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-errors.yaml similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-errors.yaml diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-output.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/binary-expression01-output.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-errors.yaml similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-errors.yaml diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-output.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/example-output.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-errors.yaml similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-errors.yaml diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-output.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/nullish-coalescing01-output.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-errors.yaml similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-errors.yaml diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-output.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/optional-chaining01-output.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/reactive-statement01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/reactive-statement01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/reactive-statement01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/reactive-statement01-input.svelte diff --git a/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/template01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/template01-input.svelte similarity index 100% rename from tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/template01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/@typescript-eslint/no-unnecessary-condition/valid/template01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/enforce/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/enforce/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/enforce/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/javascript-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/ts01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/javascript/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/js-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/ts01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/ts01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/ts01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/ts01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/ts01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/ts01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/ts01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/ts01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/js/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/js/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/ts-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/module-context/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/null-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/ts-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/multiple/typescript-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/null-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/ts01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/ts01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/ts01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/ts01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/ts01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/ts01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/ts01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/ts01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/null/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/null/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/ts-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/shorthand/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/ts-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/ts/typescript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/javascript01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/js01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/js01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/ts01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/script/typescript/typescript-as-style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/enforce/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/enforce/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/enforce/no-style01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/null-as-script-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/sass01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/sass01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/sass01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/sass01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/sass01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/sass01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/sass01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/sass01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/scss01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/scss01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/scss01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/scss01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/null/scss01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/scss01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/null/scss01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/null/scss01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/sass-as-script-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/scss01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/sass/scss01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/sass/scss01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/_config.json diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/null01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/null01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/null01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/null01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/null01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/sass01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/sass01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/sass01-input.svelte diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-errors.yaml diff --git a/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/invalid/style/scss/scss-as-script-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/non-svelte/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/non-svelte/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte01-input.ts b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte01-input.ts similarity index 100% rename from tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte01-input.ts rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte01-input.ts diff --git a/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte02-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte02-input.js similarity index 100% rename from tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte02-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/non-svelte/non-svelte02-input.js diff --git a/tests/fixtures/rules/block-lang/valid/script/enforce/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/enforce/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/enforce/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/enforce/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/enforce/script-present01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/enforce/script-present01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/enforce/script-present01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/enforce/script-present01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/javascript/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/javascript/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/javascript/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/javascript/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/javascript/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/javascript/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/javascript/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/javascript/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/javascript/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/js/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/js/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/js/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/js/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/js/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/js/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/js/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/js/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/js/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/multiple/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/multiple/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/multiple/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/multiple/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/multiple/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/multiple/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/multiple/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/multiple/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/multiple/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/null/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/null/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/null/no-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/no-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/null/no-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/no-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/null/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/null/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/null/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/null/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/null/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/shorthand/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/shorthand/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/shorthand/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/shorthand/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/shorthand/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/shorthand/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/shorthand/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/shorthand/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/shorthand/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang02-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/correct-lang02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang02-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang03-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/correct-lang03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/correct-lang03-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/style-lang02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang02-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/style-lang02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang02-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/ts/style-lang03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang03-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/ts/style-lang03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/ts/style-lang03-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/typescript/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/typescript/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/script/typescript/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/typescript/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/typescript/no-script01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/no-script01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/typescript/no-script01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/no-script01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/script/typescript/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/script/typescript/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/script/typescript/style-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/enforce/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/enforce/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/enforce/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/enforce/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/style/enforce/style-present01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/enforce/style-present01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/enforce/style-present01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/enforce/style-present01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/null/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/null/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/style/null/no-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/no-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/null/no-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/no-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/null/no-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/no-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/null/no-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/no-style01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/null/script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/null/script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/null/script-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/sass/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/sass/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/style/sass/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/sass/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/sass/no-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/no-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/sass/no-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/no-style01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/sass/script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/sass/script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/sass/script-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/scss/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/_config.json similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/scss/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/_config.json diff --git a/tests/fixtures/rules/block-lang/valid/style/scss/correct-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/correct-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/scss/correct-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/correct-lang01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/scss/no-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/no-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/scss/no-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/no-style01-input.svelte diff --git a/tests/fixtures/rules/block-lang/valid/style/scss/script-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/script-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/block-lang/valid/style/scss/script-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/block-lang/valid/style/scss/script-lang01-input.svelte diff --git a/tests/fixtures/rules/button-has-type/invalid/button-false/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/_config.json similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/button-false/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/_config.json diff --git a/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml diff --git a/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-input.svelte similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-input.svelte diff --git a/tests/fixtures/rules/button-has-type/invalid/reset-false/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/_config.json similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/reset-false/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/_config.json diff --git a/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml diff --git a/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-input.svelte similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-input.svelte diff --git a/tests/fixtures/rules/button-has-type/invalid/submit-false/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/_config.json similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/submit-false/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/_config.json diff --git a/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml diff --git a/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-input.svelte similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-input.svelte diff --git a/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/button-has-type/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/button-has-type/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/button-has-type/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/button-has-type/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/button-has-type/valid/test01-input.svelte diff --git a/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-input.js similarity index 100% rename from tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/invalid/test01-input.js diff --git a/tests/fixtures/rules/derived-has-same-inputs-outputs/valid/test01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/valid/test01-input.js similarity index 100% rename from tests/fixtures/rules/derived-has-same-inputs-outputs/valid/test01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/derived-has-same-inputs-outputs/valid/test01-input.js diff --git a/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-errors.yaml similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-errors.yaml diff --git a/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/invalid/no-slot-types01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types-with-alias01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types-with-alias01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types-with-alias01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types-with-alias01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/has-slot-types01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-slot-types/valid/named-slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/named-slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/valid/named-slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/named-slot01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-slot-types/valid/no-slots01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-slots01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/valid/no-slots01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-slots01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-slot-types/valid/no-typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-slot-types/valid/no-typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-slot-types/valid/no-typescript01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-errors.yaml similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-errors.yaml diff --git a/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/invalid/no-strict-events01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-interface01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-interface01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/valid/has-events-interface01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-interface01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-type-alias01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-type-alias01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/valid/has-events-type-alias01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-events-type-alias01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/valid/has-strict-events01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-strict-events01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/valid/has-strict-events01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/has-strict-events01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/valid/no-typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/no-typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/valid/no-typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/no-typescript01-input.svelte diff --git a/tests/fixtures/rules/experimental-require-strict-events/valid/script-module-context01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/script-module-context01-input.svelte similarity index 100% rename from tests/fixtures/rules/experimental-require-strict-events/valid/script-module-context01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/experimental-require-strict-events/valid/script-module-context01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/_config.json similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/below/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/_config.json diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-output.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/_config.json similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/beside/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/_config.json diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-output.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/valid/below/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/below/_config.json similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/valid/below/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/below/_config.json diff --git a/tests/fixtures/rules/first-attribute-linebreak/valid/below/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/below/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/valid/below/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/below/test01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/valid/beside/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/beside/_config.json similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/valid/beside/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/beside/_config.json diff --git a/tests/fixtures/rules/first-attribute-linebreak/valid/beside/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/beside/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/valid/beside/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/beside/test01-input.svelte diff --git a/tests/fixtures/rules/first-attribute-linebreak/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/first-attribute-linebreak/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/first-attribute-linebreak/valid/test01-input.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/_config.json similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/_config.json diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-input.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-input.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-output.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-output.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/_config.json similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/_config.json diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-input.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-input.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-output.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-output.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/_config.json similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/_config.json diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-input.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-input.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-output.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-output.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-input.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-output.svelte diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/valid/test-01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/valid/test-01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-closing-bracket-spacing/valid/test-01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-closing-bracket-spacing/valid/test-01-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/_config.json similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/_config.json diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/_config.json similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/_config.json diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/single/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/_config.json similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/single/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/_config.json diff --git a/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/single/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/single/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/single/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/single/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/single/test01-output.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/html-quotes/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/html-quotes/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/html-quotes/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-quotes/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-quotes/valid/test01-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/component-never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/component-never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/component-never/component-never-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-ignore/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-ignore/normal-any-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/normal-never/component-never-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/html/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/html/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/html/preset-html-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/none/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/none/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/presets/none/preset-none-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/svelte-never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/svelte-never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/svelte-never/svelte-never-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/void-never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/_config.json similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/void-never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/_config.json diff --git a/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-errors.yaml similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-errors.yaml diff --git a/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-input.svelte diff --git a/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-output.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/invalid/void-never/void-never-output.svelte diff --git a/tests/fixtures/rules/html-self-closing/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/html-self-closing/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/html-self-closing/valid/test01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/4-indent/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/_config.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/4-indent/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/_config.json diff --git a/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/4-indent/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/4-indent/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/4-indent/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/4-indent/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/4-indent/test01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/_config.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/align-attributes-vertically/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/_config.json diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/await01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/await01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/await01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/await01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/await01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/await01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/await01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/const-tag01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/const-tag01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/const-tag01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/const-tag01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/const-tag01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/deubg-tag01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/deubg-tag01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/deubg-tag01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/deubg-tag01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/deubg-tag01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/each01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/each01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/each01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/each01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/each01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/each01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/each01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/html-text01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/html-text01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/html-text02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/html-text02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/html-text02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/html-text02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/if01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/if01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/if01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/if01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/if01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/if01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/if01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/import-declaration01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/import-declaration01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/import-declaration01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/import-declaration01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/import-declaration01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/indent-script/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/_config.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/indent-script/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/_config.json diff --git a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/indent-script/indent-script-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/indent-script/indent-script-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/indent-script/indent-script-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/key01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/key01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/key01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/key01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/key01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-array01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-array01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-array01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-array01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-array01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-array01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-binary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-binary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-binary01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-binary01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary01-output.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-errors.yaml new file mode 100644 index 000000000..f46928188 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-errors.yaml @@ -0,0 +1,304 @@ +- 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 diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-input.svelte new file mode 100644 index 000000000..ad54142e2 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-input.svelte @@ -0,0 +1,81 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-output.svelte new file mode 100644 index 000000000..b74e19b50 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary02-output.svelte @@ -0,0 +1,81 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-errors.yaml new file mode 100644 index 000000000..f7bbe896b --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-errors.yaml @@ -0,0 +1,24 @@ +- 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 diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-input.svelte new file mode 100644 index 000000000..8d711f59c --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-input.svelte @@ -0,0 +1,11 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-output.svelte new file mode 100644 index 000000000..774983999 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-binary03-output.svelte @@ -0,0 +1,11 @@ + + + + diff --git a/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-block01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-block01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-block01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-block01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-block01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-block01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-break01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-break01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-break01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-break01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-break01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-break01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-call01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-call01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-call01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-call01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-call01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-call01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-class01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-class01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-class01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-class01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-conditional01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-conditional01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-conditional01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-conditional01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-conditional01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-do-while01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-do-while01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-do-while01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-do-while01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-do-while01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-export01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-export01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-export02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-export02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-export02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-export02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-expr01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-expr01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-expr01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-expr01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-expr01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-for01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-for01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-for01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-for01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-for01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-for01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-function01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-function01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-function01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-function01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-function01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-function01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-if01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-if01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-if01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-if01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-if01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-if01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-import01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-import01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-import02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-import02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-import02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-import02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-member01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-member01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-member01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-member01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-member01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-member01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-methods01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-methods01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-methods01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-methods01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-methods01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-prop01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-prop01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-prop01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-prop01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-prop01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-switch01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-switch01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-switch01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-switch01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-switch01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-try01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-try01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-try01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-try01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-try01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-try01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-unary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-unary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-unary01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-unary01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-unary01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/script-yield-expression01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-yield-expression01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/script-yield-expression01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/script-yield-expression01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/script-yield-expression01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/snippets01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/snippets01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/snippets01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/snippets01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/snippets01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/snippets01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/snippets01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/snippets01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/snippets01-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/style-directive01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/style-directive01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/style-directive01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/style-directive01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/style-directive01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/switch-case/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/_config.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/switch-case/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/_config.json diff --git a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/switch-case/script-switch01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/switch-case/script-switch01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/_config.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/_config.json diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/tab-indent/test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/tab-indent/test02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-abstract-accessor-property-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property03-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property04-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-accessor-property05-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes01-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes03-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-requirements.json similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-attributes04-requirements.json diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-instantiation-expression01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts-v5/ts-satisfies-operators01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-class03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-class03-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-decorator02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-enum01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-enum01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-enum01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-input.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-function01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-input.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-output.svelte similarity index 100% rename from tests/fixtures/rules/indent/invalid/ts/ts-function01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function01-output.svelte diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml similarity index 92% rename from tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml index 165c7e4b3..684276dbe 100644 --- a/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml @@ -10,7 +10,7 @@ line: 5 column: 1 suggestions: null -- message: Expected indentation of 4 spaces but found 0 spaces. +- message: Expected indentation of 6 spaces but found 0 spaces. line: 6 column: 1 suggestions: null @@ -18,7 +18,7 @@ line: 7 column: 1 suggestions: null -- message: Expected indentation of 6 spaces but found 0 spaces. +- message: Expected indentation of 4 spaces but found 0 spaces. line: 8 column: 1 suggestions: null @@ -30,15 +30,15 @@ line: 10 column: 1 suggestions: null -- message: Expected indentation of 4 spaces but found 0 spaces. +- 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. +- 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. +- message: Expected indentation of 4 spaces but found 0 spaces. line: 13 column: 1 suggestions: null @@ -46,7 +46,3 @@ line: 14 column: 1 suggestions: null -- message: Expected indentation of 4 spaces but found 0 spaces. - line: 15 - column: 1 - suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte similarity index 99% rename from tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte index 67c63dd7c..c5776b45c 100644 --- a/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/indent/invalid/ts/ts-function02-input.svelte @@ -1,7 +1,6 @@ diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test10-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/function-call/test11-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test02-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test03-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test04-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test05-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/promise/test06-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/queueMicrotask/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setInterval/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/setTimeout/test02-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-errors.yaml diff --git a/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/invalid/tick/test02-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/recursive-reference-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/recursive-reference-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/recursive-reference-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/recursive-reference-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test01-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test02-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test03-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test04-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test04-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test05-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test05-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test06-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test06-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test07-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test07-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test07-input.svelte diff --git a/tests/fixtures/rules/infinite-reactive-loop/valid/test08-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test08-input.svelte similarity index 100% rename from tests/fixtures/rules/infinite-reactive-loop/valid/test08-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/infinite-reactive-loop/valid/test08-input.svelte diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/_config.json similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/max3/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/_config.json diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-input.svelte diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-output.svelte diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/max-attributes-per-line/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/max-attributes-per-line/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/max-attributes-per-line/valid/test01-input.svelte diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/_config.json similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/_config.json diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-errors.yaml similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-errors.yaml diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-input.svelte similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-input.svelte diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-output.svelte similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-output.svelte diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-requirements.json similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/snippet-render01-requirements.json diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte similarity index 96% rename from tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte index dec41e0b9..cc4abcf71 100644 --- a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-input.svelte @@ -1,5 +1,5 @@ diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-errors.yaml diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove-text01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/remove01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-errors.yaml diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/remove01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/remove01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-errors.yaml diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/svelte-element01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-errors.yaml diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-method01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-errors.yaml diff --git a/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/invalid/well-known-prop01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/computed-member01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/computed-member01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/computed-member01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/computed-member01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/loop01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/loop01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/loop01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/loop01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/non-bind-this01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-bind-this01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/non-bind-this01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-bind-this01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/non-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/non-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/non-element01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/read-prop01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/read-prop01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/read-prop02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/read-prop02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/read-prop02-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/remove-text01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove-text01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/remove-text01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove-text01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/remove01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/remove01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/remove01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/unknown-method01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-method01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/unknown-method01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-method01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/unknown-prop01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-prop01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/unknown-prop01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-prop01-input.svelte diff --git a/tests/fixtures/rules/no-dom-manipulating/valid/unknown-var01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-var01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dom-manipulating/valid/unknown-var01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dom-manipulating/valid/unknown-var01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-else-if-blocks/valid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-else-if-blocks/valid/test03-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/inline-expression-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/modifier-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/multiple-element-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-on-directives/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-on-directives/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-on-directives/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/valid/empty01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/empty01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/valid/empty01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/empty01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/valid/ternary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/ternary01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/valid/ternary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/ternary01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-style-properties/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-style-properties/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-style-properties/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/inline-expression-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/multiple-element-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/valid/inline-expression-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/valid/inline-expression-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/valid/inline-expression-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/valid/inline-expression-input.svelte diff --git a/tests/fixtures/rules/no-dupe-use-directives/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dupe-use-directives/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dupe-use-directives/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-input.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-output.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-input.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-output.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-input.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-output.svelte diff --git a/tests/fixtures/rules/no-dynamic-slot-name/valid/slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/valid/slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-dynamic-slot-name/valid/slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-dynamic-slot-name/valid/slot01-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-errors.yaml diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test01-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-errors.yaml diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/+test02-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/_config.json similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/_config.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/+test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/+test01-errors.yaml new file mode 100644 index 000000000..fd8227f1f --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/+test01-errors.yaml @@ -0,0 +1,5 @@ +- message: disallow exporting load functions in `*.svelte` module in SvelteKit + page components. + line: 2 + column: 18 + suggestions: null diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/+test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/+test01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json new file mode 100644 index 000000000..775099633 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json @@ -0,0 +1,13 @@ +{ + "languageOptions": { + "parserOptions": { + "svelteConfig": { + "kit": { + "files": { + "routes": "tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config-from-parser-options" + } + } + } + } + } +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-errors.yaml new file mode 100644 index 000000000..fd8227f1f --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-errors.yaml @@ -0,0 +1,5 @@ +- message: disallow exporting load functions in `*.svelte` module in SvelteKit + page components. + line: 2 + column: 18 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-input.svelte new file mode 100644 index 000000000..86add8e41 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/+test01-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/svelte.config.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/svelte.config.js new file mode 100644 index 000000000..8314528ec --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config/svelte.config.js @@ -0,0 +1,8 @@ +export default { + kit: { + files: { + routes: + 'tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/invalid/svelte-config' + } + } +}; diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test01-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test010-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test010-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test010-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test010-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test02-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test03-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test03-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test04-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test04-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test05-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test05-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test06-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test06-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test07-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test07-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test07-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test08-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test08-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test08-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test08-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test09-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test09-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test09-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/+test09-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/_config.json similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/_config.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test01-input.svelte new file mode 100644 index 000000000..86add8e41 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test01-input.svelte @@ -0,0 +1,3 @@ + diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/+test02-input.svelte diff --git a/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/_config.json similarity index 100% rename from tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-export-load-in-svelte-module-in-kit-pages/valid/not-page/_config.json diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-extra-reactive-curlies/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-extra-reactive-curlies/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-errors.yaml diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/aliased-goto01-input.svelte diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml similarity index 95% rename from tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml index ed8b9578e..f0a24ef44 100644 --- a/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-errors.yaml @@ -1,8 +1,8 @@ - message: Found a goto() call with a url that isn't prefixed with the base path. - line: 6 + line: 5 column: 7 suggestions: null - message: Found a goto() call with a url that isn't prefixed with the base path. - line: 7 + line: 6 column: 7 suggestions: null diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte similarity index 67% rename from tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte index 1aeff3aec..be68b2e4a 100644 --- a/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/base-not-prefixed01-input.svelte @@ -2,7 +2,6 @@ import { base } from '$app/paths'; import { goto } from '$app/navigation'; - // eslint-disable-next-line prefer-template -- Testing both variants goto('/foo/' + base); goto(`/foo/${base}`); diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/invalid/no-base01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-errors.yaml diff --git a/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/invalid/no-base01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/invalid/no-base01-input.svelte diff --git a/tests/fixtures/rules/no-goto-without-base/valid/absolute-uri01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/absolute-uri01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/valid/absolute-uri01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/absolute-uri01-input.svelte diff --git a/tests/fixtures/rules/no-goto-without-base/valid/base-aliased01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/base-aliased01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/valid/base-aliased01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/base-aliased01-input.svelte diff --git a/tests/fixtures/rules/no-goto-without-base/valid/base-prefixed01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/base-prefixed01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-goto-without-base/valid/base-prefixed01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-goto-without-base/valid/base-prefixed01-input.svelte diff --git a/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-ignored-unsubscribe/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-ignored-unsubscribe/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-ignored-unsubscribe/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-ignored-unsubscribe/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-ignored-unsubscribe/valid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/no-ignored-unsubscribe/valid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-ignored-unsubscribe/valid/test03-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-errors.yaml diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable-let-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-errors.yaml diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/immutable01-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-errors.yaml diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/invalid/readonly-export01-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars01-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/builtin-vars02-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member01-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member02-wth-bind-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member02-wth-bind-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member02-wth-bind-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member02-wth-bind-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member03-with-each-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member03-with-each-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member03-with-each-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member03-with-each-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member04-with-each-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member04-with-each-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member04-with-each-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member04-with-each-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member05-with-each-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member05-with-each-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member05-with-each-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member05-with-each-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member06-with-each-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member06-with-each-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member06-with-each-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member06-with-each-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member07-with-each-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member07-with-each-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member07-with-each-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable-member07-with-each-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/mutable01-input.svelte diff --git a/tests/fixtures/rules/no-immutable-reactive-statements/valid/unknown01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/unknown01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-immutable-reactive-statements/valid/unknown01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-immutable-reactive-statements/valid/unknown01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-errors.yaml diff --git a/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-attribute01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/style-directive01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-errors.yaml diff --git a/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/style-directive01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/style-directive01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/invalid/transition01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/transition01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/transition01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/transition01-errors.yaml diff --git a/tests/fixtures/rules/no-inline-styles/invalid/transition01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/transition01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/invalid/transition01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/invalid/transition01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/_config.json similarity index 100% rename from tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/_config.json diff --git a/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/transition01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/transition01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/transition01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/allowed-transitions/transition01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/valid/class-attribute01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-attribute01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/valid/class-attribute01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-attribute01-input.svelte diff --git a/tests/fixtures/rules/no-inline-styles/valid/class-directive01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-directive01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inline-styles/valid/class-directive01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inline-styles/valid/class-directive01-input.svelte diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_config.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_config.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/_requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_requirements.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/_requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/_requirements.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_config.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/both/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_config.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/_requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_requirements.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/both/_requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/_requirements.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/both/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-input.svelte diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_config.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_config.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/_requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_requirements.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/_requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/_requirements.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_config.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_config.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_requirements.json similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/_requirements.json diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-errors.yaml diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/both/test01-input.svelte diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-errors.yaml diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/invalid/v8/test01-input.svelte diff --git a/tests/fixtures/rules/no-inner-declarations/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-inner-declarations/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-inner-declarations/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/array01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/array01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/array01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/class01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/class01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/object01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/object01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/object01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/object01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/string01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/string01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/string01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/string01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/value01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/value01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/invalid/value01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/invalid/value01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/valid/bind01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/bind01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/valid/bind01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/bind01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/valid/function01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/function01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/valid/function01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/function01-input.svelte diff --git a/tests/fixtures/rules/no-not-function-handler/valid/null01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/null01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-not-function-handler/valid/null01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-not-function-handler/valid/null01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/valid/object01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/valid/object01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/valid/object01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/valid/object01-input.svelte diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/valid/string01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/valid/string01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-object-in-text-mustaches/valid/string01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-object-in-text-mustaches/valid/string01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-functions/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-functions/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-functions/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-functions/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-functions/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-functions/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-functions/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-literals/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-literals/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-literals/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-literals/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-literals/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/array01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/array01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/array01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/array01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/array01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/array01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/array01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/array01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/bind-dir01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/conditional01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/delete01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/delete01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/delete01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/destructure01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-in01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/for-of01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml similarity index 95% rename from tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml index 50592f713..e69b89d33 100644 --- a/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-errors.yaml @@ -3,6 +3,6 @@ column: 3 suggestions: null - message: Assignment to property of reactive value 'reactiveValue'. - line: 8 + line: 7 column: 3 suggestions: null diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte similarity index 77% rename from tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte index 2b751b1db..2f4d251ce 100644 --- a/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/member01-input.svelte @@ -4,7 +4,6 @@ function handleClick() { reactiveValue.value = 42; - // eslint-disable-next-line no-unsafe-optional-chaining -- ignore (reactiveValue?.foo).bar = 42; } diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/_config.json similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/props-false/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/_config.json diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-false/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/props-true01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-reactive-reassign/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/array01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/array01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/array01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/array01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/assign-right01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/assign-right01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/assign-right01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/assign-right01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/destructure01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/destructure01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/destructure01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/destructure01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/for-in01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-in01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/for-in01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-in01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/for-of01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-of01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/for-of01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/for-of01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/member-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/member-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/member-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/member-key01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/on-dir01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/on-dir01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/on-dir01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/on-dir01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/props-false/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/props-false/_config.json similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/props-false/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/props-false/_config.json diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/props-false/props-false01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/props-false/props-false01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/props-false/props-false01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/props-false/props-false01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/reactive-like01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/reactive-like02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/reactive-like02-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-reactive-reassign/valid/typeof01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/typeof01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-reactive-reassign/valid/typeof01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-reactive-reassign/valid/typeof01-input.svelte diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/array-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-config.json similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/array-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-config.json diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/array-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/array-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-errors.yaml diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/array-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-input.svelte similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/array-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/array-input.svelte diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/object-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-config.json similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/object-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-config.json diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/object-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/object-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-errors.yaml diff --git a/tests/fixtures/rules/no-restricted-html-elements/invalid/object-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-input.svelte similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/invalid/object-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/invalid/object-input.svelte diff --git a/tests/fixtures/rules/no-restricted-html-elements/valid/array-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-config.json similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/valid/array-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-config.json diff --git a/tests/fixtures/rules/no-restricted-html-elements/valid/array-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-input.svelte similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/valid/array-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/array-input.svelte diff --git a/tests/fixtures/rules/no-restricted-html-elements/valid/object-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-config.json similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/valid/object-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-config.json diff --git a/tests/fixtures/rules/no-restricted-html-elements/valid/object-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-input.svelte similarity index 100% rename from tests/fixtures/rules/no-restricted-html-elements/valid/object-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-restricted-html-elements/valid/object-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/empty01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/empty01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/valid/empty01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/empty01-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/ternary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/ternary01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/valid/ternary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/ternary01-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-shorthand-style-property-overrides/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/valid/test-01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/valid/test-01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/valid/test-01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/valid/test-01-input.svelte diff --git a/tests/fixtures/rules/no-store-async/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-store-async/invalid/test01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-input.js similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test01-input.js diff --git a/tests/fixtures/rules/no-store-async/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/no-store-async/invalid/test02-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-input.js similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test02-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test02-input.js diff --git a/tests/fixtures/rules/no-store-async/invalid/test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-errors.yaml diff --git a/tests/fixtures/rules/no-store-async/invalid/test03-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-input.js similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test03-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test03-input.js diff --git a/tests/fixtures/rules/no-store-async/invalid/test04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-errors.yaml diff --git a/tests/fixtures/rules/no-store-async/invalid/test04-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-input.js similarity index 100% rename from tests/fixtures/rules/no-store-async/invalid/test04-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/invalid/test04-input.js diff --git a/tests/fixtures/rules/no-store-async/valid/test01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/valid/test01-input.js similarity index 100% rename from tests/fixtures/rules/no-store-async/valid/test01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-store-async/valid/test01-input.js diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-input.svelte new file mode 100644 index 000000000..fb49157e7 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal01-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-input.svelte new file mode 100644 index 000000000..12be14e98 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal02-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-input.svelte new file mode 100644 index 000000000..ed4e7e825 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal03-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-input.svelte new file mode 100644 index 000000000..91c4f50e9 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal04-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-input.svelte new file mode 100644 index 000000000..3a2d38453 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal05-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-input.svelte new file mode 100644 index 000000000..38ceb2302 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal06-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-errors.yaml new file mode 100644 index 000000000..e1c7cf351 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-errors.yaml @@ -0,0 +1,4 @@ +- message: Using svelte/internal is prohibited. This will be removed in Svelte 6. + line: 2 + column: 2 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-input.svelte new file mode 100644 index 000000000..b60364814 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/invalid/no-svelte-internal07-input.svelte @@ -0,0 +1,3 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/valid/no-svelte-internal01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/valid/no-svelte-internal01-input.svelte new file mode 100644 index 000000000..da984faff --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-svelte-internal/valid/no-svelte-internal01-input.svelte @@ -0,0 +1,3 @@ + diff --git a/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-target-blank/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-target-blank/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-target-blank/valid/allow-referrer/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/_config.json similarity index 100% rename from tests/fixtures/rules/no-target-blank/valid/allow-referrer/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/_config.json diff --git a/tests/fixtures/rules/no-target-blank/valid/allow-referrer/allow-referrer-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/allow-referrer-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-target-blank/valid/allow-referrer/allow-referrer-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/allow-referrer/allow-referrer-test01-input.svelte diff --git a/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/_config.json similarity index 100% rename from tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/_config.json diff --git a/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/enforce-dynamic-links-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/enforce-dynamic-links-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/enforce-dynamic-links-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/enforce-dynamic-links/enforce-dynamic-links-test01-input.svelte diff --git a/tests/fixtures/rules/no-target-blank/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-target-blank/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-target-blank/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/_config.json similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/_config.json diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-errors.yaml diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-input.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/ignoreComments/test01-output.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/_config.json similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/_config.json diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-errors.yaml diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-input.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/skipBlankLines/test01-output.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/no-trailing-spaces/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-trailing-spaces/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-trailing-spaces/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/_config.json similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/_config.json diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-input.svelte diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test01-input.svelte diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unknown-style-directive-property/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unknown-style-directive-property/valid/test02-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/_config.json similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/_config.json diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/allowed-class-names/partially-allowed-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/class-directive01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiline-class-names01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/multiple-class-names01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/same-name-id01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/unused-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/invalid/used-unrelated-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/adjacent-sibling-combinator01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/adjacent-sibling-combinator01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/adjacent-sibling-combinator01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/adjacent-sibling-combinator01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/_config.json similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/_config.json diff --git a/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/allowed-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/allowed-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/allowed-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/allowed-class-names/allowed-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/child-combinator01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/child-combinator01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/child-combinator01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/child-combinator01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/descendant-combinator01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/descendant-combinator01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/descendant-combinator01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/descendant-combinator01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/general-sibling-combinator01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/general-sibling-combinator01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/general-sibling-combinator01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/general-sibling-combinator01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/invalid-style01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/multiple-class-names01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/multiple-class-names01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/multiple-class-names01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/multiple-class-names01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/no-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/no-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/no-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/no-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/pseudo-classes01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-classes01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/pseudo-classes01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-classes01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/pseudo-elements01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-elements01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/pseudo-elements01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/pseudo-elements01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/scss-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/scss-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/scss-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/scss-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/selector-list01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/selector-list01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/selector-list01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/selector-list01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/test-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/test-input.js similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/test-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/test-input.js diff --git a/tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte diff --git a/tests/fixtures/rules/no-unused-class-name/valid/used-class-name01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/used-class-name01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-class-name/valid/used-class-name01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-class-name/valid/used-class-name01-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte new file mode 100644 index 000000000..b591cc542 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte @@ -0,0 +1,5 @@ + +Foo + + +Foo diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-errors.yaml new file mode 100644 index 000000000..4014b0401 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-errors.yaml @@ -0,0 +1,12 @@ +- 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 diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-errors.yaml diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte new file mode 100644 index 000000000..e4192c89a --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte @@ -0,0 +1,9 @@ +
    + {#if true} + A + + {:else} + +
      + {/if} +
      diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore01-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml new file mode 100644 index 000000000..12e49f2d9 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-errors.yaml @@ -0,0 +1,8 @@ +- 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 diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte similarity index 55% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte index 8650a0c78..7fc275fe5 100644 --- a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte @@ -1,7 +1,7 @@
      {#each [] as e} A - + {:else}
        diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-errors.yaml new file mode 100644 index 000000000..12e49f2d9 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-errors.yaml @@ -0,0 +1,8 @@ +- 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 diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore02-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-errors.yaml diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte new file mode 100644 index 000000000..bdb9709f3 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte @@ -0,0 +1,20 @@ +
        + {#await Promise.resolve(42)} + + {:then name} + +
          + + {:catch name} + +
            + {/await} +
            +
            + {#await Promise.resolve(42)} + + {:then name} + +
              + {/await} +
              diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-errors.yaml new file mode 100644 index 000000000..f1cf23ee6 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-errors.yaml @@ -0,0 +1,24 @@ +- 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 diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/invalid-svelte-ignore03-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml similarity index 50% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml index 84bff518d..f1f4109e6 100644 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml @@ -1,3 +1,7 @@ +- 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 diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte new file mode 100644 index 000000000..d074e4d59 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte @@ -0,0 +1,26 @@ + + + + + + + + +Foo + +
              +
              +
              + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-errors.yaml new file mode 100644 index 000000000..16b779f00 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-errors.yaml @@ -0,0 +1,12 @@ +- 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 diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte new file mode 100644 index 000000000..1d8327fe0 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte @@ -0,0 +1,4 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/element-ignore01-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte new file mode 100644 index 000000000..7b353c040 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte @@ -0,0 +1,2 @@ + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/html-comment-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ignore-js-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ignore-js-input.js similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/ignore-js-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ignore-js-input.js diff --git a/tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/kebab-ignore-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/kebab-ignore-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte similarity index 58% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte index 337636d83..b0463da34 100644 --- a/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-input.svelte @@ -1,8 +1,8 @@ diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang01-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang02-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang03-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang04-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang05-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang06-requirements.json diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang07-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang07-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/style-lang07-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte new file mode 100644 index 000000000..a8f8765e7 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte @@ -0,0 +1,5 @@ + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore01-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte new file mode 100644 index 000000000..5763384cc --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte @@ -0,0 +1,6 @@ +TEXT + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore02-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte new file mode 100644 index 000000000..3932932d0 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte @@ -0,0 +1,12 @@ + + + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore03-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte new file mode 100644 index 000000000..26921f766 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte @@ -0,0 +1,17 @@ +
              + + {#if true} + +
                + {/if} +
                +
                + + {#if true} + A + {:else} +
                + +
                  + {/if} +
                  diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore04-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte new file mode 100644 index 000000000..4af51924c --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte @@ -0,0 +1,7 @@ +
                  + + {#key 42} + +
                    + {/key} +
                    diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore05-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte new file mode 100644 index 000000000..d919c0d53 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte @@ -0,0 +1,17 @@ +
                    + + {#each [] as e} + +
                      + {/each} +
                      +
                      + + {#each [] as e} + A + {:else} +
                      + +
                        + {/each} +
                        diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore06-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte new file mode 100644 index 000000000..ab37c96a6 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte @@ -0,0 +1,44 @@ +
                        + + {#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} +
                                        diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/svelte-ignore07-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte similarity index 62% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte index 66138421f..ed21d1455 100644 --- a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-input.svelte @@ -1,8 +1,8 @@ diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/comments01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/comments01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-output.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/_config.json similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/_config.json diff --git a/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/comments01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/comments01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/comments01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-includes-comment/comments01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/_config.json similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/_config.json diff --git a/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/escape-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/escape-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/escape-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/ignore-string-escape/escape-test01-input.svelte diff --git a/tests/fixtures/rules/no-useless-mustaches/valid/valid-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/valid-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/no-useless-mustaches/valid/valid-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/no-useless-mustaches/valid/valid-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/_config.json similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/_config.json diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/empty/test01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test02-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/test03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/test03-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-output.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/_config.json similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/_config.json diff --git a/tests/fixtures/rules/prefer-class-directive/valid/empty/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/_config.json similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/empty/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/_config.json diff --git a/tests/fixtures/rules/prefer-class-directive/valid/empty/ignore-test05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/ignore-test05-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/empty/ignore-test05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/empty/ignore-test05-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-component01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-component01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-component01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-component01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-svelte-self01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-svelte-self01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-svelte-self01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-svelte-self01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test02-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test03-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/ignore-test04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test04-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/ignore-test04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/ignore-test04-input.svelte diff --git a/tests/fixtures/rules/prefer-class-directive/valid/simple-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/simple-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-class-directive/valid/simple-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-class-directive/valid/simple-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/fixer-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member02-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/member03-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/module-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/module-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/module-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-errors.yaml diff --git a/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/invalid/test03-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/builtin-vars02-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/valid/script-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/script-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/valid/script-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/script-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-destructured-store-props/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-destructured-store-props/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-destructured-store-props/valid/test01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/ternary04-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test02-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test03-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test04-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-errors.yaml similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test04-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-errors.yaml diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test04-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-output.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/invalid/test04-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/invalid/test04-output.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/valid/empty01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/empty01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/valid/empty01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/empty01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/valid/ignore-component01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-component01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/valid/ignore-component01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-component01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/valid/ignore-svelte-self01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-svelte-self01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/valid/ignore-svelte-self01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/ignore-svelte-self01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/valid/invalid-style01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/invalid-style01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/valid/invalid-style01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/invalid-style01-input.svelte diff --git a/tests/fixtures/rules/prefer-style-directive/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/prefer-style-directive/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-style-directive/valid/test01-input.svelte diff --git a/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-errors.yaml diff --git a/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/invalid/each-block-without-key01-input.svelte diff --git a/tests/fixtures/rules/require-each-key/valid/keyed-each-block01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/valid/keyed-each-block01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-each-key/valid/keyed-each-block01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-each-key/valid/keyed-each-block01-input.svelte diff --git a/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-errors.yaml diff --git a/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/import-alias01-input.svelte diff --git a/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-errors.yaml diff --git a/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/invalid/no-types01-input.svelte diff --git a/tests/fixtures/rules/require-event-dispatcher-types/valid/has-types01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/has-types01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/valid/has-types01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/has-types01-input.svelte diff --git a/tests/fixtures/rules/require-event-dispatcher-types/valid/no-typescript01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/no-typescript01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/valid/no-typescript01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/no-typescript01-input.svelte diff --git a/tests/fixtures/rules/require-event-dispatcher-types/valid/non-svelte-dispatcher01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/non-svelte-dispatcher01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-event-dispatcher-types/valid/non-svelte-dispatcher01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-event-dispatcher-types/valid/non-svelte-dispatcher01-input.svelte diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-input.svelte diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-input.svelte diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/require-optimized-style-attribute/valid/empty01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/empty01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/valid/empty01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/empty01-input.svelte diff --git a/tests/fixtures/rules/require-optimized-style-attribute/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-optimized-style-attribute/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-optimized-style-attribute/valid/test01-input.svelte diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-errors.yaml diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/invalid/test02-input.svelte diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test01-input.svelte diff --git a/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test02-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-callbacks-use-set-param/valid/test02-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/attrs-store01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/await01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/await01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/await01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/await01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/await01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/await01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/await01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/calc01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/calc01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/calc01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-output.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/calc01-requirements.json diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/call01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/call01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/call01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/call01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/call01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/call01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/call01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/condition01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/condition01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/condition01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/condition01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/directives-store01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-in01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/for-of01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-block01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/if-statement01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/import01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/import01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/import01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/import01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/import01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/import01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/import01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/properties01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/properties01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/properties01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/properties01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/props-store01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/spread01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/spread01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/spread01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/spread01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-component01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/svelte-element01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/switch01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/switch01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/switch01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/switch01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/tagged01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-class-directives01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-i18n-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-if-block01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-stores01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-errors.yaml diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/invalid/ts/ts-test01-output.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/ts/non-store.ts b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/ts/non-store.ts similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/ts/non-store.ts rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/ts/non-store.ts diff --git a/tests/fixtures/rules/require-store-reactive-access/ts/store.ts b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/ts/store.ts similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/ts/store.ts rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/ts/store.ts diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/attrs-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/attrs-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/attrs-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/attrs-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/await01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/await01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/await01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/await01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/calc01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/calc01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/calc01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/calc01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/call01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/call01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/call01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/call01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/condition01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/condition01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/condition01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/condition01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/directives-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/directives-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/directives-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/directives-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/for-in01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/for-in01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/for-in01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/for-in01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/for-of01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/for-of01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/for-of01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/for-of01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/if-statement01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/if-statement01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/if-statement01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/if-statement01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/import01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/import01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/import01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/import01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/properties01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/properties01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/properties01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/properties01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/props-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/props-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/props-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/props-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/spread01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/spread01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/spread01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/spread01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/svelte-component01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/svelte-component01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/svelte-component01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/svelte-component01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/svelte-element01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/svelte-element01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/svelte-element01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/svelte-element01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/switch01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/switch01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/switch01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/switch01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/tagged01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/tagged01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/tagged01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/tagged01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/test01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-i18n-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-i18n-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-i18n-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-i18n-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store02-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-non-store02-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-stores01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-stores01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-stores01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-stores01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/ts/ts-test01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/unknown-values01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values01-input.svelte diff --git a/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values02-input.svelte similarity index 100% rename from tests/fixtures/rules/require-store-reactive-access/valid/unknown-values02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-store-reactive-access/valid/unknown-values02-input.svelte diff --git a/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-errors.yaml diff --git a/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-input.js similarity index 100% rename from tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init-in-js01-input.js diff --git a/tests/fixtures/rules/require-stores-init/invalid/no-init01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init01-errors.yaml similarity index 100% rename from tests/fixtures/rules/require-stores-init/invalid/no-init01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init01-errors.yaml diff --git a/tests/fixtures/rules/require-stores-init/invalid/no-init01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-stores-init/invalid/no-init01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/invalid/no-init01-input.svelte diff --git a/tests/fixtures/rules/require-stores-init/valid/has-init-in-js01-input.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/has-init-in-js01-input.js similarity index 100% rename from tests/fixtures/rules/require-stores-init/valid/has-init-in-js01-input.js rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/has-init-in-js01-input.js diff --git a/tests/fixtures/rules/require-stores-init/valid/has-init01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/has-init01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-stores-init/valid/has-init01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/has-init01-input.svelte diff --git a/tests/fixtures/rules/require-stores-init/valid/no-svelte-store01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/no-svelte-store01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-stores-init/valid/no-svelte-store01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/no-svelte-store01-input.svelte diff --git a/tests/fixtures/rules/require-stores-init/valid/spread01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/spread01-input.svelte similarity index 100% rename from tests/fixtures/rules/require-stores-init/valid/spread01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/require-stores-init/valid/spread01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/_config.json diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/always/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/always/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/_config.json diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/never/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/never/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/valid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/valid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/_config.json diff --git a/tests/fixtures/rules/shorthand-attribute/valid/always/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/valid/always/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/always/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/valid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/valid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/_config.json diff --git a/tests/fixtures/rules/shorthand-attribute/valid/never/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/valid/never/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/never/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-attribute/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-attribute/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-attribute/valid/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/_config.json diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/always/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/always/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/always/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/_config.json diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/never/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/never/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/never/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml diff --git a/tests/fixtures/rules/shorthand-directive/invalid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/invalid/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/invalid/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/invalid/test01-output.svelte diff --git a/tests/fixtures/rules/shorthand-directive/valid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-directive/valid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/_config.json diff --git a/tests/fixtures/rules/shorthand-directive/valid/always/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/valid/always/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/always/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/valid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/_config.json similarity index 100% rename from tests/fixtures/rules/shorthand-directive/valid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/_config.json diff --git a/tests/fixtures/rules/shorthand-directive/valid/never/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/valid/never/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/never/test01-input.svelte diff --git a/tests/fixtures/rules/shorthand-directive/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/shorthand-directive/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/shorthand-directive/valid/test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/class-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/class-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/class-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/let-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/let-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/let-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/slot-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/slot-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/use-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/default/use-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/default/use-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/_config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/_config.json diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-output.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-output.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/alphabetical-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/alphabetical-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/alphabetical-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/bind-on-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/bind-on-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/bind-on-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/bind-on-test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/class-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/class-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/class-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/class-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/default-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/default-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/default-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/default-test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/ignore-spread-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/ignore-spread-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/ignore-spread-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/ignore-spread-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/in-out-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/in-out-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/in-out-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/in-out-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/let-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/let-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/let-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/let-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/slot-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/slot-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/slot-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/slot-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/spread-test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/spread-test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test01-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/spread-test02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test02-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/spread-test02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/spread-test02-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/style-ptops-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-ptops-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/style-ptops-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-ptops-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/style-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/style-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/style-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/default/use-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/use-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/default/use-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/default/use-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-config.json diff --git a/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/ignore-no-order-with-spread-test-input.svelte diff --git a/tests/fixtures/rules/sort-attributes/valid/order/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/_config.json similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/order/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/_config.json diff --git a/tests/fixtures/rules/sort-attributes/valid/order/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/sort-attributes/valid/order/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/sort-attributes/valid/order/test01-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/_config.json similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/_config.json diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-output.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-output.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-output.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-output.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/_config.json similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/_config.json diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.yaml similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.yaml diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-output.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-output.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-output.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-output.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/valid/always/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/_config.json similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/valid/always/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/_config.json diff --git a/tests/fixtures/rules/spaced-html-comment/valid/always/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/valid/always/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/always/test01-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/valid/default/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/default/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/valid/default/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/default/test01-input.svelte diff --git a/tests/fixtures/rules/spaced-html-comment/valid/never/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/_config.json similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/valid/never/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/_config.json diff --git a/tests/fixtures/rules/spaced-html-comment/valid/never/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/spaced-html-comment/valid/never/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/spaced-html-comment/valid/never/test01-input.svelte diff --git a/tests/fixtures/rules/tsconfig.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/tsconfig.json similarity index 100% rename from tests/fixtures/rules/tsconfig.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/tsconfig.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml new file mode 100644 index 000000000..6b8f12fef --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml @@ -0,0 +1,4 @@ +- message: '`` element should have an alt attribute(a11y_missing_attribute)' + line: 5 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/valid-compile/invalid/a11y01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/a11y01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/a11y01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-errors.yaml diff --git a/tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/a11y01-svelte4-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml new file mode 100644 index 000000000..82a6aee8d --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml @@ -0,0 +1,15 @@ +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 6 + column: 3 + suggestions: null +- message: A form label must be associated with a + control(a11y_label_has_associated_control) + line: 6 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 7 + column: 3 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte new file mode 100644 index 000000000..e4192c89a --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte @@ -0,0 +1,9 @@ +
                                        + {#if true} + A + + {:else} + +
                                          + {/if} +
                                          diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-errors.yaml diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-input.svelte diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/has-error-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml new file mode 100644 index 000000000..82a6aee8d --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml @@ -0,0 +1,15 @@ +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 6 + column: 3 + suggestions: null +- message: A form label must be associated with a + control(a11y_label_has_associated_control) + line: 6 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 7 + column: 3 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte new file mode 100644 index 000000000..7fc275fe5 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-input.svelte @@ -0,0 +1,9 @@ +
                                          + {#each [] as e} + A + + {:else} + +
                                            + {/each} +
                                            diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-errors.yaml diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-input.svelte new file mode 100644 index 000000000..0f8693b14 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-input.svelte @@ -0,0 +1,9 @@ +
                                            + {#each [] as e} + A + + {:else} + +
                                              + {/each} +
                                              diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/script-comment-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-svelte4-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml new file mode 100644 index 000000000..08147e812 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml @@ -0,0 +1,53 @@ +- message: Empty block(block_empty) + line: 2 + column: 30 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 5 + column: 3 + suggestions: null +- message: A form label must be associated with a + control(a11y_label_has_associated_control) + line: 5 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 6 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 9 + column: 3 + suggestions: null +- message: A form label must be associated with a + control(a11y_label_has_associated_control) + line: 9 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 10 + column: 3 + suggestions: null +- message: Empty block(block_empty) + line: 14 + column: 30 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 17 + column: 3 + suggestions: null +- message: A form label must be associated with a + control(a11y_label_has_associated_control) + line: 17 + column: 3 + suggestions: null +- message: noninteractive element cannot have nonnegative tabIndex + value(a11y_no_noninteractive_tabindex) + line: 18 + column: 3 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte new file mode 100644 index 000000000..bdb9709f3 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte @@ -0,0 +1,20 @@ +
                                              + {#await Promise.resolve(42)} + + {:then name} + +
                                                + + {:catch name} + +
                                                  + {/await} +
                                                  +
                                                  + {#await Promise.resolve(42)} + + {:then name} + +
                                                    + {/await} +
                                                    diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-errors.yaml diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-input.svelte diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-svelte4-requirements.json diff --git a/tests/fixtures/rules/valid-compile/invalid/style-lang01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/style-lang01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-errors.yaml diff --git a/tests/fixtures/rules/valid-compile/invalid/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/invalid/style-lang01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/style-lang01-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/style-lang01-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/_config.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/_config.js new file mode 100644 index 000000000..ffe2c0ded --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/_config.js @@ -0,0 +1,20 @@ +/** + * @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, code: 'foo' }); + } + } + } + } +}; diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-errors.yaml new file mode 100644 index 000000000..cda864620 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-errors.yaml @@ -0,0 +1,8 @@ +- message: '`` element should have an alt attribute(foo)' + line: 5 + column: 1 + suggestions: null +- message: Avoid using autofocus(foo) + line: 5 + column: 12 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte new file mode 100644 index 000000000..ba1d8baf5 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-errors.yaml new file mode 100644 index 000000000..96be2047d --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-errors.yaml @@ -0,0 +1,8 @@ +- 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 diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-input.svelte new file mode 100644 index 000000000..ba1d8baf5 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/no-unused-svelte-ignore/valid/ts-lang01-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-svelte4-requirements.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/_config.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/_config.js new file mode 100644 index 000000000..293325f3a --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/_config.js @@ -0,0 +1,24 @@ +/** + * @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); + } + } + } + } +}; diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-errors.yaml new file mode 100644 index 000000000..00fe33d44 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-errors.yaml @@ -0,0 +1,4 @@ +- message: Avoid using autofocus(a11y_autofocus) + line: 5 + column: 12 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-input.svelte new file mode 100644 index 000000000..ba1d8baf5 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-errors.yaml new file mode 100644 index 000000000..2b5f040ec --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-errors.yaml @@ -0,0 +1,4 @@ +- message: 'A11y: Avoid using autofocus(a11y-autofocus)' + line: 5 + column: 12 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-input.svelte new file mode 100644 index 000000000..ba1d8baf5 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-ignore/a11y-svelte4-requirements.json diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml similarity index 76% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml index 8e4ffba5d..44dec8750 100644 --- a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-errors.yaml @@ -1,5 +1,5 @@ - message: The $ prefix is reserved, and cannot be used for variables and - imports(invalid-dollar-prefix) + imports(dollar_prefix_invalid) line: 2 column: 8 suggestions: null diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-errors.yaml diff --git a/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/ts/enum01-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/babel/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/_config.json similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/babel/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/_config.json diff --git a/tests/fixtures/rules/valid-compile/valid/babel/babel-function-bind01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/babel-function-bind01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/babel/babel-function-bind01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/babel-function-bind01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/babel/class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/class01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/babel/class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/babel/class01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/dyamic-slot01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/dyamic-slot01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/ignore-warnings/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/_config.json similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ignore-warnings/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/_config.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte new file mode 100644 index 000000000..d7954e785 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore-warnings/enum01-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte new file mode 100644 index 000000000..7b353c040 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte @@ -0,0 +1,2 @@ + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore01-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte new file mode 100644 index 000000000..1d8327fe0 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-input.svelte @@ -0,0 +1,4 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-input.svelte new file mode 100644 index 000000000..4f0cb2449 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-input.svelte @@ -0,0 +1,4 @@ + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ignore02-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte new file mode 100644 index 000000000..62e42407f --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte @@ -0,0 +1,14 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/script-comment-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/script-comment-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/style-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/style-lang01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/style-lang02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang02-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/style-lang02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang02-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/style-lang03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang03-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/style-lang03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/style-lang03-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/_config.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/_config.js new file mode 100644 index 000000000..293325f3a --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/_config.js @@ -0,0 +1,24 @@ +/** + * @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); + } + } + } + } +}; diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/a11y-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/a11y-input.svelte new file mode 100644 index 000000000..d7954e785 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-config-ignore/a11y-input.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte new file mode 100644 index 000000000..a8f8765e7 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte @@ -0,0 +1,5 @@ + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore01-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte new file mode 100644 index 000000000..5763384cc --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte @@ -0,0 +1,6 @@ +TEXT + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore02-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte new file mode 100644 index 000000000..3932932d0 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte @@ -0,0 +1,12 @@ + + + + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore03-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore03-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte new file mode 100644 index 000000000..26921f766 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte @@ -0,0 +1,17 @@ +
                                                    + + {#if true} + +
                                                      + {/if} +
                                                      +
                                                      + + {#if true} + A + {:else} +
                                                      + +
                                                        + {/if} +
                                                        diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore04-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore04-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte new file mode 100644 index 000000000..4af51924c --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte @@ -0,0 +1,7 @@ +
                                                        + + {#key 42} + +
                                                          + {/key} +
                                                          diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore05-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore05-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte new file mode 100644 index 000000000..d919c0d53 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte @@ -0,0 +1,17 @@ +
                                                          + + {#each [] as e} + +
                                                            + {/each} +
                                                            +
                                                            + + {#each [] as e} + A + {:else} +
                                                            + +
                                                              + {/each} +
                                                              diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore06-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore06-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte new file mode 100644 index 000000000..ab37c96a6 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte @@ -0,0 +1,44 @@ +
                                                              + + {#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} +
                                                                              diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-ignore07-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-ignore07-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte-options-custom-element-requirements.json diff --git a/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-requirements.json similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-requirements.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/svelte3-options-custom-element-requirements.json diff --git a/tests/fixtures/rules/valid-compile/valid/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/test01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/ts/class01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/class01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ts/class01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/class01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte new file mode 100644 index 000000000..cd5721671 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte @@ -0,0 +1,10 @@ + + + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ts/script-comment-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/script-comment-svelte4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/tests/fixtures/rules/valid-compile/valid/ts/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ts/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/test01-input.svelte diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4-requirements.json new file mode 100644 index 000000000..b650cc296 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": "^3.0.0 || ^4.0.0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4.svelte new file mode 100644 index 000000000..059de337a --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input-svete4.svelte @@ -0,0 +1,4 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte new file mode 100644 index 000000000..1df84b501 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte @@ -0,0 +1,4 @@ + diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-requirements.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-requirements.json new file mode 100644 index 000000000..0192b1098 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-requirements.json @@ -0,0 +1,3 @@ +{ + "svelte": ">=5.0.0-0" +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-unused-in-script-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-unused-in-script-input.svelte new file mode 100644 index 000000000..4f6831564 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/ts-unused-in-script-input.svelte @@ -0,0 +1,5 @@ + + +{$page} diff --git a/tests/fixtures/rules/valid-compile/valid/ts/type-only-import01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ts/type-only-import01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/ts/type-only-import02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import02-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/ts/type-only-import02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/ts/type-only-import02-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/undef01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/undef01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/undef01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/undef01-input.svelte diff --git a/tests/fixtures/rules/valid-compile/valid/unuse01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/unuse01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-compile/valid/unuse01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/valid/unuse01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/invalid/const-key01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-each-key/invalid/const-key01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-errors.yaml diff --git a/tests/fixtures/rules/valid-each-key/invalid/const-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/invalid/const-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/const-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-errors.yaml diff --git a/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/invalid/out-vars-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/call-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/call-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/call-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/call-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/destructure-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/destructure-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/destructure-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/destructure-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/expression-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/expression-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/expression-key02-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key02-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/expression-key02-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/expression-key02-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/index-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/index-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/index-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/index-key01-input.svelte diff --git a/tests/fixtures/rules/valid-each-key/valid/member-key01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/member-key01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-each-key/valid/member-key01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-each-key/valid/member-key01-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-errors.yaml similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-errors.yaml rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-errors.yaml diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/+test001-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/_config.json similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/_config.json diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-errors.yaml new file mode 100644 index 000000000..56a75c0ec --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-errors.yaml @@ -0,0 +1,24 @@ +- 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 +- message: disallow props other than data or errors in SvelteKit page components. + line: 5 + column: 21 + suggestions: null +- message: disallow props other than data or errors in SvelteKit page components. + line: 5 + column: 36 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-input.svelte new file mode 100644 index 000000000..6928abbd7 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/+test001-input.svelte @@ -0,0 +1,8 @@ + + +{foo}, {bar} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json new file mode 100644 index 000000000..c58ee3c00 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options/_config.json @@ -0,0 +1,13 @@ +{ + "languageOptions": { + "parserOptions": { + "svelteConfig": { + "kit": { + "files": { + "routes": "tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config-from-parser-options" + } + } + } + } + } +} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-errors.yaml b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-errors.yaml new file mode 100644 index 000000000..56a75c0ec --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-errors.yaml @@ -0,0 +1,24 @@ +- 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 +- message: disallow props other than data or errors in SvelteKit page components. + line: 5 + column: 21 + suggestions: null +- message: disallow props other than data or errors in SvelteKit page components. + line: 5 + column: 36 + suggestions: null diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-input.svelte new file mode 100644 index 000000000..6928abbd7 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/+test001-input.svelte @@ -0,0 +1,8 @@ + + +{foo}, {bar} diff --git a/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/svelte.config.js b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/svelte.config.js new file mode 100644 index 000000000..6153da28b --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config/svelte.config.js @@ -0,0 +1,7 @@ +export default { + kit: { + files: { + routes: 'tests/fixtures/rules/valid-prop-names-in-kit-pages/invalid/svelte-config' + } + } +}; diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test-for-form-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test-for-form-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test-for-form-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test-for-form-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test001-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test001-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test001-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test001-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test002-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test002-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test002-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test002-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test003-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test003-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test003-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test003-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test004-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test004-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test004-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/+test004-input.svelte diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/_config.json b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/_config.json similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/_config.json rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/_config.json diff --git a/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/test01-input.svelte b/packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/test01-input.svelte similarity index 100% rename from tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/test01-input.svelte rename to packages/eslint-plugin-svelte/tests/fixtures/rules/valid-prop-names-in-kit-pages/valid/not-page/test01-input.svelte diff --git a/tests/src/configs/all.ts b/packages/eslint-plugin-svelte/tests/src/configs/all.ts similarity index 100% rename from tests/src/configs/all.ts rename to packages/eslint-plugin-svelte/tests/src/configs/all.ts diff --git a/tests/src/configs/base.ts b/packages/eslint-plugin-svelte/tests/src/configs/base.ts similarity index 100% rename from tests/src/configs/base.ts rename to packages/eslint-plugin-svelte/tests/src/configs/base.ts diff --git a/tests/src/configs/recommended.ts b/packages/eslint-plugin-svelte/tests/src/configs/recommended.ts similarity index 100% rename from tests/src/configs/recommended.ts rename to packages/eslint-plugin-svelte/tests/src/configs/recommended.ts diff --git a/tests/src/integration/no-unused-vars.ts b/packages/eslint-plugin-svelte/tests/src/integration/no-unused-vars.ts similarity index 100% rename from tests/src/integration/no-unused-vars.ts rename to packages/eslint-plugin-svelte/tests/src/integration/no-unused-vars.ts diff --git a/tests/src/meta.ts b/packages/eslint-plugin-svelte/tests/src/meta.ts similarity index 100% rename from tests/src/meta.ts rename to packages/eslint-plugin-svelte/tests/src/meta.ts diff --git a/tests/src/rules/@typescript-eslint/no-unnecessary-condition.ts b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/no-unnecessary-condition.ts similarity index 100% rename from tests/src/rules/@typescript-eslint/no-unnecessary-condition.ts rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/no-unnecessary-condition.ts diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/file.ts b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/file.ts similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/file.ts rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/file.ts diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/react.tsx b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/react.tsx similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/react.tsx rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/react.tsx diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/tsconfig.json b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/tsconfig.json similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/tsconfig.json rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/tsconfig.json diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/file.ts b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/file.ts similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/file.ts rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/file.ts diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/react.tsx b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/react.tsx similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/react.tsx rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/react.tsx diff --git a/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/tsconfig.json b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/tsconfig.json similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/tsconfig.json rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/fixtures/unstrict/tsconfig.json diff --git a/tests/src/rules/@typescript-eslint/original-tests/no-unnecessary-condition.ts b/packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/no-unnecessary-condition.ts similarity index 100% rename from tests/src/rules/@typescript-eslint/original-tests/no-unnecessary-condition.ts rename to packages/eslint-plugin-svelte/tests/src/rules/@typescript-eslint/original-tests/no-unnecessary-condition.ts diff --git a/tests/src/rules/block-lang.ts b/packages/eslint-plugin-svelte/tests/src/rules/block-lang.ts similarity index 100% rename from tests/src/rules/block-lang.ts rename to packages/eslint-plugin-svelte/tests/src/rules/block-lang.ts diff --git a/tests/src/rules/button-has-type.ts b/packages/eslint-plugin-svelte/tests/src/rules/button-has-type.ts similarity index 100% rename from tests/src/rules/button-has-type.ts rename to packages/eslint-plugin-svelte/tests/src/rules/button-has-type.ts diff --git a/tests/src/rules/comment-directive.ts b/packages/eslint-plugin-svelte/tests/src/rules/comment-directive.ts similarity index 100% rename from tests/src/rules/comment-directive.ts rename to packages/eslint-plugin-svelte/tests/src/rules/comment-directive.ts diff --git a/tests/src/rules/derived-has-same-inputs-outputs.ts b/packages/eslint-plugin-svelte/tests/src/rules/derived-has-same-inputs-outputs.ts similarity index 100% rename from tests/src/rules/derived-has-same-inputs-outputs.ts rename to packages/eslint-plugin-svelte/tests/src/rules/derived-has-same-inputs-outputs.ts diff --git a/tests/src/rules/experimental-require-slot-types.ts b/packages/eslint-plugin-svelte/tests/src/rules/experimental-require-slot-types.ts similarity index 100% rename from tests/src/rules/experimental-require-slot-types.ts rename to packages/eslint-plugin-svelte/tests/src/rules/experimental-require-slot-types.ts diff --git a/tests/src/rules/experimental-require-strict-events.ts b/packages/eslint-plugin-svelte/tests/src/rules/experimental-require-strict-events.ts similarity index 100% rename from tests/src/rules/experimental-require-strict-events.ts rename to packages/eslint-plugin-svelte/tests/src/rules/experimental-require-strict-events.ts diff --git a/tests/src/rules/first-attribute-linebreak.ts b/packages/eslint-plugin-svelte/tests/src/rules/first-attribute-linebreak.ts similarity index 100% rename from tests/src/rules/first-attribute-linebreak.ts rename to packages/eslint-plugin-svelte/tests/src/rules/first-attribute-linebreak.ts diff --git a/tests/src/rules/html-closing-bracket-spacing.ts b/packages/eslint-plugin-svelte/tests/src/rules/html-closing-bracket-spacing.ts similarity index 100% rename from tests/src/rules/html-closing-bracket-spacing.ts rename to packages/eslint-plugin-svelte/tests/src/rules/html-closing-bracket-spacing.ts diff --git a/tests/src/rules/html-quotes.ts b/packages/eslint-plugin-svelte/tests/src/rules/html-quotes.ts similarity index 100% rename from tests/src/rules/html-quotes.ts rename to packages/eslint-plugin-svelte/tests/src/rules/html-quotes.ts diff --git a/tests/src/rules/html-self-closing.ts b/packages/eslint-plugin-svelte/tests/src/rules/html-self-closing.ts similarity index 100% rename from tests/src/rules/html-self-closing.ts rename to packages/eslint-plugin-svelte/tests/src/rules/html-self-closing.ts diff --git a/tests/src/rules/indent.ts b/packages/eslint-plugin-svelte/tests/src/rules/indent.ts similarity index 100% rename from tests/src/rules/indent.ts rename to packages/eslint-plugin-svelte/tests/src/rules/indent.ts diff --git a/tests/src/rules/infinite-reactive-loop.ts b/packages/eslint-plugin-svelte/tests/src/rules/infinite-reactive-loop.ts similarity index 100% rename from tests/src/rules/infinite-reactive-loop.ts rename to packages/eslint-plugin-svelte/tests/src/rules/infinite-reactive-loop.ts diff --git a/tests/src/rules/max-attributes-per-line.ts b/packages/eslint-plugin-svelte/tests/src/rules/max-attributes-per-line.ts similarity index 100% rename from tests/src/rules/max-attributes-per-line.ts rename to packages/eslint-plugin-svelte/tests/src/rules/max-attributes-per-line.ts diff --git a/tests/src/rules/mustache-spacing.ts b/packages/eslint-plugin-svelte/tests/src/rules/mustache-spacing.ts similarity index 100% rename from tests/src/rules/mustache-spacing.ts rename to packages/eslint-plugin-svelte/tests/src/rules/mustache-spacing.ts diff --git a/tests/src/rules/no-at-debug-tags.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-at-debug-tags.ts similarity index 100% rename from tests/src/rules/no-at-debug-tags.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-at-debug-tags.ts diff --git a/tests/src/rules/no-at-html-tags.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-at-html-tags.ts similarity index 100% rename from tests/src/rules/no-at-html-tags.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-at-html-tags.ts diff --git a/tests/src/rules/no-dom-manipulating.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dom-manipulating.ts similarity index 100% rename from tests/src/rules/no-dom-manipulating.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dom-manipulating.ts diff --git a/tests/src/rules/no-dupe-else-if-blocks.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dupe-else-if-blocks.ts similarity index 100% rename from tests/src/rules/no-dupe-else-if-blocks.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dupe-else-if-blocks.ts diff --git a/tests/src/rules/no-dupe-on-directives.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dupe-on-directives.ts similarity index 100% rename from tests/src/rules/no-dupe-on-directives.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dupe-on-directives.ts diff --git a/tests/src/rules/no-dupe-style-properties.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dupe-style-properties.ts similarity index 100% rename from tests/src/rules/no-dupe-style-properties.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dupe-style-properties.ts diff --git a/tests/src/rules/no-dupe-use-directives.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dupe-use-directives.ts similarity index 100% rename from tests/src/rules/no-dupe-use-directives.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dupe-use-directives.ts diff --git a/tests/src/rules/no-dynamic-slot-name.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-dynamic-slot-name.ts similarity index 100% rename from tests/src/rules/no-dynamic-slot-name.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-dynamic-slot-name.ts diff --git a/tests/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts similarity index 100% rename from tests/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts diff --git a/tests/src/rules/no-extra-reactive-curlies.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-extra-reactive-curlies.ts similarity index 100% rename from tests/src/rules/no-extra-reactive-curlies.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-extra-reactive-curlies.ts diff --git a/tests/src/rules/no-goto-without-base.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-goto-without-base.ts similarity index 100% rename from tests/src/rules/no-goto-without-base.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-goto-without-base.ts diff --git a/tests/src/rules/no-ignored-unsubscribe.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-ignored-unsubscribe.ts similarity index 100% rename from tests/src/rules/no-ignored-unsubscribe.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-ignored-unsubscribe.ts diff --git a/tests/src/rules/no-immutable-reactive-statements.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-immutable-reactive-statements.ts similarity index 100% rename from tests/src/rules/no-immutable-reactive-statements.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-immutable-reactive-statements.ts diff --git a/tests/src/rules/no-inline-styles.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-inline-styles.ts similarity index 100% rename from tests/src/rules/no-inline-styles.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-inline-styles.ts diff --git a/tests/src/rules/no-inner-declarations.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-inner-declarations.ts similarity index 100% rename from tests/src/rules/no-inner-declarations.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-inner-declarations.ts diff --git a/tests/src/rules/no-not-function-handler.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-not-function-handler.ts similarity index 100% rename from tests/src/rules/no-not-function-handler.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-not-function-handler.ts diff --git a/tests/src/rules/no-object-in-text-mustaches.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-object-in-text-mustaches.ts similarity index 100% rename from tests/src/rules/no-object-in-text-mustaches.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-object-in-text-mustaches.ts diff --git a/tests/src/rules/no-reactive-functions.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-reactive-functions.ts similarity index 100% rename from tests/src/rules/no-reactive-functions.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-reactive-functions.ts diff --git a/tests/src/rules/no-reactive-literals.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-reactive-literals.ts similarity index 100% rename from tests/src/rules/no-reactive-literals.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-reactive-literals.ts diff --git a/tests/src/rules/no-reactive-reassign.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-reactive-reassign.ts similarity index 100% rename from tests/src/rules/no-reactive-reassign.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-reactive-reassign.ts diff --git a/tests/src/rules/no-restricted-html-elements.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-restricted-html-elements.ts similarity index 100% rename from tests/src/rules/no-restricted-html-elements.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-restricted-html-elements.ts diff --git a/tests/src/rules/no-shorthand-style-property-overrides.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-shorthand-style-property-overrides.ts similarity index 100% rename from tests/src/rules/no-shorthand-style-property-overrides.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-shorthand-style-property-overrides.ts diff --git a/tests/src/rules/no-spaces-around-equal-signs-in-attribute.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-spaces-around-equal-signs-in-attribute.ts similarity index 100% rename from tests/src/rules/no-spaces-around-equal-signs-in-attribute.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-spaces-around-equal-signs-in-attribute.ts diff --git a/tests/src/rules/no-store-async.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-store-async.ts similarity index 100% rename from tests/src/rules/no-store-async.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-store-async.ts diff --git a/packages/eslint-plugin-svelte/tests/src/rules/no-svelte-internal.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-svelte-internal.ts new file mode 100644 index 000000000..3f4e67863 --- /dev/null +++ b/packages/eslint-plugin-svelte/tests/src/rules/no-svelte-internal.ts @@ -0,0 +1,12 @@ +import { RuleTester } from '../../utils/eslint-compat'; +import rule from '../../../src/rules/no-svelte-internal'; +import { loadTestCases } from '../../utils/utils'; + +const tester = new RuleTester({ + languageOptions: { + ecmaVersion: 2020, + sourceType: 'module' + } +}); + +tester.run('no-svelte-internal', rule as any, loadTestCases('no-svelte-internal')); diff --git a/tests/src/rules/no-target-blank.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-target-blank.ts similarity index 100% rename from tests/src/rules/no-target-blank.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-target-blank.ts diff --git a/tests/src/rules/no-trailing-spaces.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-trailing-spaces.ts similarity index 100% rename from tests/src/rules/no-trailing-spaces.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-trailing-spaces.ts diff --git a/tests/src/rules/no-unknown-style-directive-property.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-unknown-style-directive-property.ts similarity index 100% rename from tests/src/rules/no-unknown-style-directive-property.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-unknown-style-directive-property.ts diff --git a/tests/src/rules/no-unused-class-name.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-unused-class-name.ts similarity index 100% rename from tests/src/rules/no-unused-class-name.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-unused-class-name.ts diff --git a/tests/src/rules/no-unused-svelte-ignore.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-unused-svelte-ignore.ts similarity index 100% rename from tests/src/rules/no-unused-svelte-ignore.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-unused-svelte-ignore.ts diff --git a/tests/src/rules/no-useless-mustaches.ts b/packages/eslint-plugin-svelte/tests/src/rules/no-useless-mustaches.ts similarity index 100% rename from tests/src/rules/no-useless-mustaches.ts rename to packages/eslint-plugin-svelte/tests/src/rules/no-useless-mustaches.ts diff --git a/tests/src/rules/prefer-class-directive.ts b/packages/eslint-plugin-svelte/tests/src/rules/prefer-class-directive.ts similarity index 100% rename from tests/src/rules/prefer-class-directive.ts rename to packages/eslint-plugin-svelte/tests/src/rules/prefer-class-directive.ts diff --git a/tests/src/rules/prefer-destructured-store-props.ts b/packages/eslint-plugin-svelte/tests/src/rules/prefer-destructured-store-props.ts similarity index 100% rename from tests/src/rules/prefer-destructured-store-props.ts rename to packages/eslint-plugin-svelte/tests/src/rules/prefer-destructured-store-props.ts diff --git a/tests/src/rules/prefer-style-directive.ts b/packages/eslint-plugin-svelte/tests/src/rules/prefer-style-directive.ts similarity index 100% rename from tests/src/rules/prefer-style-directive.ts rename to packages/eslint-plugin-svelte/tests/src/rules/prefer-style-directive.ts diff --git a/tests/src/rules/require-each-key.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-each-key.ts similarity index 100% rename from tests/src/rules/require-each-key.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-each-key.ts diff --git a/tests/src/rules/require-event-dispatcher-types.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-event-dispatcher-types.ts similarity index 100% rename from tests/src/rules/require-event-dispatcher-types.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-event-dispatcher-types.ts diff --git a/tests/src/rules/require-optimized-style-attribute.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-optimized-style-attribute.ts similarity index 100% rename from tests/src/rules/require-optimized-style-attribute.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-optimized-style-attribute.ts diff --git a/tests/src/rules/require-store-callbacks-use-set-param.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-store-callbacks-use-set-param.ts similarity index 100% rename from tests/src/rules/require-store-callbacks-use-set-param.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-store-callbacks-use-set-param.ts diff --git a/tests/src/rules/require-store-reactive-access.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-store-reactive-access.ts similarity index 100% rename from tests/src/rules/require-store-reactive-access.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-store-reactive-access.ts diff --git a/tests/src/rules/require-stores-init.ts b/packages/eslint-plugin-svelte/tests/src/rules/require-stores-init.ts similarity index 100% rename from tests/src/rules/require-stores-init.ts rename to packages/eslint-plugin-svelte/tests/src/rules/require-stores-init.ts diff --git a/tests/src/rules/shorthand-attribute.ts b/packages/eslint-plugin-svelte/tests/src/rules/shorthand-attribute.ts similarity index 100% rename from tests/src/rules/shorthand-attribute.ts rename to packages/eslint-plugin-svelte/tests/src/rules/shorthand-attribute.ts diff --git a/tests/src/rules/shorthand-directive.ts b/packages/eslint-plugin-svelte/tests/src/rules/shorthand-directive.ts similarity index 100% rename from tests/src/rules/shorthand-directive.ts rename to packages/eslint-plugin-svelte/tests/src/rules/shorthand-directive.ts diff --git a/tests/src/rules/sort-attributes.ts b/packages/eslint-plugin-svelte/tests/src/rules/sort-attributes.ts similarity index 100% rename from tests/src/rules/sort-attributes.ts rename to packages/eslint-plugin-svelte/tests/src/rules/sort-attributes.ts diff --git a/tests/src/rules/spaced-html-comment.ts b/packages/eslint-plugin-svelte/tests/src/rules/spaced-html-comment.ts similarity index 100% rename from tests/src/rules/spaced-html-comment.ts rename to packages/eslint-plugin-svelte/tests/src/rules/spaced-html-comment.ts diff --git a/tests/src/rules/system.ts b/packages/eslint-plugin-svelte/tests/src/rules/system.ts similarity index 100% rename from tests/src/rules/system.ts rename to packages/eslint-plugin-svelte/tests/src/rules/system.ts diff --git a/tests/src/rules/valid-compile.ts b/packages/eslint-plugin-svelte/tests/src/rules/valid-compile.ts similarity index 100% rename from tests/src/rules/valid-compile.ts rename to packages/eslint-plugin-svelte/tests/src/rules/valid-compile.ts diff --git a/tests/src/rules/valid-each-key.ts b/packages/eslint-plugin-svelte/tests/src/rules/valid-each-key.ts similarity index 100% rename from tests/src/rules/valid-each-key.ts rename to packages/eslint-plugin-svelte/tests/src/rules/valid-each-key.ts diff --git a/tests/src/rules/valid-prop-names-in-kit-pages.ts b/packages/eslint-plugin-svelte/tests/src/rules/valid-prop-names-in-kit-pages.ts similarity index 100% rename from tests/src/rules/valid-prop-names-in-kit-pages.ts rename to packages/eslint-plugin-svelte/tests/src/rules/valid-prop-names-in-kit-pages.ts diff --git a/tests/src/settings/ignore-warnings.ts b/packages/eslint-plugin-svelte/tests/src/settings/ignore-warnings.ts similarity index 100% rename from tests/src/settings/ignore-warnings.ts rename to packages/eslint-plugin-svelte/tests/src/settings/ignore-warnings.ts diff --git a/tests/utils/eslint-compat.ts b/packages/eslint-plugin-svelte/tests/utils/eslint-compat.ts similarity index 100% rename from tests/utils/eslint-compat.ts rename to packages/eslint-plugin-svelte/tests/utils/eslint-compat.ts diff --git a/tests/utils/source-code-fixer.ts b/packages/eslint-plugin-svelte/tests/utils/source-code-fixer.ts similarity index 100% rename from tests/utils/source-code-fixer.ts rename to packages/eslint-plugin-svelte/tests/utils/source-code-fixer.ts diff --git a/tests/utils/utils.ts b/packages/eslint-plugin-svelte/tests/utils/utils.ts similarity index 95% rename from tests/utils/utils.ts rename to packages/eslint-plugin-svelte/tests/utils/utils.ts index 202a97896..91663b2d3 100644 --- a/tests/utils/utils.ts +++ b/packages/eslint-plugin-svelte/tests/utils/utils.ts @@ -289,12 +289,16 @@ function getConfig(ruleName: string, inputFile: string) { const filename = inputFile.slice(inputFile.indexOf(ruleName)); const code = fs.readFileSync(inputFile, 'utf8'); let config; - let configFile: string = inputFile.replace(/input\.[a-z]+$/u, 'config.json'); - if (!fs.existsSync(configFile)) { - configFile = path.join(path.dirname(inputFile), '_config.json'); - } - if (fs.existsSync(configFile)) { - config = JSON.parse(fs.readFileSync(configFile, 'utf8')); + let configFile = [ + inputFile.replace(/input\.[a-z]+$/u, 'config.json'), + path.join(path.dirname(inputFile), '_config.json'), + inputFile.replace(/input\.[a-z]+$/u, 'config.js'), + path.join(path.dirname(inputFile), '_config.js') + ].find((f) => fs.existsSync(f)); + if (configFile) { + config = configFile.endsWith('.js') + ? require(configFile) + : JSON.parse(fs.readFileSync(configFile, 'utf8')); } const parser = path.extname(filename) === '.svelte' diff --git a/tools/lib/changesets-util.ts b/packages/eslint-plugin-svelte/tools/lib/changesets-util.ts similarity index 94% rename from tools/lib/changesets-util.ts rename to packages/eslint-plugin-svelte/tools/lib/changesets-util.ts index fb696ca15..7ddce80c3 100644 --- a/tools/lib/changesets-util.ts +++ b/packages/eslint-plugin-svelte/tools/lib/changesets-util.ts @@ -3,7 +3,7 @@ import path from 'path'; /** Get new version string from changesets */ export async function getNewVersion(): Promise { - const releasePlan = await getReleasePlan(path.resolve(__dirname, '../..')); + const releasePlan = await getReleasePlan(path.resolve(__dirname, '../../../..')); return releasePlan.releases.find(({ name }) => name === 'eslint-plugin-svelte')!.newVersion; } diff --git a/tools/lib/load-rules.ts b/packages/eslint-plugin-svelte/tools/lib/load-rules.ts similarity index 100% rename from tools/lib/load-rules.ts rename to packages/eslint-plugin-svelte/tools/lib/load-rules.ts diff --git a/tools/lib/write.ts b/packages/eslint-plugin-svelte/tools/lib/write.ts similarity index 100% rename from tools/lib/write.ts rename to packages/eslint-plugin-svelte/tools/lib/write.ts diff --git a/tools/new-rule.ts b/packages/eslint-plugin-svelte/tools/new-rule.ts similarity index 100% rename from tools/new-rule.ts rename to packages/eslint-plugin-svelte/tools/new-rule.ts diff --git a/tools/render-rules.ts b/packages/eslint-plugin-svelte/tools/render-rules.ts similarity index 100% rename from tools/render-rules.ts rename to packages/eslint-plugin-svelte/tools/render-rules.ts diff --git a/tools/update-docs-rules-index.ts b/packages/eslint-plugin-svelte/tools/update-docs-rules-index.ts similarity index 92% rename from tools/update-docs-rules-index.ts rename to packages/eslint-plugin-svelte/tools/update-docs-rules-index.ts index 802619835..49ececf09 100644 --- a/tools/update-docs-rules-index.ts +++ b/packages/eslint-plugin-svelte/tools/update-docs-rules-index.ts @@ -3,7 +3,7 @@ import renderRulesTableContent from './render-rules'; import { writeAndFormat } from './lib/write'; // ----------------------------------------------------------------------------- -const readmeFilePath = path.resolve(__dirname, '../docs/rules.md'); +const readmeFilePath = path.resolve(__dirname, '../../../docs/rules.md'); void writeAndFormat( readmeFilePath, `--- diff --git a/tools/update-docs.ts b/packages/eslint-plugin-svelte/tools/update-docs.ts similarity index 99% rename from tools/update-docs.ts rename to packages/eslint-plugin-svelte/tools/update-docs.ts index 4e94068da..16b94905f 100644 --- a/tools/update-docs.ts +++ b/packages/eslint-plugin-svelte/tools/update-docs.ts @@ -19,7 +19,7 @@ function yamlValue(val: unknown) { return val; } -const ROOT = path.resolve(__dirname, '../docs/rules'); +const ROOT = path.resolve(__dirname, '../../../docs/rules'); function pickSince(content: string): string | null | Promise { const fileIntro = /^---\n((?:.*\n)+)---\n*/.exec(content); diff --git a/tools/update-meta.ts b/packages/eslint-plugin-svelte/tools/update-meta.ts similarity index 100% rename from tools/update-meta.ts rename to packages/eslint-plugin-svelte/tools/update-meta.ts diff --git a/tools/update-readme.ts b/packages/eslint-plugin-svelte/tools/update-readme.ts similarity index 90% rename from tools/update-readme.ts rename to packages/eslint-plugin-svelte/tools/update-readme.ts index 04fd7e2e5..4a10e6f90 100644 --- a/tools/update-readme.ts +++ b/packages/eslint-plugin-svelte/tools/update-readme.ts @@ -7,7 +7,7 @@ const insertText = `\n${renderRulesTableContent( (name) => `https://sveltejs.github.io/eslint-plugin-svelte/rules/${name}/` )}\n`; -const readmeFilePath = path.resolve(__dirname, '../README.md'); +const readmeFilePath = path.resolve(__dirname, '../../../README.md'); const newReadme = fs .readFileSync(readmeFilePath, 'utf8') .replace( @@ -16,7 +16,7 @@ const newReadme = fs ); void writeAndFormat(readmeFilePath, newReadme); -const docsReadmeFilePath = path.resolve(__dirname, '../docs/README.md'); +const docsReadmeFilePath = path.resolve(__dirname, '../../../docs/README.md'); void writeAndFormat( docsReadmeFilePath, @@ -63,7 +63,7 @@ ${newReadme .replace(/\n{3,}/gu, '\n\n')}` ); -const docsUserGuideFilePath = path.resolve(__dirname, '../docs/user-guide.md'); +const docsUserGuideFilePath = path.resolve(__dirname, '../../../docs/user-guide.md'); const docsUserGuide = fs.readFileSync(docsUserGuideFilePath, 'utf8'); diff --git a/tools/update-rule-types.ts b/packages/eslint-plugin-svelte/tools/update-rule-types.ts similarity index 100% rename from tools/update-rule-types.ts rename to packages/eslint-plugin-svelte/tools/update-rule-types.ts diff --git a/tools/update-rules.ts b/packages/eslint-plugin-svelte/tools/update-rules.ts similarity index 100% rename from tools/update-rules.ts rename to packages/eslint-plugin-svelte/tools/update-rules.ts diff --git a/tools/update-rulesets.ts b/packages/eslint-plugin-svelte/tools/update-rulesets.ts similarity index 86% rename from tools/update-rulesets.ts rename to packages/eslint-plugin-svelte/tools/update-rulesets.ts index 90e8b0139..a47af99ce 100644 --- a/tools/update-rulesets.ts +++ b/packages/eslint-plugin-svelte/tools/update-rulesets.ts @@ -11,7 +11,8 @@ const legacyBaseContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ -export = { +import type { Linter } from 'eslint' +const config: Linter.Config = { plugins: ["svelte"], overrides: [ { @@ -36,6 +37,7 @@ export = { }, ], } +export = config `; const legacyBaseFilePath = path.resolve(__dirname, '../src/configs/base.ts'); @@ -48,11 +50,12 @@ const legacyRecommendedContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ -import path from "path" +import type { Linter } from 'eslint' +import path from "node:path" const base = require.resolve("./base") const baseExtend = path.extname(\`\${base}\`) === ".ts" ? "plugin:svelte/base" : base -export = { +const config: Linter.Config = { extends: [baseExtend], rules: { // eslint-plugin-svelte rules @@ -65,6 +68,7 @@ export = { .join(',\n ')}, }, } +export = config `; const legacyRecommendedFilePath = path.resolve(__dirname, '../src/configs/recommended.ts'); @@ -77,11 +81,12 @@ const legacyPrettierContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ -import path from "path" +import type { Linter } from 'eslint' +import path from "node:path" const base = require.resolve("./base") const baseExtend = path.extname(\`\${base}\`) === ".ts" ? "plugin:svelte/base" : base -export = { +const config: Linter.Config = { extends: [baseExtend], rules: { // eslint-plugin-svelte rules @@ -91,6 +96,7 @@ export = { .join(',\n ')}, }, } +export = config `; const legacyPrettierFilePath = path.resolve(__dirname, '../src/configs/prettier.ts'); @@ -107,17 +113,19 @@ const baseContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ -import type { ESLint } from 'eslint'; -export default [ +import type { ESLint, Linter } from 'eslint'; +const config: Linter.FlatConfig[] = [ { + name: 'svelte:base:setup-plugin', plugins: { get svelte(): ESLint.Plugin { - // eslint-disable-next-line @typescript-eslint/no-require-imports -- ignore + // eslint-disable-next-line @typescript-eslint/no-require-imports -- ignore return require("../../index") } }, }, { + name: 'svelte:base:setup-for-svelte', files: ["*.svelte", "**/*.svelte"], languageOptions: { // eslint-disable-next-line @typescript-eslint/no-require-imports -- ignore @@ -142,6 +150,7 @@ export default [ processor: 'svelte/svelte' }, ] +export default config `; const baseFilePath = path.resolve(__dirname, '../src/configs/flat/base.ts'); @@ -154,10 +163,12 @@ const recommendedContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ +import type { Linter } from 'eslint'; import base from "./base" -export default [ +const config: Linter.FlatConfig[] = [ ...base, { + name: 'svelte:recommended:rules', rules: { // eslint-plugin-svelte rules ${rules @@ -170,6 +181,7 @@ export default [ }, } ] +export default config `; const recommendedFilePath = path.resolve(__dirname, '../src/configs/flat/recommended.ts'); @@ -182,10 +194,12 @@ const prettierContent = `/* * This file has been automatically generated, * in order to update its content execute "pnpm run update" */ +import type { Linter } from 'eslint'; import base from "./base" -export default [ +const config: Linter.FlatConfig[] = [ ...base, { + name: 'svelte:prettier:turn-off-rules', rules: { // eslint-plugin-svelte rules ${rules @@ -195,6 +209,7 @@ export default [ }, } ] +export default config `; const prettierFilePath = path.resolve(__dirname, '../src/configs/flat/prettier.ts'); diff --git a/tools/update-types-for-node.ts b/packages/eslint-plugin-svelte/tools/update-types-for-node.ts similarity index 100% rename from tools/update-types-for-node.ts rename to packages/eslint-plugin-svelte/tools/update-types-for-node.ts diff --git a/tools/update.ts b/packages/eslint-plugin-svelte/tools/update.ts similarity index 100% rename from tools/update.ts rename to packages/eslint-plugin-svelte/tools/update.ts diff --git a/tsconfig.build.json b/packages/eslint-plugin-svelte/tsconfig.build.json similarity index 100% rename from tsconfig.build.json rename to packages/eslint-plugin-svelte/tsconfig.build.json diff --git a/tsconfig.json b/packages/eslint-plugin-svelte/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/eslint-plugin-svelte/tsconfig.json diff --git a/typings/@eslint-community/eslint-utils/index.d.ts b/packages/eslint-plugin-svelte/typings/@eslint-community/eslint-utils/index.d.ts similarity index 100% rename from typings/@eslint-community/eslint-utils/index.d.ts rename to packages/eslint-plugin-svelte/typings/@eslint-community/eslint-utils/index.d.ts diff --git a/typings/estree/index.d.ts b/packages/eslint-plugin-svelte/typings/estree/index.d.ts similarity index 100% rename from typings/estree/index.d.ts rename to packages/eslint-plugin-svelte/typings/estree/index.d.ts diff --git a/typings/postcss-safe-parser/lib/safe-parser/index.d.ts b/packages/eslint-plugin-svelte/typings/postcss-safe-parser/lib/safe-parser/index.d.ts similarity index 100% rename from typings/postcss-safe-parser/lib/safe-parser/index.d.ts rename to packages/eslint-plugin-svelte/typings/postcss-safe-parser/lib/safe-parser/index.d.ts diff --git a/typings/postcss/lib/tokenize/index.d.ts b/packages/eslint-plugin-svelte/typings/postcss/lib/tokenize/index.d.ts similarity index 100% rename from typings/postcss/lib/tokenize/index.d.ts rename to packages/eslint-plugin-svelte/typings/postcss/lib/tokenize/index.d.ts diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 000000000..12a54efe9 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - 'packages/*' + - 'docs-svelte-kit' diff --git a/prettier-playground/a.svelte b/prettier-playground/a.svelte deleted file mode 100644 index 076586057..000000000 --- a/prettier-playground/a.svelte +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - -

                                                                              {a} + {b} = {a + b + c}

                                                                              - - - -

                                                                              {@html a}

                                                                              -{@debug a} - - - - - - -
                                                                              - -
                                                                              diff --git a/prettier-playground/test.html b/prettier-playground/test.html deleted file mode 100644 index bebdb7929..000000000 --- a/prettier-playground/test.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - -

                                                                              {a} + {b} = {a + b+c}

                                                                              - - - -

                                                                              {@html a}

                                                                              -{@debug a} - - - - - - -
                                                                              - -
                                                                              - diff --git a/stylelint.config.js b/stylelint.config.js deleted file mode 100644 index 8ffefc015..000000000 --- a/stylelint.config.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = { - extends: '@1stg/stylelint-config' -}; diff --git a/svelte-kit-import-hook.mjs b/svelte-kit-import-hook.mjs deleted file mode 100644 index 11f2ad3bc..000000000 --- a/svelte-kit-import-hook.mjs +++ /dev/null @@ -1,70 +0,0 @@ -/* !! This project can't be ESM yet, so hack it to get sveltekit to work. !! */ -import babelCore from '@babel/core'; -import * as t from '@babel/types'; - -/** transform code */ -function transform(code, filename) { - if (filename.includes('/@sveltejs/kit/') && code.includes('svelte.config.js')) { - let transformed = false; - const newCode = babelCore.transformSync(code, { - babelrc: false, - plugins: [ - { - visitor: { - StringLiteral(path) { - if (path.node.value === 'svelte.config.js') { - // The configuration file loads `svelte.config.mjs`. - path.replaceWith(t.stringLiteral('svelte.config.mjs')); - transformed = true; - } - } - } - } - ] - }); - if (!transformed) { - return code; - } - return `${newCode.code}`; - } - - return code; -} - -/** - * @param {string} url - * @param {{ - * format: string, - * }} context If resolve settled with a `format`, that value is included here. - * @param {Function} defaultLoad - * @returns {Promise<{ - * format: !string, - * source: !(string | ArrayBuffer | SharedArrayBuffer | Uint8Array), - * }>} - */ -export async function load(url, context, defaultLoad) { - const result = await defaultLoad(url, context, defaultLoad); - if (url.includes('/@sveltejs/kit/') && result.source.includes('svelte.config.js')) { - return { - format: result.format, - source: transform(`${result.source}`, url) - }; - } - return result; -} - -/** - * @param {!(string | SharedArrayBuffer | Uint8Array)} source - * @param {{ - * format: string, - * url: string, - * }} context - * @param {Function} defaultTransformSource - * @returns {Promise<{ source: !(string | SharedArrayBuffer | Uint8Array) }>} - */ -export async function transformSource(source, context, defaultTransformSource) { - const result = await defaultTransformSource(source, context, defaultTransformSource); - return { - source: transform(`${result.source}`, context.url) - }; -} diff --git a/svelte-kit-import.mjs b/svelte-kit-import.mjs deleted file mode 100644 index 5e01d3540..000000000 --- a/svelte-kit-import.mjs +++ /dev/null @@ -1,4 +0,0 @@ -// eslint-disable-next-line n/no-unsupported-features/node-builtins -- Used in build script for repo site -import { register } from 'node:module'; -import { pathToFileURL } from 'node:url'; -register('./svelte-kit-import-hook.mjs', pathToFileURL('./')); diff --git a/svelte.config.mjs b/svelte.config.mjs deleted file mode 100644 index fc61f43bf..000000000 --- a/svelte.config.mjs +++ /dev/null @@ -1,53 +0,0 @@ -import ghpagesAdapter from 'svelte-adapter-ghpages'; -import path from 'path'; -import fs from 'fs'; -import { fileURLToPath } from 'url'; - -// eslint-disable-next-line no-undef -- There seems to be a package that uses `self`. -if (typeof self === 'undefined') { - globalThis.self = globalThis; -} - -const dirname = path.dirname(fileURLToPath(import.meta.url)); - -// This project can't be ESM yet, so hack it to get svelte-kit to work. -// A hack that treats files in the `.svelte-kit` directory as ESM. -if (!fs.existsSync(path.join(dirname, '.svelte-kit'))) { - fs.mkdirSync(path.join(dirname, '.svelte-kit')); -} -fs.writeFileSync( - path.join(dirname, '.svelte-kit/package.json'), - JSON.stringify({ type: 'module' }) -); - -const outDir = path.join(dirname, 'build/eslint-plugin-svelte'); - -/** @type {import('@sveltejs/kit').Config} */ -const config = { - compilerOptions: { - preserveWhitespace: true - }, - extensions: ['.svelte', '.md'], - kit: { - paths: { - base: '/eslint-plugin-svelte', - relative: false - }, - adapter: ghpagesAdapter({ - // default options are shown - pages: outDir, - assets: outDir - }), - files: { - routes: path.join(dirname, './docs-svelte-kit/src/routes'), - appTemplate: path.join(dirname, './docs-svelte-kit/src/app.html'), - hooks: { - server: path.join(dirname, './docs-svelte-kit/src/hooks/server'), - client: path.join(dirname, './docs-svelte-kit/src/hooks/client') - }, - lib: path.join(dirname, './docs-svelte-kit/src/lib'), - assets: path.join(dirname, './docs-svelte-kit/statics') - } - } -}; -export default config; diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml b/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml deleted file mode 100644 index 207168f1b..000000000 --- a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- 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 diff --git a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte b/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte deleted file mode 100644 index 70500a8ae..000000000 --- a/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-input.svelte +++ /dev/null @@ -1,22 +0,0 @@ -
                                                                              - {#await Promise.resolve(42)} - - {:then name} - -
                                                                                - - {:catch name} - -
                                                                                  - {/await} -
                                                                                  -
                                                                                  - {#await Promise.resolve(42)} - - {:then name} - -
                                                                                    - {/await} -
                                                                                    - - diff --git a/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte b/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte deleted file mode 100644 index 34f0da9af..000000000 --- a/tests/fixtures/rules/valid-compile/valid/ts/ts-lang01-input.svelte +++ /dev/null @@ -1,4 +0,0 @@ -