mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-12 18:29:24 +08:00
3cb0638c7e
* spelling: added
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: and
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: another
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: color
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: file
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: occurrences
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: stamp
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: suppressions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: the
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: up to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: whether
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: whichdoes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* Upgrade check-spelling to v0.0.20-alpha7
Config based on:
a5001170a7
* Adding duplicate detection to patterns.txt
* Adding line_forbidden.patterns
* Adding reject.txt
* Updated excludes (and sorted)
* Switching to unified workflow
* moving `wil` to allow.txt to clarify that it's a term of art
(https://github.com/microsoft/wil), whereas often it's a typo for `will`.
* Update src/runner/main.cpp
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1.9 KiB
1.9 KiB
check-spelling/check-spelling configuration
File | Purpose | Format | Info |
---|---|---|---|
allow.txt | Add words to the dictionary | one word per line (only letters and ' s allowed) |
allow |
reject.txt | Remove words from the dictionary (after allow) | grep pattern matching whole dictionary words | reject |
excludes.txt | Files to ignore entirely | perl regular expression | excludes |
only.txt | Only check matching files (applied after excludes) | perl regular expression | only |
patterns.txt | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | patterns |
line_forbidden.patterns | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | patterns |
expect.txt | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | expect |
advice.md | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | advice |
Note: you can replace any of these files with a directory by the same name (minus the suffix) and then include multiple files inside that directory (with that suffix) to merge multiple files together.