Skip to content
This repository was archived by the owner on Aug 27, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions data/forbidden.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@
* https://css-tricks.com/words-avoid-educational-writing/
*/
module.exports = [
'easily',
'simply',
'obviously',
'just',
'basically',
'procure',
'sexy',
'insane',
'clearly',
'FAQ', // worth pointing out, at least
'advancing', // not plain language
'pledge', // noncommittal
Expand All @@ -28,7 +23,6 @@ module.exports = [
'empower', // not plain language
'focusing', // not plain language
'foster', // not plain language unless referring to children
'innovative', // not plain language
'leverage', // not plain language
'overarching', // not plain language
'streamline', // not plain language
Expand Down
2 changes: 1 addition & 1 deletion data/government_words.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
citizens: { replace: ['people, the public, users'] },
'DC': { cased: true, replace: ['D.C.'] },
'D.C.': { cased: true, replace: ['DC'] },
'Executive Branch': { cased: true, replace: ['executive branch'] },
'Federal Government': { cased: true, replace: ['federal government'] },
illegals: { replace: ['undocumented immigrants'] },
Expand Down
57 changes: 39 additions & 18 deletions lib/standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,65 +20,86 @@ var equalityConfig = {
// sometimes we write about humans who identify with these gendered terms:
'he',
'him',
'himself',
'his',
'he\'s',
'he\'d',
'boy',
'boys',
'son',
'sons',
'son\'s',
'brother',
'husband',
'father',
'paternity',
'grandfather',
'grandfathers',
'man',
'men',
'masculinity',
'she',
'her',
'herself',
'hers',
'girl',
'girls',
'she\'s',
'she\'d',
'women',
'woman',
'sister',
'wife',
'daughter',
'daughter\'s',
'daughters',
'mom',
'mother',
'maternity',
'grandmother',
'grandmothers',
'femininity',
'pop', // other contexts are fine
'crazy', // replacing with different suggestions
'retard', // replacing with different suggestions
'retarded', // replacing with different suggestions
'steward', // we don't mean flight attendants
'stewards', // we don't mean flight attendants
]
};

var simplifyConfig = {
ignore: [
'address', // geocoder
'request', // technical
'combined', // no good alternative
'component', // technical
'contains', // technical
'delete', // this is what the UI says
'effect', // technical
'equivalent', // equal does not have identical connotation
'function', // technical
'implement', // technical
'initial', // technical
'interface', // technical
'render', // technical
'it is', // no good alternative
'forward', // technical
'maintain', // software term
'maximum', // technical
'might', // may does not have identical connotation
'minimum', // technical
'type', // technical
'initial', // technical
'selection', // technical
'contains', // technical
'implement', // technical
'parameters', // technical
'function', // technical
'multiple', // many is not equivalent
'option', // technical
'effect', // technical
'parameters', // technical
'procure', // technical government term
'provide', // common in quotes
'request', // technical
'require', // technical
'render', // technical
'selection', // technical
'submit', // technical
'might', // may does not have identical connotation
'multiple', // many is not equivalent
'equivalent', // equal does not have identical connotation
'combined', // no good alternative
'delete', // this is what the UI says
'it is', // no good alternative
'there are', // no good alternative
'require', // technical
'procure', // technical government term
'type', // technical
'very', // too common, especially in quotes
]
};

Expand Down