diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-06-23 15:39:31 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-06-23 15:39:31 -0700 |
commit | 6f6f107bc1c76e5f3b5c8f2c1dbde73859e8ad09 (patch) | |
tree | c0b812e5872f7d79aebfd50f9f26435482b3ec6d /cspell.json | |
parent | ae23ca40a68b58dbff20e20a47105c265ceb0ce2 (diff) | |
download | ohai-6f6f107bc1c76e5f3b5c8f2c1dbde73859e8ad09.tar.gz |
Add cspell task
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'cspell.json')
-rw-r--r-- | cspell.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cspell.json b/cspell.json new file mode 100644 index 00000000..97996bf9 --- /dev/null +++ b/cspell.json @@ -0,0 +1,38 @@ +// cSpell Settings +{ + // Version of the setting file. Always 0.1 + "version": "0.1", + // language - current active spelling language + "language": "en", + "dictionaryDefinitions": [ + { + "name": "chef", + "file": "./chef_dictionary.txt", + "description": "Custom Chef Dictionary" + } + ], + "dictionaries": ["chef"], + // flagWords - list of words to be always considered incorrect + // This is useful for offensive words and common spelling errors. + // For example "hte" should be "the" + "flagWords": [ + "hte" + ], + "ignorePaths": [ + "CHANGELOG.md", + "**/*.gemspec", + "**/Gemfile.lock", + "**/Gemfile", + ".expeditor/**/*", + "**/*.yml", + "**/*.toml", + "spec/data/**/*", + "spec/**" + ], + "ignoreRegExpList": [ + // Ignore "'s" at the end of a word. If "Chef" is an accepted word, so is "Chef's". + "/'s\\b/", + // Ignore "'d" at the end of a word. If "dup" is an accepted word, so is "dup'd". + "/'d\\b/" + ] +} |