From b99b00c65ee19c7132e7e8ec6c10a32885b09a06 Mon Sep 17 00:00:00 2001 From: coreycaitlin Date: Wed, 12 Oct 2016 14:44:23 -0700 Subject: [PATCH] removes several annoying rules --- data/forbidden.js | 6 ----- data/government_words.js | 2 +- lib/standard.js | 57 +++++++++++++++++++++++++++------------- 3 files changed, 40 insertions(+), 25 deletions(-) diff --git a/data/forbidden.js b/data/forbidden.js index b1f87ab..64ae32d 100644 --- a/data/forbidden.js +++ b/data/forbidden.js @@ -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 @@ -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 diff --git a/data/government_words.js b/data/government_words.js index 73c047f..9947dbf 100755 --- a/data/government_words.js +++ b/data/government_words.js @@ -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'] }, diff --git a/lib/standard.js b/lib/standard.js index 2dbb270..98a38cb 100644 --- a/lib/standard.js +++ b/lib/standard.js @@ -20,12 +20,19 @@ 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', @@ -33,14 +40,22 @@ var equalityConfig = { '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', @@ -48,37 +63,43 @@ var equalityConfig = { '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 ] };