sveltejs / eslint-plugin-svelte

ESLint plugin for Svelte using AST
https://sveltejs.github.io/eslint-plugin-svelte/
MIT License
296 stars 35 forks source link

feat: add `svelte/no-svelte-internal` rule #749

Closed baseballyama closed 4 months ago

baseballyama commented 4 months ago

svelte/internal is deprecated in Svelte 5 and will be removed in Svelte 6 according to our current plan. The Svelte compiler only compiles .svelte files and .svelte.[jt]s files, so the compiler can not check normal .[jt]s files. Therefore, the ESLint plugin checks this.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 78887d57be201ac6f331e54e8e7234508d773a68

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------- | ----- | | eslint-plugin-svelte | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

baseballyama commented 4 months ago

I need to wait https://github.com/sveltejs/eslint-plugin-svelte/pull/751

baseballyama commented 4 months ago

I forgot to write a document.😇

baseballyama commented 4 months ago

Finished ~~ @ota-meshi