Skip to content

Commit 98e4987

Browse files
committed
update
1 parent ba37926 commit 98e4987

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.github/workflows/vale.yml

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
files: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
5757
separator: ' '
5858
version: '2.27.0'
59+
filter_mode: added
5960

6061
- name: Post summary comment if Vale warnings found
6162
if: ${{ steps.vale-lint.outputs.github_check.conclusion != 'success' }}

styles/custom/LatinAbbreviations.yml

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1+
# LatinAbbreviations.yml
12
extends: substitution
2-
message: "Avoid latin abbreviations: '%s'. Consider using '%s' instead."
3+
message: "Avoid Latin abbreviations: '%s'. Consider using '%s' instead."
34
level: warning
45

56
swap:
6-
- e.g.: for example
7-
- eg: for example
8-
- e.g: for example
9-
- i.e.: for example
10-
- i.e.: that is
11-
- etc.: and so on
12-
- N.B.: Note
13-
14-
action:
15-
name: replace
16-
params:
17-
- for example
18-
- that is
19-
- and so on
20-
- Note
7+
'e.g.': 'for example'
8+
'e.g': 'for example'
9+
'eg': 'for example'
10+
'i.e.': 'that is'
11+
'i.e': 'that is'
12+
'etc.': 'and so on'
13+
'etc': 'and so on'
14+
'N.B.': 'Note'
15+
'NB': 'Note'

0 commit comments

Comments
 (0)