Skip to content

Commit 22a8dd8

Browse files
Add actions
1 parent 3b93e68 commit 22a8dd8

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

Openly/A11Y.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ extends: substitution
33
message: Consider using '%s' instead of '%s'
44
ignorecase: true
55
level: error
6+
action:
7+
name: replace
68
swap:
79
(?:click|press): "'select'"

Openly/But.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@ extends: existence
33
message: "Do not start a paragraph with a 'but'."
44
level: error
55
scope: paragraph
6+
action:
7+
name: remove
8+
params:
9+
- remove
10+
- '.?!'
611
tokens:
712
- ^But

Openly/GenderBias.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ extends: substitution
33
message: Consider using '%s' instead of '%s'
44
ignorecase: true
55
level: error
6+
action:
7+
name: replace
68
swap:
79
(?:alumna|alumnus): graduate
810
(?:alumnae|alumni): graduates

Openly/Hyphens.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
extends: substitution
33
message: Use '%s' instead of '%s'
44
level: warning
5+
action:
6+
name: replace
57
swap:
68
African-American: African American
79
Asian-American: Asian American

Openly/Punctuation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ level: error
55
scope: text
66
ignorecase: false
77
nonword: true
8+
action:
9+
name: replace
810
swap:
911
e\.g\.: eg
1012
i\.e\.: ie

0 commit comments

Comments
 (0)