Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.35 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.35 KB

Chef Dictionary

This repo holds a custom dictionary file for use with cspell or other spellcheckers that includes many Chef-related terms.

Add words to the appropriate dictionary txt file if those words are used across multiple Chef repositories. Words that are only used only in one repository should be added to the cspell.json file in that repository. See the CSpell documentation for more information.

Add a forbidden word by putting an exclamation point before the word.

Run rake sort to sort new words into alphabetical order.

Link to these dictionary files

Add these dictionary definition files to a CSpell config in a repository by specifying the file URL as a path:

"dictionaryDefinitions": [
  {
    "name": "chef",
    "path": "https://raw.githubusercontent.com/chef/chef_dictionary/main/chef.txt",
    "description": "Custom Chef Dictionary"
  },
  {
    "name": "docs",
    "path": "https://raw.githubusercontent.com/chef/chef_dictionary/main/docs.txt",
    "description": "Custom Docs Dictionary"
  }
],

See the chef/chef-web-docs cspell.json file for an example of a fully configured CSpell config file.