Skip to content

Latest commit

 

History

History
164 lines (107 loc) · 3.66 KB

File metadata and controls

164 lines (107 loc) · 3.66 KB

CSpell MIME Types Dictionary

MIME Types dictionary for cspell.

This is a pre-built dictionary for use with cspell. It contains all registered IANA MIME types (media types) sourced from the jshttp/mime-db project, which aggregates data from IANA, Apache, and Nginx.

Requirements

Tool Version
cspell >= 8
Code Spell Checker - Visual Studio Code >= 4

Local Installation

npm install -D @cspell/dict-mime-types

Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.import": ["@cspell/dict-mime-types/cspell-ext.json"],
  "cSpell.dictionaries": ["mime-types"],
}
CSpell Settings cspell.json

cspell.json

{
  "import": ["@cspell/dict-mime-types/cspell-ext.json"],
  "dictionaries": ["mime-types"],
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

import:
  - '@cspell/dict-mime-types/cspell-ext.json'
dictionaries:
  - mime-types

Local Installation using CDN

CDN Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-mime-types@1/cspell-ext.json"],
  "cSpell.dictionaries": ["mime-types"],
}
CSpell Settings cspell.json

cspell.json

{
  "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-mime-types@1/cspell-ext.json"],
  "dictionaries": ["mime-types"],
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

import:
  - https://cdn.jsdelivr.net/npm/@cspell/dict-mime-types@1/cspell-ext.json
dictionaries:
  - mime-types

Dictionary Information

Name Enabled Description
mime-types MIME Types dictionary.

Contributing

Please help correct any mistakes in the dictionaries.

See: Contributing

Special thanks to all of our amazing contributors!

Dictionary Development

See: How to Create a New Dictionary

License

MIT

Some packages may have other licenses included.



Brought to you by Street Side Software Logo Street Side Software