Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Textlint

JuanMa Garrido edited this page May 18, 2020 · 5 revisions

To increase the quality of Frontity's documentation the repository includes textlint, a tool that will generate a report over the texts added or modified to the repo

Most of the rules used by textlink will generate just a warning (⚠️) but a few of them will generate an error (⛔️). No errors are allowed in the commits so they should be fixed to be able to complete the commit

Most of these errors detected can be fixed by doing npx textlink --fix <pattern-files>

The rules used to generate the reports are the ones specified under the textlint property in the package.json. For now they are:

Clone this wiki locally