Skip to content

Commit

Permalink
fix: Add some common coding terms (#3165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed May 18, 2024
1 parent 2ada448 commit 99a10bc
Show file tree
Hide file tree
Showing 12 changed files with 445 additions and 6 deletions.
1 change: 1 addition & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ words:
- elisp
- globby
- Glutanimate
- googleapis
- hunspell
- issuehunt
- Kieran
Expand Down
11 changes: 11 additions & 0 deletions dictionaries/filetypes/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json

$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json
targets:
- name: filetypes
targetDirectory: .
compress: true
format: plaintext
sources:
- src/filetypes.txt
sort: true
4 changes: 2 additions & 2 deletions dictionaries/filetypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "cspell-tools-cli compile \"filetypes.txt\" -o .",
"test": "shx cat \"filetypes.txt\" | cspell -c ./cspell-ext.json \"--locale=*\" \"--languageId=*\" stdin",
"build": "cspell-tools-cli build",
"test": "shx cat \"src/filetypes.txt\" | cspell -c ./cspell-ext.json \"--locale=*\" \"--languageId=*\" stdin",
"prepublishOnly": "echo pre-publish",
"prepare:dictionary": "pnpm run build"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ eps
es6
eslintignore
eslintrc
eslintrc
eslintrcjs
eslintrcjs
eslintrcjson
eslintrcjson
eslintrcyaml
eslintrcyaml
exe
eyaml
eyml
Expand All @@ -115,6 +122,7 @@ gitrebase
go
gradle
groovy
gruntfile
gsheet
gslides
gtable
Expand Down Expand Up @@ -161,14 +169,15 @@ jscsrc
jshintrc
jshtm
json
json5
jsonc
jsonl
json5
jsp
jsx
jsxtags
latn
launch
lcov
less
lua
m
Expand Down Expand Up @@ -270,6 +279,7 @@ rtf
ru
ruby
rust
scminput
scss
sh
shader
Expand Down Expand Up @@ -313,6 +323,7 @@ volt
vsd
vsdm
vsdx
vsix
vsls
vsminimal
vss
Expand All @@ -324,6 +335,7 @@ vstx
vue
wav
wbk
webm
webmanifest
wks
wma
Expand Down Expand Up @@ -373,4 +385,3 @@ zsh
zshenv
zshrc
zshtheme
lcov
5 changes: 5 additions & 0 deletions dictionaries/npm/dict/npm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,11 @@ opencv
openweather
opn
optimist
optionator
ora
orchestrator
orm
ovsx
pageres
pagy
parallelshell
Expand Down Expand Up @@ -607,6 +609,7 @@ restify
rethinkdb
retry
rewire
rfdc
rimraf
robotjs
rollup
Expand Down Expand Up @@ -634,6 +637,7 @@ shortid
should
sinon
sinopia
sirv
slow-deps
slug
soap
Expand Down Expand Up @@ -662,6 +666,7 @@ supervisor
svelte
sveltejs
sveltekit
sveltestack
svgo
swig
tailwind
Expand Down
10 changes: 10 additions & 0 deletions dictionaries/npm/src/npm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -749,3 +749,13 @@ yauzl
yo
zmq
zombie
mobx
ovsx
cosmiconfig
sirv
sveltestack
optionator
rfdc
leftpad
messageids
espree
10 changes: 8 additions & 2 deletions dictionaries/software-terms/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@
targets:
- name: 'softwareTerms'
sources:
- listFile: src/source-files-software.txt
- filename: src/coding-terms.txt
split: true
- filename: src/software-terms.txt
split: true
- filename: src/software-tools.txt
split: true
format: plaintext
targetDirectory: './dict'
generateNonStrict: false
compress: false
- name: 'networkingTerms'
sources:
- listFile: src/source-files-networking.txt
- filename: src/network-os.txt
split: true
- filename: src/network-protocols.txt
split: true
format: plaintext
targetDirectory: './dict'
Expand Down

0 comments on commit 99a10bc

Please sign in to comment.