-
Notifications
You must be signed in to change notification settings - Fork 14
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 #203 from chef/linting
Add cspell config to fix spellcheck failures
- Loading branch information
Showing
13 changed files
with
104 additions
and
20 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,84 @@ | ||
// 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"], | ||
// words - list of words to be always considered correct | ||
"words": [ | ||
"MACHINENAME", | ||
"ipaddress", | ||
"mypassword", | ||
"unikitten", | ||
"repos", | ||
"demosite", | ||
"tempfile", | ||
"CHEFTRN", | ||
"CHEFUPL", | ||
"Compat", | ||
"LASTEXITCODE", | ||
"tempdir", | ||
"errid", | ||
"extname", | ||
"ljust", | ||
"converger", | ||
"mktmpdir", | ||
"levenshteinian", | ||
"APPDATA", | ||
"multispinner", | ||
"MKTEMP", | ||
"CHEFLIC", | ||
"CHEFINS", | ||
"CHEFVAL", | ||
"mountpoint", | ||
"uploader", | ||
"trainerrormapper", | ||
"CHEFNET", | ||
"tmpdir", | ||
"CHEFTARG", | ||
"CHEFPOLICY", | ||
"CHEFCCR", | ||
"CHEFRANGE", | ||
"CHEFAPI", | ||
"CHEFMULTI", | ||
"CHEFRMT", | ||
"CHEFINT", | ||
"Alnum", | ||
"succ", | ||
"proto" | ||
], | ||
// 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", | ||
"**/Berksfile", | ||
"spec/**", | ||
"cspell.json", | ||
"Vagrantfile", | ||
"**/chefignore" | ||
], | ||
"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/" | ||
] | ||
} |
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
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