astro/.changeset/proud-chicken-sin.md
Matthew Phillips dbd2f5076b
Adds the astro check command (#1410)
* Adds the `astro check` command.

This adds `astro check`, which runs type checking (and general error
    checking) on Astro projects.

* print the number of errors found

* Adds a changeset

* Add cli docs

* Upgrade the language server version

* Prevent linting the console.logs
2021-10-11 08:12:15 -04:00

386 B

astro
patch

Adds the astro check command

This adds a new command, astro check which runs diagnostics on a project. The same diagnostics run within the Astro VSCode plugin! Just run:

astro check

Which works a lot like tsc and will give you error messages, if any were found. We recommend adding this to your CI setup to prevent errors from being merged.