Vale is a command-line tool that brings code-like linting to prose. It’s open source, fast, and highly customizable.

Source: Vale, a syntax-aware linter for prose built with speed and extensibility in mind

I’d probably prefer Google Docs and Grammarly for most purposes but this could be great for certain types of technical writing.