You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add spelling check
* Add option to add word to ignore list with -i flag
* Add workaround for number ranges and dimensions
* Make spelling errors fatal
* Add silent mode
* Add custom dictionary support
Added 'irregardless' to ignore list. Don't forget to commit the changes to sample-rules-override.json.
72
+
```
56
73
57
74
### Reports
58
75
59
-
The tool prints a report of writing quality issues with their location and description. For example, a warning in README.md from line 23 column 9 to line 23 column 16 prints;
76
+
The tool prints a report of writing quality issues with their location and description. For example, a warning in `README.md` from line 23 column 9 to line 23 column 16 prints;
60
77
61
78
```bash
62
79
README.md
63
80
23:9-23:16 warning Replace “utilize” with “use”
64
81
```
65
82
83
+
### Custom Dictionary
84
+
85
+
By default, `quality-docs` spell checks documents against [a US English dictionary](https://github.com/wooorm/dictionaries/dictionaries/en_US). To extend the built in dictionary with custom English terms related to your project(s), add a [hunspell format](http://linux.die.net/man/4/hunspell) `.dic` file to your project, and reference it with the `customDictionary` key in the rules override JSON file. See [`sample.dic`](./sample.dic) for an example. (Note: `quality-docs` uses the [US English affix file](https://github.com/wooorm/dictionaries/blob/master/dictionaries/en_US/index.aff) to check for valid variants of dictionary words. Non-English characters or prefix/suffix rules are not supported.)
86
+
66
87
### Changing Default Rules
67
88
68
89
`quality-docs` ships with an opinionated set of rules to improve your writing and we recommend you use the defaults. If you want to make an exception, you have three options;
69
90
70
91
1. [Exclude documentation files from the glob argument](http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm#STANDARD-WILDCARDS).
71
-
2. Use the `--rules` flag to pass in a JSON file with overrides. See [sample-rules-override.json](./sample-rules-override.json).
72
-
3. Use [remark-message-control marks](https://github.com/wooorm/remark-message-control) to turn on/off specific rules for individual documents or text nodes.
92
+
2. Use the `--rules` flag to pass in a JSON file with overrides. See [`sample-rules-override.json`](./sample-rules-override.json).
93
+
3. Use [`remark-message-control` marks](https://github.com/wooorm/remark-message-control) to turn on/off specific rules for individual documents or text nodes.
73
94
74
95
## Other Notes
75
96
76
-
This tool uses [retext](https://github.com/wooorm/retext) to check the quality of writing in your project's documentation using these plugins;
97
+
This tool uses [`retext`](https://github.com/wooorm/retext) to check the quality of writing in your project's documentation using these plugins;
77
98
78
-
*[remark-lint](https://github.com/wooorm/remark-lint) checks for proper markdown formatting.
79
-
*[retext-readability](https://github.com/wooorm/retext-readability) checks the reading level of the whole document.
80
-
*[retext-simplify](https://github.com/wooorm/retext-simplify) warns on over-complicated phrases.
81
-
*[retext-equality](https://github.com/wooorm/retext-equality) warns on insensitive, inconsiderate language.
82
-
*[retext-intensify](https://github.com/wooorm/retext-intensify) warns on filler, weasel and hedge words.
99
+
* [`remark-lint`](https://github.com/wooorm/remark-lint) checks for proper markdown formatting.
100
+
* [`retext-readability`](https://github.com/wooorm/retext-readability) checks the reading level of the whole document.
101
+
* [`retext-simplify`](https://github.com/wooorm/retext-simplify) warns on complicated phrases.
102
+
* [`retext-equality`](https://github.com/wooorm/retext-equality) warns on insensitive, inconsiderate language.
103
+
* [`retext-intensify`](https://github.com/wooorm/retext-intensify) warns on filler, weasel and hedge words.
0 commit comments