BohdanPetryshyn / grammar-linter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatsby vale pre-build hook

This small demo illustrates how the Vale spell checker can be integrated into the Gatsby build lifecycle.

The vale-pre-build-hook.js exports a Gatsby lifecycle hook that will be later called before the build stage starts. The hook spawns a child process and waits for it to finish. The build continues after the spell check finishes or fails in case of a non-zero process exit code.

About

License:BSD Zero Clause License


Languages

Language:CSS 61.4%Language:JavaScript 38.6%