eslint-plugin-astro
Introduction
eslint-plugin-astro is ESLint plugin for Astro components.
You can check on the Online DEMO.
This plugin is in the experimental stages of development.
At least it works fine with a withastro/docs repository.
π What is this plugin?
ESLint plugin for Astro components.
- Linting Astro components using ESLint.
- Find problems with Astro components.
- Apply a consistent code style to Astro components.
- Linting targets include Frontmatter, HTML Template, JSX-like Expressions, Client-Side Scripts, Directives, and more.
- Check code in real time with the ESLint editor integrations.
π Usage
See User Guide.
β Rules
See Available Rules.
π₯ Versioning policy
This plugin follows Semantic Versioning. However, please note that we do not follow ESLintβs Semantic Versioning Policy. In minor version releases, this plugin may change the sharable configs provided by the plugin or the default behavior of the pluginβs rules in order to add features to the plugin. Because we want to add many features to the plugin soon, so that users can easily take advantage of new features in Astro.
According to our policy, any minor update may report more linting errors than the previous release. As such, we recommend using the tilde (~) in package.json to guarantee the results of your builds.
β€οΈ Supporting
If you are willing to see that this package continues to be maintained, please consider sponsoring me.
π License
See the LICENSE file for license rights and limitations (MIT).
Edit this page
User Guideβ