Skip to content

Commit

Permalink
setup cspell env
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Jul 3, 2023
1 parent e444120 commit 615e1eb
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.vscode/
/.vscode/*
!/.vscode/settings-sample.json
!/.vscode/extensions.json
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker"
]
}
11 changes: 11 additions & 0 deletions .vscode/settings-sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"cSpell.customDictionaries": {
"words": {
"name": "dictionary",
"path": "${workspaceRoot}/dev/cspell/dictionary.txt",
"addWords": true
},
"custom": true,
"internal-terms": false
}
}
11 changes: 11 additions & 0 deletions dev/cspell/cspell.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
version: '0.2'
dictionaryDefinitions:
- name: dictionary
path: './dictionary.txt'
addWords: true
dictionaries:
- dictionary
ignorePaths:
- 'cspell.config.yaml'
- 'dictionary.txt'
1 change: 1 addition & 0 deletions dev/cspell/dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ictsc

0 comments on commit 615e1eb

Please sign in to comment.