UNPKG

@cspell/dict-swift

Version:
56 lines (36 loc) 1.53 kB
# CSpell Swift Dictionary Swift dictionary for cspell. This is a pre-built dictionary for use with cspell. ## Requirements | Tool | Version | | ------------------------------------------------------------------------------------------------------------------------------------ | ------- | | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` | | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` | ## Installation Global Install and add to cspell global settings. ```sh npm install -g @cspell/dict-swift cspell link add @cspell/dict-swift ``` ## Uninstall from cspell ```sh cspell link remove @cspell/dict-swift ``` ## Manual Installation Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process. ``` npm i @cspell/dict-swift ``` The `cspell-ext.json` file in this package should be added to the import section in your `cspell.json` file. ```javascript { // … "import": ["@cspell/dict-swift/cspell-ext.json"], // … } ``` # Dictionary Development See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary) ## License MIT > Some packages may have other licenses included.