-
Notifications
You must be signed in to change notification settings - Fork 34
Textlint
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 (
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:
⚠️ textlint-rule-alex
: Alex helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing.⚠️ textlint-rule-common-misspellings
: Check common misspellings from Wikipedia: Lists of common misspellings.⚠️ textlint-rule-en-capitalization
: Check and fix capitalization.⚠️ textlint-rule-no-empty-section
: Check for empty sections.⚠️ textlint-rule-no-exclamation-question-mark
: Disallow exclamation and question marks.⚠️ textlint-rule-one-sentence-per-line
: A fixable textlint rule adding a line break after each sentence, also known as Semantic Line Breaks (SemBr).⚠️ textlint-rule-period-in-list-item
: Check with or without period in list item.⚠️ textlint-rule-rousseau
: Check English sentence using rousseau.⚠️ textlint-rule-spelling
: Check spellings with much more language dictionaries.- ⛔️
textlint-rule-terminology
: Check and fix correct terms spelling. Check the default terminology. ⚠️ textlint-rule-write-good
: Proofreading with btford/write-good. "write good" is a "naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too."
Got questions or feedback about Frontity? We'd love to hear from you. Use our community forum yo ! ❤️
Frontity also welcomes contributions. There are many ways to support the project (and get free swag)! If you don't know where to start, this guide might help → How to contribute?