generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added spell checking to trunk check (#584)
Signed-off-by: JonahSussman <[email protected]>
- Loading branch information
1 parent
170114a
commit 4b68209
Showing
6 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# - Install | ||
# https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker | ||
# | ||
# - Add this to your settings.json | ||
# ``` | ||
# "cSpell.customDictionaries": { | ||
# "custom-words": { | ||
# "name": "custom-words", | ||
# "path": "./.trunk/configs/custom-words.txt", | ||
# "addWords": true, | ||
# } | ||
# }, | ||
# "cSpell.enabled": true, | ||
# ``` | ||
# | ||
# - Misspelled words will have a blue underline. Access the quick fix menu (Ctrl | ||
# + .) and add the word to the `custom-words` dictionary. | ||
|
||
version: "0.2" | ||
# Suggestions can sometimes take longer on CI machines, | ||
# leading to inconsistent results. | ||
suggestionsTimeout: 5000 # ms | ||
dictionaries: | ||
- python | ||
- typescript | ||
- go | ||
- java | ||
- custom-words | ||
|
||
dictionaryDefinitions: | ||
- name: custom-words | ||
path: ./.trunk/configs/custom-words.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
caikit | ||
codeplan | ||
codeplanner | ||
coolstore | ||
coolstuff | ||
deepseek | ||
diffable | ||
djzager | ||
flywaydb | ||
frobinate | ||
genai | ||
initialcontextfactory | ||
jakartaee | ||
javaee | ||
javax | ||
jaxrs | ||
jdbc | ||
jdtls | ||
jndi | ||
kantra | ||
konveyor | ||
langchain | ||
levelname | ||
LOGLEVEL | ||
mistralai | ||
mixtral | ||
moderations | ||
OBJC | ||
Ollama | ||
pgaikwad | ||
picketlink | ||
pydantic | ||
PYTHONPATH | ||
quarkus | ||
resteasy | ||
smallrye | ||
springboot | ||
sussman | ||
templ | ||
tgis | ||
tiiuae | ||
webmvc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ lint: | |
- name: lint | ||
run: bandit --exit-zero -c bandit.yaml --format json --output ${tmpfile} ${target} | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -65,6 +66,8 @@ lint: | |
- notebooks/** | ||
# Complaining about intentionally empty values | ||
- .github/workflows/** | ||
# Weird recursive cspell thing doesn't check this file properly | ||
- .trunk/configs/custom-words.txt | ||
actions: | ||
enabled: | ||
- trunk-announce | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters