preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

Optionally fail on linting errors #591

Closed ferki closed 4 years ago

ferki commented 4 years ago

Currently Statocles::Plugin::HTMLLint simply prints any linting errors to the screen, but does not otherwise signal if linting has failed.

Failing the build step could be used to provide early feedback to authors about failures, and also to prevent deploying a site if there are problems with it. It might be especially useful when Statocles is used together with a CI/CD solution.

ferki commented 4 years ago

Thanks for the merge and release!