Skip to content

Commit 3b93e68

Browse files
Merge branch 'master' into refactor
# Conflicts: # Openly/Spelling.yml
2 parents a4c1d54 + 9114816 commit 3b93e68

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

Openly/Link.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
message: "Don't use '%s' as the content of a link."
2+
message: "Don't use 'here' as the content of a link."
33
extends: existence
44
ignorecase: true
5-
scope: link
5+
scope: raw
66
level: error
7-
tokens:
8-
- here
7+
raw:
8+
- '\[here\]\(.+\)'

Openly/So.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ message: "Don't start a sentence with '%s'"
44
ignorecase: true
55
level: error
66
raw:
7-
- '(?:[;-]\s)so[\s,]|So[\s,]'
7+
- '(?<=[.;?!]\s)(?:[.-]?\s*)so\b'

Openly/Spelling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ ignore:
2323
- openly/tech-terms/monitoring.txt
2424
- openly/tech-terms/apis.txt
2525
- openly/tech-terms/geospatial.txt
26-
- openly/tech-terms/javascript.txt
26+
- openly/tech-terms/javascript.txt

Openly/VerbingNouns.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Checks for sentences where e.g. "perform validation" can be simplified to "validate".
2+
extends: existence
3+
ignorecase: true
4+
message: "Simplify '%s' by removing the first word and making the last word a verb."
5+
level: suggestion
6+
tokens:
7+
- (?:(perform|performs|do|does|run|runs)( \w+){0,2} \w+(tions?|ing))

Openly/tech-terms/security.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
unencrypted
22
tls
3-
keystore
3+
keystore
4+
reauthenticate

0 commit comments

Comments
 (0)