You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a working examples see [this repo](https://github.com/InnerSourceCommons/InnerSourceLearningPath/tree/main/.github/vale/config/vocabularies/Base).
64
+
65
+
Make sure to read how adding your Base vocabulary to git works (see section below).
66
+
42
67
## Adding vale assets to your project's .gitignore
43
68
44
69
As you are downloading these styles via `vale sync` to your local repository, you want to make sure that you don't commit them to your repository. Therefore add this entry to your `.gitignore`:
@@ -48,7 +73,9 @@ As you are downloading these styles via `vale sync` to your local repository, yo
48
73
.github/vale/*
49
74
```
50
75
51
-
If you want to add a custom Vocab for your repo (e.g. in `.github/vale/Vocab/Base`), we recommend to use `git add -f` to bypass the .gitignore entry. The vale documentation about [Packages and VCS](https://vale.sh/docs/topics/packages/#packages-and-vcs) does mention a way to add an exception to the `.gitignore` on a folder level, however we have not been able to get that to work.
76
+
If you want to add a custom vocabulary for your repo (e.g. in `.github/vale/config/vocabularies/Base`), we recommend to use `git add -f` to bypass the `.gitignore` entry.
77
+
78
+
FYI: The vale documentation about [Packages and VCS](https://vale.sh/docs/topics/packages/#packages-and-vcs) does mention a way to add an exception to the `.gitignore` on a folder level, however we have not been able to get that to work.
52
79
53
80
## Using vale in a GitHub Action
54
81
@@ -69,8 +96,8 @@ We use a custom dictionary for American English (provided by [Libre Office](http
69
96
70
97
However it can still happen that a word that you consider correct, is flagged by vale as incorrect. This happen especially when you are using domain-specific words like `hackathon` or similar that might be common in the software development domain but still not a proper word in the dicitonary sense :)
71
98
72
-
If in doubt, please check the spelling of a word against the [Meriam Webster](https://www.merriam-webster.com/) dictionary.
99
+
If in doubt, please check the spelling of a word against the [Merriam Webster](https://www.merriam-webster.com/) dictionary.
73
100
74
101
## References
75
102
76
-
- We should try learn how others have used vale, and what of that we want to adopt for our purposes. For an example of another org see https://github.com/aiven/devportal/blob/main/.github/vale/README.rst
103
+
- We should try to learn how others have used vale, and what of that we want to adopt for our purposes. For an example of another org see https://github.com/aiven/devportal/blob/main/.github/vale/README.rst
0 commit comments