-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from artichoke/lopopolo/spellcheck
Add cargo-spellcheck config
- Loading branch information
Showing
13 changed files
with
169 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
250 | ||
@generated | ||
CPUs | ||
Lopopolo | ||
Makoto | ||
Matsumoto | ||
Mersenne | ||
PRNG | ||
RNG/S | ||
autogenerated | ||
callouts | ||
cryptographic | ||
endian | ||
impl/S | ||
mt | ||
mt64 | ||
natively | ||
pseudorandom | ||
rand_mt | ||
src | ||
struct/S | ||
tokio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Also take into account developer comments | ||
dev_comments = true | ||
# Skip the README.md file as defined in the cargo manifest | ||
skip_readme = false | ||
|
||
[Hunspell] | ||
# lang and name of `.dic` file | ||
lang = "en_US" | ||
# OS specific additives | ||
# Linux: [ /usr/share/myspell ] | ||
# Windows: [] | ||
# macOS [ /home/alice/Libraries/hunspell, /Libraries/hunspell ] | ||
|
||
# Additional search paths, which take presedence over the default | ||
# os specific search dirs, searched in order, defaults last | ||
search_dirs = ["."] | ||
|
||
# Adds additional dictionaries, can be specified as | ||
# absolute paths or relative in the search dirs (in this order). | ||
# Relative paths are resolved relative to the configuration file | ||
# which is used. | ||
# Refer to `man 5 hunspell` | ||
# or https://www.systutorials.com/docs/linux/man/4-hunspell/#lbAE | ||
# on how to define a custom dictionary file. | ||
extra_dictionaries = ["artichoke.dic"] | ||
|
||
# If set to `true`, the OS specific default search paths | ||
# are skipped and only explicitly specified ones are used. | ||
skip_os_lookups = false | ||
|
||
# Use the builtin dictionaries if none were found in | ||
# in the configured lookup paths. | ||
# Usually combined with `skip_os_lookups=true` | ||
# to enforce the `builtin` usage for consistent | ||
# results across distributions and CI runs. | ||
# Setting this will still use the dictionaries | ||
# specified in `extra_dictionaries = [..]` | ||
# for topic specific lingo. | ||
use_builtin = true | ||
|
||
|
||
[Hunspell.quirks] | ||
# Transforms words that are provided by the tokenizer | ||
# into word fragments based on the capture groups which are to | ||
# be checked. | ||
# If no capture groups are present, the matched word is whitelisted. | ||
transform_regex = ["^'([^\\s])'$", "^[0-9]+x$"] | ||
# Accepts `alphabeta` variants if the checker provides a replacement suggestion | ||
# of `alpha-beta`. | ||
allow_concatenation = true | ||
# And the counterpart, which accepts words with dashes, when the suggestion has | ||
# recommendations without the dashes. This is less common. | ||
allow_dashed = false | ||
|
||
[NlpRules] | ||
# Allows the user to override the default included | ||
# exports of LanguageTool, with other custom | ||
# languages | ||
|
||
# override_rules = "/path/to/rules_binencoded.bin" | ||
# override_tokenizer = "/path/to/tokenizer_binencoded.bin" | ||
|
||
[Reflow] | ||
# Reflows doc comments to adhere to adhere to a given maximum line width limit. | ||
max_line_length = 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.