astro/valid-compile
disallow warnings when compiling.
- β οΈ This rule was deprecated.
π Rule Details
This rule uses compiler diagnostics exposed by astro-eslint-parser to report
warnings while ESLint processes individual .astro files. It is now deprecated
and is no longer included in the recommended config.
Use Astroβs astro check
command instead. It runs project-wide diagnostics, including type checking in
.astro files, reports errors to the console, and exits with status code 1
when errors are found. The command is designed for use in CI workflows.
npx astro check
π§ Options
Nothing.
π Note
Remove this rule from your ESLint configuration and run astro check
separately instead.
π Further Reading
π« Related Rules
π Version
This rule was introduced in eslint-plugin-astro v0.21.0
π Implementation
Edit this page
Back
βastro/no-unused-define-vars-in-styleNext Page
astro/no-set-html-directiveβ
βastro/no-unused-define-vars-in-styleNext Page
astro/no-set-html-directiveβ