title |
---|
eslint-plugin-svelte |
eslint-plugin-svelte
is ESLint plugin for Svelte.
It provides many unique check rules by using the template AST.
You can check on the Online DEMO.
ESLint plugin for Svelte.
It provides many unique check rules using the AST generated by svelte-eslint-parser.
Svelte has the official ESLint plugin the eslint-plugin-svelte3. The eslint-plugin-svelte3 works well enough to check scripts. However, it does not handle the AST of the template, which makes it very difficult for third parties to create their own the ESLint rules for the Svelte.
The svelte-eslint-parser aims to make it easy to create your own rules for the Svelte by allowing the template AST to be used in the rules.
The svelte-eslint-parser and the eslint-plugin-svelte
can not be used with the eslint-plugin-svelte3.
See User Guide.
See Available Rules.
See the LICENSE file for license rights and limitations (MIT).