├── .gitignore ├── .travis.yml ├── .yamllint.yml ├── Gemfile ├── LICENSE ├── README.md ├── alex ├── Ablist.yml ├── Condescending.yml ├── Gendered.yml ├── LGBTQ.yml ├── OCD.yml ├── Press.yml ├── ProfanityLikely.yml ├── ProfanityMaybe.yml ├── ProfanityUnlikely.yml ├── README.md ├── Race.yml ├── Suicide.yml └── meta.json ├── features ├── rules.feature ├── steps.rb └── support │ └── aruba.rb └── fixtures └── basic ├── .vale.ini ├── fail.md └── pass.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | *.rbc 3 | /.config 4 | /coverage/ 5 | /InstalledFiles 6 | /pkg/ 7 | /spec/reports/ 8 | /spec/examples.txt 9 | /test/tmp/ 10 | /test/version_tmp/ 11 | /tmp/ 12 | 13 | # Used by dotenv library to load environment variables. 14 | # .env 15 | 16 | # Ignore Byebug command history file. 17 | .byebug_history 18 | 19 | ## Specific to RubyMotion: 20 | .dat* 21 | .repl_history 22 | build/ 23 | *.bridgesupport 24 | build-iPhoneOS/ 25 | build-iPhoneSimulator/ 26 | 27 | ## Specific to RubyMotion (use of CocoaPods): 28 | # 29 | # We recommend against adding the Pods directory to your .gitignore. However 30 | # you should judge for yourself, the pros and cons are mentioned at: 31 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 32 | # 33 | # vendor/Pods/ 34 | 35 | ## Documentation cache and generated files: 36 | /.yardoc/ 37 | /_yardoc/ 38 | /doc/ 39 | /rdoc/ 40 | 41 | ## Environment normalization: 42 | /.bundle/ 43 | /vendor/bundle 44 | /lib/bundler/man/ 45 | 46 | # for a library or gem, you might want to ignore these files since the code is 47 | # intended to run in multiple environments; otherwise, check them in: 48 | # Gemfile.lock 49 | # .ruby-version 50 | # .ruby-gemset 51 | 52 | # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: 53 | .rvmrc 54 | 55 | # Used by RuboCop. Remote config files pulled in from inherit_from directive. 56 | # .rubocop-https?--* 57 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | cache: bundler 3 | python: 4 | - "3.6" 5 | install: 6 | # Install the latest release of Vale: 7 | - curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v2.10.5 8 | - export PATH="./bin:$PATH" 9 | - vale -v 10 | 11 | - bundle install --jobs=3 12 | 13 | - pip install yamllint 14 | - pip install markdata 15 | - pip install pyyaml 16 | before_script: 17 | - yamllint -c '.yamllint.yml' alex 18 | script: 19 | - cucumber 20 | - zip -r alex.zip alex -x "*.DS_Store" 21 | deploy: 22 | provider: releases 23 | api_key: $GITHUB_TOKEN 24 | file: alex.zip 25 | skip_cleanup: true 26 | on: 27 | tags: true 28 | -------------------------------------------------------------------------------- /.yamllint.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | # We only include a single document (without directives) in our rules, so 3 | # the extra markup is unnecessary. 4 | document-start: disable 5 | # Many rules include a `link` key that can be relatively long. 6 | # 7 | # TODO: Should we change this? 8 | line-length: disable -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'aruba', '~> 0.14.3' 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 errata.ai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # alex [![Build Status](https://travis-ci.com/errata-ai/alex.svg?branch=master)](https://travis-ci.com/errata-ai/alex) ![Vale version](https://img.shields.io/badge/vale-%3E%3D%20v1.7.0-blue.svg) ![license](https://img.shields.io/github/license/mashape/apistatus.svg) 2 | 3 | > [`alex`](https://github.com/get-alex/alex): Catch insensitive, inconsiderate writing. 4 | 5 | This repository contains a [Vale-compatible](https://github.com/errata-ai/vale) implementation of the guidelines enforced by the `alex` ([LICENSE](https://github.com/get-alex/alex/blob/main/license)) linter. 6 | 7 | ## Getting Started 8 | 9 | To get started, add the package to your configuration file (as shown below) and then run `vale sync`. 10 | 11 | ```ini 12 | StylesPath = styles 13 | MinAlertLevel = suggestion 14 | 15 | Packages = alex 16 | 17 | [*] 18 | BasedOnStyles = alex 19 | ``` -------------------------------------------------------------------------------- /alex/Ablist.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: When referring to a person, consider using '%s' instead of '%s'. 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | ablebodied: non-disabled 10 | addict: person with a drug addiction|person recovering from a drug addiction 11 | addicts: people with a drug addiction|people recovering from a drug addiction 12 | adhd: disorganized|distracted|energetic|hyperactive|impetuous|impulsive|inattentive|restless|unfocused 13 | afflicted with MD: person who has muscular dystrophy 14 | afflicted with a disability: has a disability|person with a disability|people with 15 | disabilities 16 | afflicted with a intellectual disability: person with an intellectual disability 17 | afflicted with a polio: polio|person who had polio 18 | afflicted with aids: person with AIDS 19 | afflicted with an injury: sustain an injury|receive an injury 20 | afflicted with disabilities: has a disability|person with a disability|people with 21 | disabilities 22 | afflicted with injuries: sustain injuries|receive injuries 23 | afflicted with intellectual disabilities: person with an intellectual disability 24 | afflicted with multiple sclerosis: person who has multiple sclerosis 25 | afflicted with muscular dystrophy: person who has muscular dystrophy 26 | afflicted with polio: polio|person who had polio 27 | afflicted with psychosis: person with a psychotic condition|person with psychosis 28 | afflicted with schizophrenia: person with schizophrenia 29 | aids victim: person with AIDS 30 | alcohol abuser: someone with an alcohol problem 31 | alcoholic: someone with an alcohol problem 32 | amputee: person with an amputation 33 | anorexic: thin|slim 34 | asylum: psychiatric hospital|mental health hospital 35 | barren: empty|sterile|infertile 36 | batshit: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of 37 | mental illness|person with mental illness|person with symptoms of a mental disorder|person 38 | with a mental disorder 39 | bedlam: chaos|hectic|pandemonium 40 | binge: enthusiastic|spree 41 | bipolar: fluctuating|person with bipolar disorder 42 | birth defect: has a disability|person with a disability|people with disabilities 43 | blind eye to: careless|heartless|indifferent|insensitive 44 | blind to: careless|heartless|indifferent|insensitive 45 | blinded by: careless|heartless|indifferent|insensitive 46 | bony: thin|slim 47 | bound to a wheelchair: uses a wheelchair 48 | buckteeth: person with prominent teeth|prominent teeth 49 | bucktoothed: person with prominent teeth|prominent teeth 50 | challenged: has a disability|person with a disability|people with disabilities 51 | cleftlipped: person with a cleft-lip and palate 52 | confined to a wheelchair: uses a wheelchair 53 | contard: disagreeable|uneducated|ignorant|naive|inconsiderate 54 | crazy: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 55 | illness|person with mental illness|person with symptoms of a mental disorder|person 56 | with a mental disorder 57 | cretin: creep|fool 58 | cripple: person with a limp 59 | crippled: person with a limp 60 | daft: absurd|foolish 61 | deaf and dumb: deaf 62 | deaf ear to: careless|heartless|indifferent|insensitive 63 | deaf to: careless|heartless|indifferent|insensitive 64 | deafened by: careless|heartless|indifferent|insensitive 65 | deafmute: deaf 66 | delirious: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of 67 | mental illness|person with mental illness|person with symptoms of a mental disorder|person 68 | with a mental disorder 69 | demented: person with dementia 70 | depressed: sad|blue|bummed out|person with seasonal affective disorder|person with 71 | psychotic depression|person with postpartum depression 72 | detox: treatment 73 | detox center: treatment center 74 | diffability: has a disability|person with a disability|people with disabilities 75 | differently abled: has a disability|person with a disability|people with disabilities 76 | disabled: turned off|has a disability|person with a disability|people with disabilities 77 | downs syndrome: Down Syndrome 78 | dumb: foolish|ludicrous|speechless|silent 79 | dummy: test double|placeholder|fake|stub 80 | dummyobject: test double|placeholder|fake|stub 81 | dummyvalue: test double|placeholder|fake|stub 82 | dummyvariable: test double|placeholder|fake|stub 83 | dwarf: person with dwarfism|little person|little people|LP|person of short stature 84 | dyslexic: person with dyslexia 85 | epileptic: person with epilepsy 86 | family burden: with family support needs 87 | feeble minded: foolish|ludicrous|silly 88 | feebleminded: foolish|ludicrous|silly 89 | fucktard: disagreeable|uneducated|ignorant|naive|inconsiderate 90 | gimp: person with a limp 91 | handicapable: has a disability|person with a disability|people with disabilities 92 | handicapped: person with a handicap|accessible 93 | handicapped parking: accessible parking 94 | hare lip: cleft-lip and palate 95 | harelip: cleft-lip and palate 96 | harelipped: person with a cleft-lip and palate 97 | has intellectual issues: person with an intellectual disability 98 | hearing impaired: hard of hearing|partially deaf|partial hearing loss|deaf 99 | hearing impairment: hard of hearing|partially deaf|partial hearing loss|deaf 100 | idiot: foolish|ludicrous|silly 101 | imbecile: foolish|ludicrous|silly 102 | infantile paralysis: polio|person who had polio 103 | insane: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 104 | illness|person with mental illness|person with symptoms of a mental disorder|person 105 | with a mental disorder 106 | insanely: incredibly 107 | insanity: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of 108 | mental illness|person with mental illness|person with symptoms of a mental disorder|person 109 | with a mental disorder 110 | insomnia: restlessness|sleeplessness 111 | insomniac: person who has insomnia 112 | insomniacs: people who have insomnia 113 | intellectually disabled: person with an intellectual disability 114 | intellectually disabled people: people with intellectual disabilities 115 | invalid: turned off|has a disability|person with a disability|people with disabilities 116 | junkie: person with a drug addiction|person recovering from a drug addiction 117 | junkies: people with a drug addiction|people recovering from a drug addiction 118 | lame: boring|dull 119 | learning disabled: person with learning disabilities 120 | libtard: disagreeable|uneducated|ignorant|naive|inconsiderate 121 | loony: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 122 | illness|person with mental illness|person with symptoms of a mental disorder|person 123 | with a mental disorder 124 | loony bin: chaos|hectic|pandemonium 125 | low iq: foolish|ludicrous|unintelligent 126 | lunacy: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 127 | illness|person with mental illness|person with symptoms of a mental disorder|person 128 | with a mental disorder 129 | lunatic: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of 130 | mental illness|person with mental illness|person with symptoms of a mental disorder|person 131 | with a mental disorder 132 | madhouse: chaos|hectic|pandemonium 133 | maniac: fanatic|zealot|enthusiast 134 | manic: person with schizophrenia 135 | mental: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 136 | illness|person with mental illness|person with symptoms of a mental disorder|person 137 | with a mental disorder 138 | mental case: rude|malicious|mean|disgusting|incredible|vile|person with symptoms 139 | of mental illness|person with mental illness|person with symptoms of a mental 140 | disorder|person with a mental disorder 141 | mental defective: rude|malicious|mean|disgusting|incredible|vile|person with symptoms 142 | of mental illness|person with mental illness|person with symptoms of a mental 143 | disorder|person with a mental disorder 144 | mentally ill: rude|malicious|mean|disgusting|incredible|vile|person with symptoms 145 | of mental illness|person with mental illness|person with symptoms of a mental 146 | disorder|person with a mental disorder 147 | midget: person with dwarfism|little person|little people|LP|person of short stature 148 | mongoloid: person with Down Syndrome 149 | moron: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 150 | illness|person with mental illness|person with symptoms of a mental disorder|person 151 | with a mental disorder 152 | moronic: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of 153 | mental illness|person with mental illness|person with symptoms of a mental disorder|person 154 | with a mental disorder 155 | multiple sclerosis victim: person who has multiple sclerosis 156 | neurotic: has an anxiety disorder|obsessive|pedantic|niggly|picky 157 | nuts: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 158 | illness|person with mental illness|person with symptoms of a mental disorder|person 159 | with a mental disorder 160 | panic attack: fit of terror|scare 161 | paraplegic: person with paraplegia 162 | psycho: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental 163 | illness|person with mental illness|person with symptoms of a mental disorder|person 164 | with a mental disorder 165 | psychopathology: rude|malicious|mean|disgusting|incredible|vile|person with symptoms 166 | of mental illness|person with mental illness|person with symptoms of a mental 167 | disorder|person with a mental disorder 168 | psychotic: person with a psychotic condition|person with psychosis 169 | quadriplegic: person with quadriplegia 170 | rehab: treatment 171 | rehab center: treatment center 172 | restricted to a wheelchair: uses a wheelchair 173 | retard: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold 174 | back 175 | retarded: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold 176 | back 177 | retards: "sillies|dullards|people with developmental disabilities|people with Down\u2019\ 178 | s Syndrome|delays|holds back" 179 | sane: correct|adequate|sufficient|consistent|valid|coherent|sensible|reasonable 180 | sanity check: check|assertion|validation|smoke test 181 | schizo: person with schizophrenia 182 | schizophrenic: person with schizophrenia 183 | senile: person with dementia 184 | short bus: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold 185 | back 186 | simpleton: foolish|ludicrous|unintelligent 187 | small person: person with dwarfism|little person|little people|LP|person of short 188 | stature 189 | sociopath: person with a personality disorder|person with psychopathic personality 190 | sociopaths: people with psychopathic personalities|people with a personality disorder 191 | spastic: person with cerebral palsy|twitch|flinch 192 | spaz: person with cerebral palsy|twitch|flinch|hectic 193 | special: has a disability|person with a disability|people with disabilities 194 | special needs: has a disability|person with a disability|people with disabilities 195 | special olympians: athletes|Special Olympics athletes 196 | special olympic athletes: athletes|Special Olympics athletes 197 | specially abled: has a disability|person with a disability|people with disabilities 198 | stammering: stuttering|disfluency of speech 199 | stroke victim: individual who has had a stroke 200 | stupid: foolish|ludicrous|unintelligent 201 | stutterer: person who stutters 202 | suffer from aids: person with AIDS 203 | suffer from an injury: sustain an injury|receive an injury 204 | suffer from injuries: sustain injuries|receive injuries 205 | suffering from a disability: has a disability|person with a disability|people with 206 | disabilities 207 | suffering from a polio: polio|person who had polio 208 | suffering from a stroke: individual who has had a stroke 209 | suffering from aids: person with AIDS 210 | suffering from an injury: sustain an injury|receive an injury 211 | suffering from an intellectual disability: person with an intellectual disability 212 | suffering from disabilities: has a disability|person with a disability|people with 213 | disabilities 214 | suffering from injuries: sustain injuries|receive injuries 215 | suffering from intellectual disabilities: person with an intellectual disability 216 | suffering from multiple sclerosis: person who has multiple sclerosis 217 | suffering from polio: polio|person who had polio 218 | suffering from psychosis: person with a psychotic condition|person with psychosis 219 | suffering from schizophrenia: person with schizophrenia 220 | suffers from MD: person who has muscular dystrophy 221 | suffers from aids: person with AIDS 222 | suffers from an injury: sustain an injury|receive an injury 223 | suffers from disabilities: has a disability|person with a disability|people with 224 | disabilities 225 | suffers from injuries: sustain injuries|receive injuries 226 | suffers from intellectual disabilities: person with an intellectual disability 227 | suffers from multiple sclerosis: person who has multiple sclerosis 228 | suffers from muscular dystrophy: person who has muscular dystrophy 229 | suffers from polio: polio|person who had polio 230 | suffers from psychosis: person with a psychotic condition|person with psychosis 231 | suffers from schizophrenia: person with schizophrenia 232 | tourettes disorder: Tourette syndrome 233 | tourettes syndrome: Tourette syndrome 234 | vertically challenged: person with dwarfism|little person|little people|LP|person 235 | of short stature 236 | victim of a stroke: individual who has had a stroke 237 | victim of aids: person with AIDS 238 | victim of an injury: sustain an injury|receive an injury 239 | victim of injuries: sustain injuries|receive injuries 240 | victim of multiple sclerosis: person who has multiple sclerosis 241 | victim of polio: polio|person who had polio 242 | victim of psychosis: person with a psychotic condition|person with psychosis 243 | wacko: foolish|ludicrous|unintelligent 244 | whacko: foolish|ludicrous|unintelligent 245 | wheelchair bound: uses a wheelchair 246 | -------------------------------------------------------------------------------- /alex/Condescending.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: existence 3 | message: Using '%s' may come across as condescending. 4 | link: https://css-tricks.com/words-avoid-educational-writing/ 5 | level: error 6 | ignorecase: true 7 | tokens: 8 | - obvious 9 | - obviously 10 | - simple 11 | - simply 12 | - easy 13 | - easily 14 | - of course 15 | - clearly 16 | - everyone knows 17 | -------------------------------------------------------------------------------- /alex/Gendered.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: "Consider using '%s' instead of '%s'." 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | ancient man: ancient civilization|ancient people 10 | authoress: author|writer 11 | average housewife: average consumer|average household|average homemaker 12 | average man: average person 13 | average working man: average wage earner|average taxpayer 14 | aviatrix: aviator 15 | bitch: whine|complain|cry 16 | bitching: whining|complaining|crying 17 | brotherhood of man: the human family 18 | calendar girl: model 19 | call girl: escort|prostitute|sex worker 20 | churchman: cleric|practicing Christian|pillar of the Church 21 | english master: english coordinator|senior teacher of english 22 | englishmen: the english 23 | executrix: executor 24 | father of *: founder of 25 | fellowship: camaraderie|community|organization 26 | founding father: the founders|founding leaders|forebears 27 | frenchmen: french|the french 28 | freshman: first-year student|fresher 29 | freshwoman: first-year student|fresher 30 | housemaid: house worker|domestic help 31 | housewife: homemaker|homeworker 32 | housewives: homemakers|homeworkers 33 | industrial man: industrial civilization|industrial people 34 | lady doctor: doctor 35 | ladylike: courteous|cultured 36 | leading lady: lead 37 | like a man: resolutely|bravely 38 | mad man: fanatic|zealot|enthusiast 39 | mad men: fanatics|zealots|enthusiasts 40 | madman: fanatic|zealot|enthusiast 41 | madmen: fanatics|zealots|enthusiasts 42 | maiden: virgin 43 | maiden flight: first flight 44 | maiden name: birth name 45 | maiden race: first race 46 | maiden speech: first speech 47 | maiden voyage: first voyage 48 | man a desk: staff a desk 49 | man enough: strong enough 50 | man hour: staff hour|hour of work 51 | man hours: staff hours|hours of work|hours of labor|hours 52 | man in the street: ordinary citizen|typical person|average person 53 | man of action: dynamo 54 | man of letters: scholar|writer|literary figure 55 | man of the land: farmer|rural worker|grazier|landowner|rural community|country people|country 56 | folk 57 | man of the world: sophisticate 58 | man sized task: a demanding task|a big job 59 | man the booth: staff the booth 60 | man the phones: answer the phones 61 | manhour: staff hour|hour of work 62 | manhours: staff hours|hours of work|hours of labor|hours 63 | mankind: humankind 64 | manmade: manufactured|artificial|synthetic|machine-made|constructed 65 | manned: staffed|crewed|piloted 66 | manpower: human resources|workforce|personnel|staff|labor|personnel|labor force|staffing|combat 67 | personnel 68 | mans best friend: a faithful dog 69 | mansized task: a demanding task|a big job 70 | master copy: pass key|original 71 | master key: pass key|original 72 | master of ceremonies: emcee|moderator|convenor 73 | master plan: grand scheme|guiding principles 74 | master the art: become skilled 75 | masterful: skilled|authoritative|commanding 76 | mastermind: genius|creator|instigator|oversee|launch|originate 77 | masterpiece: "work of genius|chef d\u2019oeuvre" 78 | masterplan: vision|comprehensive plan 79 | masterstroke: trump card|stroke of genius 80 | men of science: scientists 81 | midwife: birthing nurse 82 | miss\.: ms. 83 | moan: whine|complain|cry 84 | moaning: whining|complaining|crying 85 | modern man: modern civilization|modern people 86 | motherly: loving|warm|nurturing 87 | mrs\.: ms. 88 | no mans land: unoccupied territory|wasteland|deathtrap 89 | office girls: administrative staff 90 | oneupmanship: upstaging|competitiveness 91 | poetess: poet 92 | railwayman: railway worker 93 | sportsmanlike: fair|sporting 94 | sportsmanship: fairness|good humor|sense of fair play 95 | statesman like: diplomatic 96 | statesmanlike: diplomatic 97 | stockman: cattle worker|farmhand|drover 98 | tax man: tax commissioner|tax office|tax collector 99 | tradesmans entrance: service entrance 100 | unmanned: robotic|automated 101 | usherette: usher 102 | wife beater: tank top|sleeveless undershirt 103 | wifebeater: tank top|sleeveless undershirt 104 | woman lawyer: lawyer 105 | woman painter: painter 106 | working mother: wage or salary earning woman|two-income family 107 | working wife: wage or salary earning woman|two-income family 108 | workmanship: quality construction|expertise 109 | -------------------------------------------------------------------------------- /alex/LGBTQ.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: Consider using '%s' instead of '%s'. 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | bathroom bill: non-discrimination law|non-discrimination ordinance 10 | bi: bisexual 11 | biologically female: assigned female at birth|designated female at birth 12 | biologically male: assigned male at birth|designated male at birth 13 | born a man: assigned male at birth|designated male at birth 14 | born a woman: assigned female at birth|designated female at birth 15 | dyke: gay 16 | fag: gay 17 | faggot: gay 18 | gay agenda: gay issues 19 | gay lifestyle: gay lives|gay/lesbian lives 20 | gay rights: equal rights|civil rights for gay people 21 | gender pronoun: pronoun|pronouns 22 | gender pronouns: pronoun|pronouns 23 | genetically female: assigned female at birth|designated female at birth 24 | genetically male: assigned male at birth|designated male at birth 25 | hermaphrodite: person who is intersex|person|intersex person 26 | hermaphroditic: intersex 27 | heshe: transgender person|person 28 | homo: gay 29 | homosexual: gay|gay man|lesbian|gay person/people 30 | homosexual agenda: gay issues 31 | homosexual couple: couple 32 | homosexual lifestyle: gay lives|gay/lesbian lives 33 | homosexual marriage: gay marriage|same-sex marriage 34 | homosexual relations: relationship 35 | homosexual relationship: relationship 36 | preferred pronoun: pronoun|pronouns 37 | preferred pronouns: pronoun|pronouns 38 | pseudo hermaphrodite: person who is intersex|person|intersex person 39 | pseudo hermaphroditic: intersex 40 | pseudohermaphrodite: person who is intersex|person|intersex person 41 | pseudohermaphroditic: intersex 42 | sex change: transition|gender confirmation surgery 43 | sex change operation: sex reassignment surgery|gender confirmation surgery 44 | sexchange: transition|gender confirmation surgery 45 | sexual preference: sexual orientation|orientation 46 | she male: transgender person|person 47 | shehe: transgender person|person 48 | shemale: transgender person|person 49 | sodomite: gay 50 | special rights: equal rights|civil rights for gay people 51 | tranny: transgender 52 | transgendered: transgender 53 | transgenderism: being transgender|the movement for transgender equality 54 | transgenders: transgender people 55 | transvestite: cross-dresser 56 | -------------------------------------------------------------------------------- /alex/OCD.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: When referring to a person, consider using '%s' instead of '%s'. 4 | ignorecase: true 5 | level: warning 6 | nonword: true 7 | action: 8 | name: replace 9 | swap: 10 | '\bocd\b|o\.c\.d\.': has an anxiety disorder|obsessive|pedantic|niggly|picky 11 | -------------------------------------------------------------------------------- /alex/Press.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: Consider using '%s' instead of '%s'. 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | islamist: muslim|person of Islamic faith|fanatic|zealot|follower of islam|follower 10 | of the islamic faith 11 | islamists: muslims|people of Islamic faith|fanatics|zealots 12 | -------------------------------------------------------------------------------- /alex/ProfanityLikely.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: Don't use '%s', it's profane. 3 | level: warning 4 | ignorecase: true 5 | tokens: 6 | - abeed 7 | - africoon 8 | - alligator bait 9 | - alligatorbait 10 | - analannie 11 | - arabush 12 | - arabushs 13 | - argie 14 | - armo 15 | - armos 16 | - arse 17 | - arsehole 18 | - ass 19 | - assbagger 20 | - assblaster 21 | - assclown 22 | - asscowboy 23 | - asses 24 | - assfuck 25 | - assfucker 26 | - asshat 27 | - asshole 28 | - assholes 29 | - asshore 30 | - assjockey 31 | - asskiss 32 | - asskisser 33 | - assklown 34 | - asslick 35 | - asslicker 36 | - asslover 37 | - assman 38 | - assmonkey 39 | - assmunch 40 | - assmuncher 41 | - asspacker 42 | - asspirate 43 | - asspuppies 44 | - assranger 45 | - asswhore 46 | - asswipe 47 | - backdoorman 48 | - badfuck 49 | - balllicker 50 | - barelylegal 51 | - barf 52 | - barface 53 | - barfface 54 | - bazongas 55 | - bazooms 56 | - beanbag 57 | - beanbags 58 | - beaner 59 | - beaners 60 | - beaney 61 | - beaneys 62 | - beatoff 63 | - beatyourmeat 64 | - biatch 65 | - bigass 66 | - bigbastard 67 | - bigbutt 68 | - bitcher 69 | - bitches 70 | - bitchez 71 | - bitchin 72 | - bitching 73 | - bitchslap 74 | - bitchy 75 | - biteme 76 | - blowjob 77 | - bluegum 78 | - bluegums 79 | - boang 80 | - boche 81 | - boches 82 | - bogan 83 | - bohunk 84 | - bollick 85 | - bollock 86 | - bollocks 87 | - bong 88 | - boob 89 | - boobies 90 | - boobs 91 | - booby 92 | - boody 93 | - boong 94 | - boonga 95 | - boongas 96 | - boongs 97 | - boonie 98 | - boonies 99 | - bootlip 100 | - bootlips 101 | - booty 102 | - bootycall 103 | - bosch 104 | - bosche 105 | - bosches 106 | - boschs 107 | - brea5t 108 | - breastjob 109 | - breastlover 110 | - breastman 111 | - buddhahead 112 | - buddhaheads 113 | - buffies 114 | - bugger 115 | - buggered 116 | - buggery 117 | - bule 118 | - bules 119 | - bullcrap 120 | - bulldike 121 | - bulldyke 122 | - bullshit 123 | - bumblefuck 124 | - bumfuck 125 | - bung 126 | - bunga 127 | - bungas 128 | - bunghole 129 | - "burr head" 130 | - "burr heads" 131 | - burrhead 132 | - burrheads 133 | - butchbabes 134 | - butchdike 135 | - butchdyke 136 | - buttbang 137 | - buttface 138 | - buttfuck 139 | - buttfucker 140 | - buttfuckers 141 | - butthead 142 | - buttman 143 | - buttmunch 144 | - buttmuncher 145 | - buttpirate 146 | - buttplug 147 | - buttstain 148 | - byatch 149 | - cacker 150 | - "camel jockey" 151 | - "camel jockeys" 152 | - cameljockey 153 | - cameltoe 154 | - carpetmuncher 155 | - carruth 156 | - chav 157 | - "cheese eating surrender monkey" 158 | - "cheese eating surrender monkies" 159 | - "cheeseeating surrender monkey" 160 | - "cheeseeating surrender monkies" 161 | - cheesehead 162 | - cheeseheads 163 | - cherrypopper 164 | - chickslick 165 | - "china swede" 166 | - "china swedes" 167 | - chinaman 168 | - chinamen 169 | - chinaswede 170 | - chinaswedes 171 | - "ching chong" 172 | - "ching chongs" 173 | - chingchong 174 | - chingchongs 175 | - chink 176 | - chinks 177 | - chinky 178 | - choad 179 | - chode 180 | - chonkies 181 | - chonky 182 | - chonkys 183 | - "christ killer" 184 | - "christ killers" 185 | - chug 186 | - chugs 187 | - chunger 188 | - chungers 189 | - chunkies 190 | - chunky 191 | - chunkys 192 | - clamdigger 193 | - clamdiver 194 | - clansman 195 | - clansmen 196 | - clanswoman 197 | - clanswomen 198 | - clit 199 | - clitoris 200 | - clogwog 201 | - cockblock 202 | - cockblocker 203 | - cockcowboy 204 | - cockfight 205 | - cockhead 206 | - cockknob 207 | - cocklicker 208 | - cocklover 209 | - cocknob 210 | - cockqueen 211 | - cockrider 212 | - cocksman 213 | - cocksmith 214 | - cocksmoker 215 | - cocksucer 216 | - cocksuck 217 | - cocksucked 218 | - cocksucker 219 | - cocksucking 220 | - cocktease 221 | - cocky 222 | - cohee 223 | - commie 224 | - coolie 225 | - coolies 226 | - cooly 227 | - coon 228 | - "coon ass" 229 | - "coon asses" 230 | - coonass 231 | - coonasses 232 | - coondog 233 | - coons 234 | - cornhole 235 | - cracka 236 | - crackwhore 237 | - crap 238 | - crapola 239 | - crapper 240 | - crappy 241 | - crotchjockey 242 | - crotchmonkey 243 | - crotchrot 244 | - cum 245 | - cumbubble 246 | - cumfest 247 | - cumjockey 248 | - cumm 249 | - cummer 250 | - cumming 251 | - cummings 252 | - cumquat 253 | - cumqueen 254 | - cumshot 255 | - cunn 256 | - cunntt 257 | - cunt 258 | - cunteyed 259 | - cuntfuck 260 | - cuntfucker 261 | - cuntlick 262 | - cuntlicker 263 | - cuntlicking 264 | - cuntsucker 265 | - "curry muncher" 266 | - "curry munchers" 267 | - currymuncher 268 | - currymunchers 269 | - cushi 270 | - cushis 271 | - cyberslimer 272 | - dago 273 | - dagos 274 | - dahmer 275 | - dammit 276 | - damnit 277 | - darkey 278 | - darkeys 279 | - darkie 280 | - darkies 281 | - darky 282 | - datnigga 283 | - deapthroat 284 | - deepthroat 285 | - dego 286 | - degos 287 | - "diaper head" 288 | - "diaper heads" 289 | - diaperhead 290 | - diaperheads 291 | - dickbrain 292 | - dickforbrains 293 | - dickhead 294 | - dickless 295 | - dicklick 296 | - dicklicker 297 | - dickman 298 | - dickwad 299 | - dickweed 300 | - diddle 301 | - dingleberry 302 | - dink 303 | - dinks 304 | - dipshit 305 | - dipstick 306 | - dix 307 | - dixiedike 308 | - dixiedyke 309 | - doggiestyle 310 | - doggystyle 311 | - dong 312 | - doodoo 313 | - dope 314 | - "dot head" 315 | - "dot heads" 316 | - dothead 317 | - dotheads 318 | - dragqueen 319 | - dragqween 320 | - dripdick 321 | - dumb 322 | - dumbass 323 | - dumbbitch 324 | - dumbfuck 325 | - "dune coon" 326 | - "dune coons" 327 | - dyefly 328 | - easyslut 329 | - eatballs 330 | - eatme 331 | - eatpussy 332 | - "eight ball" 333 | - "eight balls" 334 | - ero 335 | - esqua 336 | - evl 337 | - exkwew 338 | - facefucker 339 | - faeces 340 | - fagging 341 | - faggot 342 | - fagot 343 | - fannyfucker 344 | - farty 345 | - fastfuck 346 | - fatah 347 | - fatass 348 | - fatfuck 349 | - fatfucker 350 | - fatso 351 | - fckcum 352 | - felch 353 | - felcher 354 | - felching 355 | - fellatio 356 | - feltch 357 | - feltcher 358 | - feltching 359 | - fingerfuck 360 | - fingerfucked 361 | - fingerfucker 362 | - fingerfuckers 363 | - fingerfucking 364 | - fister 365 | - fistfuck 366 | - fistfucked 367 | - fistfucker 368 | - fistfucking 369 | - fisting 370 | - flange 371 | - floo 372 | - flydie 373 | - flydye 374 | - fok 375 | - footfuck 376 | - footfucker 377 | - footlicker 378 | - footstar 379 | - forni 380 | - fornicate 381 | - foursome 382 | - fourtwenty 383 | - fraud 384 | - freakfuck 385 | - freakyfucker 386 | - freefuck 387 | - fu 388 | - fubar 389 | - fuc 390 | - fucck 391 | - fuck 392 | - fucka 393 | - fuckable 394 | - fuckbag 395 | - fuckbook 396 | - fuckbuddy 397 | - fucked 398 | - fuckedup 399 | - fucker 400 | - fuckers 401 | - fuckface 402 | - fuckfest 403 | - fuckfreak 404 | - fuckfriend 405 | - fuckhead 406 | - fuckher 407 | - fuckin 408 | - fuckina 409 | - fucking 410 | - fuckingbitch 411 | - fuckinnuts 412 | - fuckinright 413 | - fuckit 414 | - fuckknob 415 | - fuckme 416 | - fuckmehard 417 | - fuckmonkey 418 | - fuckoff 419 | - fuckpig 420 | - fucks 421 | - fucktard 422 | - fuckwhore 423 | - fuckyou 424 | - fudgepacker 425 | - fugly 426 | - fuk 427 | - fuks 428 | - funeral 429 | - funfuck 430 | - fungus 431 | - fuuck 432 | - gables 433 | - gangbang 434 | - gangbanged 435 | - gangbanger 436 | - gangsta 437 | - "gator bait" 438 | - gatorbait 439 | - gaymuthafuckinwhore 440 | - gaysex 441 | - geez 442 | - geezer 443 | - geni 444 | - getiton 445 | - ginzo 446 | - ginzos 447 | - gipp 448 | - gippo 449 | - gippos 450 | - gipps 451 | - givehead 452 | - glazeddonut 453 | - godammit 454 | - goddamit 455 | - goddammit 456 | - goddamn 457 | - goddamned 458 | - goddamnes 459 | - goddamnit 460 | - goddamnmuthafucker 461 | - goldenshower 462 | - golliwog 463 | - golliwogs 464 | - gonorrehea 465 | - gonzagas 466 | - gook 467 | - "gook eye" 468 | - "gook eyes" 469 | - gookeye 470 | - gookeyes 471 | - gookies 472 | - gooks 473 | - gooky 474 | - gora 475 | - goras 476 | - gotohell 477 | - greaseball 478 | - greaseballs 479 | - greaser 480 | - greasers 481 | - gringo 482 | - gringos 483 | - groe 484 | - groid 485 | - groids 486 | - gubba 487 | - gubbas 488 | - gubs 489 | - gummer 490 | - gwailo 491 | - gwailos 492 | - gweilo 493 | - gweilos 494 | - gyopo 495 | - gyopos 496 | - gyp 497 | - gyped 498 | - gypo 499 | - gypos 500 | - gypp 501 | - gypped 502 | - gyppie 503 | - gyppies 504 | - gyppo 505 | - gyppos 506 | - gyppy 507 | - gyppys 508 | - gypsies 509 | - gypsy 510 | - gypsys 511 | - hadji 512 | - hadjis 513 | - hairyback 514 | - hairybacks 515 | - haji 516 | - hajis 517 | - hajji 518 | - hajjis 519 | - "half breed" 520 | - "half caste" 521 | - halfbreed 522 | - halfcaste 523 | - hamas 524 | - handjob 525 | - haole 526 | - haoles 527 | - hapa 528 | - hardon 529 | - headfuck 530 | - headlights 531 | - hebe 532 | - hebephila 533 | - hebephile 534 | - hebephiles 535 | - hebephilia 536 | - hebephilic 537 | - hebes 538 | - heeb 539 | - heebs 540 | - hillbillies 541 | - hillbilly 542 | - hindoo 543 | - hiscock 544 | - hitler 545 | - hitlerism 546 | - hitlerist 547 | - ho 548 | - hobo 549 | - hodgie 550 | - hoes 551 | - holestuffer 552 | - homo 553 | - homobangers 554 | - honger 555 | - honk 556 | - honkers 557 | - honkey 558 | - honkeys 559 | - honkie 560 | - honkies 561 | - honky 562 | - hooker 563 | - hookers 564 | - hooters 565 | - hore 566 | - hori 567 | - horis 568 | - hork 569 | - horney 570 | - horniest 571 | - horseshit 572 | - hosejob 573 | - hoser 574 | - hotdamn 575 | - hotpussy 576 | - hottotrot 577 | - hussy 578 | - hymie 579 | - hymies 580 | - iblowu 581 | - idiot 582 | - ikeymo 583 | - ikeymos 584 | - ikwe 585 | - indons 586 | - injun 587 | - injuns 588 | - insest 589 | - intheass 590 | - inthebuff 591 | - jackass 592 | - jackoff 593 | - jackshit 594 | - jacktheripper 595 | - jap 596 | - japcrap 597 | - japie 598 | - japies 599 | - japs 600 | - jebus 601 | - jeez 602 | - jerkoff 603 | - jewboy 604 | - jewed 605 | - jewess 606 | - jig 607 | - jiga 608 | - jigaboo 609 | - jigaboos 610 | - jigarooni 611 | - jigaroonis 612 | - jigg 613 | - jigga 614 | - jiggabo 615 | - jiggabos 616 | - jiggas 617 | - jigger 618 | - jiggers 619 | - jiggs 620 | - jiggy 621 | - jigs 622 | - jijjiboo 623 | - jijjiboos 624 | - jimfish 625 | - jism 626 | - jiz 627 | - jizim 628 | - jizjuice 629 | - jizm 630 | - jizz 631 | - jizzim 632 | - jizzum 633 | - juggalo 634 | - "jungle bunnies" 635 | - "jungle bunny" 636 | - junglebunny 637 | - kacap 638 | - kacapas 639 | - kacaps 640 | - kaffer 641 | - kaffir 642 | - kaffre 643 | - kafir 644 | - kanake 645 | - katsap 646 | - katsaps 647 | - khokhol 648 | - khokhols 649 | - kigger 650 | - kike 651 | - kikes 652 | - kimchis 653 | - kissass 654 | - kkk 655 | - klansman 656 | - klansmen 657 | - klanswoman 658 | - klanswomen 659 | - kondum 660 | - koon 661 | - krap 662 | - krappy 663 | - krauts 664 | - kuffar 665 | - kum 666 | - kumbubble 667 | - kumbullbe 668 | - kummer 669 | - kumming 670 | - kumquat 671 | - kums 672 | - kunilingus 673 | - kunnilingus 674 | - kunt 675 | - kushi 676 | - kushis 677 | - kwa 678 | - "kwai lo" 679 | - "kwai los" 680 | - ky 681 | - kyke 682 | - kykes 683 | - kyopo 684 | - kyopos 685 | - lebo 686 | - lebos 687 | - lesbain 688 | - lesbayn 689 | - lesbian 690 | - lesbin 691 | - lesbo 692 | - lez 693 | - lezbe 694 | - lezbefriends 695 | - lezbo 696 | - lezz 697 | - lezzo 698 | - lickme 699 | - limey 700 | - limpdick 701 | - limy 702 | - livesex 703 | - loadedgun 704 | - looser 705 | - loser 706 | - lovebone 707 | - lovegoo 708 | - lovegun 709 | - lovejuice 710 | - lovemuscle 711 | - lovepistol 712 | - loverocket 713 | - lowlife 714 | - lsd 715 | - lubejob 716 | - lubra 717 | - luckycammeltoe 718 | - lugan 719 | - lugans 720 | - mabuno 721 | - mabunos 722 | - macaca 723 | - macacas 724 | - magicwand 725 | - mahbuno 726 | - mahbunos 727 | - mams 728 | - manhater 729 | - manpaste 730 | - mastabate 731 | - mastabater 732 | - masterbate 733 | - masterblaster 734 | - mastrabator 735 | - masturbate 736 | - masturbating 737 | - mattressprincess 738 | - "mau mau" 739 | - "mau maus" 740 | - maumau 741 | - maumaus 742 | - meatbeatter 743 | - meatrack 744 | - mgger 745 | - mggor 746 | - mickeyfinn 747 | - milf 748 | - mockey 749 | - mockie 750 | - mocky 751 | - mofo 752 | - moky 753 | - moneyshot 754 | - "moon cricket" 755 | - "moon crickets" 756 | - mooncricket 757 | - mooncrickets 758 | - moron 759 | - moskal 760 | - moskals 761 | - moslem 762 | - mosshead 763 | - mothafuck 764 | - mothafucka 765 | - mothafuckaz 766 | - mothafucked 767 | - mothafucker 768 | - mothafuckin 769 | - mothafucking 770 | - mothafuckings 771 | - motherfuck 772 | - motherfucked 773 | - motherfucker 774 | - motherfuckin 775 | - motherfucking 776 | - motherfuckings 777 | - motherlovebone 778 | - muff 779 | - muffdive 780 | - muffdiver 781 | - muffindiver 782 | - mufflikcer 783 | - mulatto 784 | - muncher 785 | - munt 786 | - mzungu 787 | - mzungus 788 | - nastybitch 789 | - nastyho 790 | - nastyslut 791 | - nastywhore 792 | - negres 793 | - negress 794 | - negro 795 | - negroes 796 | - negroid 797 | - negros 798 | - nig 799 | - nigar 800 | - nigars 801 | - niger 802 | - nigerian 803 | - nigerians 804 | - nigers 805 | - nigette 806 | - nigettes 807 | - nigg 808 | - nigga 809 | - niggah 810 | - niggahs 811 | - niggar 812 | - niggaracci 813 | - niggard 814 | - niggarded 815 | - niggarding 816 | - niggardliness 817 | - niggardlinesss 818 | - niggardly 819 | - niggards 820 | - niggars 821 | - niggas 822 | - niggaz 823 | - nigger 824 | - niggerhead 825 | - niggerhole 826 | - niggers 827 | - niggle 828 | - niggled 829 | - niggles 830 | - niggling 831 | - nigglings 832 | - niggor 833 | - niggress 834 | - niggresses 835 | - nigguh 836 | - nigguhs 837 | - niggur 838 | - niggurs 839 | - niglet 840 | - nignog 841 | - nigor 842 | - nigors 843 | - nigr 844 | - nigra 845 | - nigras 846 | - nigre 847 | - nigres 848 | - nigress 849 | - nigs 850 | - nip 851 | - nittit 852 | - nlgger 853 | - nlggor 854 | - nofuckingway 855 | - nookey 856 | - nookie 857 | - noonan 858 | - nudger 859 | - nutfucker 860 | - ontherag 861 | - orga 862 | - orgasim 863 | - paki 864 | - pakis 865 | - palesimian 866 | - "pancake face" 867 | - "pancake faces" 868 | - pansies 869 | - pansy 870 | - panti 871 | - payo 872 | - peckerwood 873 | - pedo 874 | - peehole 875 | - peepshpw 876 | - peni5 877 | - perv 878 | - phuk 879 | - phuked 880 | - phuking 881 | - phukked 882 | - phukking 883 | - phungky 884 | - phuq 885 | - pi55 886 | - picaninny 887 | - piccaninny 888 | - pickaninnies 889 | - pickaninny 890 | - piefke 891 | - piefkes 892 | - piker 893 | - pikey 894 | - piky 895 | - pimp 896 | - pimped 897 | - pimper 898 | - pimpjuic 899 | - pimpjuice 900 | - pimpsimp 901 | - pindick 902 | - piss 903 | - pissed 904 | - pisser 905 | - pisses 906 | - pisshead 907 | - pissin 908 | - pissing 909 | - pissoff 910 | - pocha 911 | - pochas 912 | - pocho 913 | - pochos 914 | - pocketpool 915 | - pohm 916 | - pohms 917 | - polack 918 | - polacks 919 | - pollock 920 | - pollocks 921 | - pom 922 | - pommie 923 | - "pommie grant" 924 | - "pommie grants" 925 | - pommies 926 | - pommy 927 | - poms 928 | - poo 929 | - poon 930 | - poontang 931 | - poop 932 | - pooper 933 | - pooperscooper 934 | - pooping 935 | - poorwhitetrash 936 | - popimp 937 | - "porch monkey" 938 | - "porch monkies" 939 | - porchmonkey 940 | - pornking 941 | - porno 942 | - pornography 943 | - pornprincess 944 | - "prairie nigger" 945 | - "prairie niggers" 946 | - premature 947 | - pric 948 | - prick 949 | - prickhead 950 | - pu55i 951 | - pu55y 952 | - pubiclice 953 | - pud 954 | - pudboy 955 | - pudd 956 | - puddboy 957 | - puke 958 | - puntang 959 | - purinapricness 960 | - puss 961 | - pussie 962 | - pussies 963 | - pussyeater 964 | - pussyfucker 965 | - pussylicker 966 | - pussylips 967 | - pussylover 968 | - pussypounder 969 | - pusy 970 | - quashie 971 | - queef 972 | - quickie 973 | - quim 974 | - ra8s 975 | - raghead 976 | - ragheads 977 | - raper 978 | - rearend 979 | - rearentry 980 | - redleg 981 | - redlegs 982 | - redneck 983 | - rednecks 984 | - redskin 985 | - redskins 986 | - reefer 987 | - reestie 988 | - rere 989 | - retard 990 | - retarded 991 | - ribbed 992 | - rigger 993 | - rimjob 994 | - rimming 995 | - "round eyes" 996 | - roundeye 997 | - russki 998 | - russkie 999 | - sadis 1000 | - sadom 1001 | - sambo 1002 | - sambos 1003 | - samckdaddy 1004 | - "sand nigger" 1005 | - "sand niggers" 1006 | - sandm 1007 | - sandnigger 1008 | - satan 1009 | - scag 1010 | - scallywag 1011 | - schlong 1012 | - schvartse 1013 | - schvartsen 1014 | - schwartze 1015 | - schwartzen 1016 | - screwyou 1017 | - seppo 1018 | - seppos 1019 | - sexed 1020 | - sexfarm 1021 | - sexhound 1022 | - sexhouse 1023 | - sexing 1024 | - sexkitten 1025 | - sexpot 1026 | - sexslave 1027 | - sextogo 1028 | - sexwhore 1029 | - sexymoma 1030 | - sexyslim 1031 | - shaggin 1032 | - shagging 1033 | - shat 1034 | - shav 1035 | - shawtypimp 1036 | - sheeney 1037 | - shhit 1038 | - shiksa 1039 | - shinola 1040 | - shit 1041 | - shitcan 1042 | - shitdick 1043 | - shite 1044 | - shiteater 1045 | - shited 1046 | - shitface 1047 | - shitfaced 1048 | - shitfit 1049 | - shitforbrains 1050 | - shitfuck 1051 | - shitfucker 1052 | - shitfull 1053 | - shithapens 1054 | - shithappens 1055 | - shithead 1056 | - shithouse 1057 | - shiting 1058 | - shitlist 1059 | - shitola 1060 | - shitoutofluck 1061 | - shits 1062 | - shitstain 1063 | - shitted 1064 | - shitter 1065 | - shitting 1066 | - shitty 1067 | - shortfuck 1068 | - shylock 1069 | - shylocks 1070 | - sissy 1071 | - sixsixsix 1072 | - sixtynine 1073 | - sixtyniner 1074 | - skank 1075 | - skankbitch 1076 | - skankfuck 1077 | - skankwhore 1078 | - skanky 1079 | - skankybitch 1080 | - skankywhore 1081 | - skinflute 1082 | - skum 1083 | - skumbag 1084 | - skwa 1085 | - skwe 1086 | - slant 1087 | - slanteye 1088 | - slanty 1089 | - slapper 1090 | - slave 1091 | - slavedriver 1092 | - sleezebag 1093 | - sleezeball 1094 | - slideitin 1095 | - slimeball 1096 | - slimebucket 1097 | - slopehead 1098 | - slopeheads 1099 | - sloper 1100 | - slopers 1101 | - slopes 1102 | - slopey 1103 | - slopeys 1104 | - slopies 1105 | - slopy 1106 | - slut 1107 | - sluts 1108 | - slutt 1109 | - slutting 1110 | - slutty 1111 | - slutwear 1112 | - slutwhore 1113 | - smackthemonkey 1114 | - smut 1115 | - snatchpatch 1116 | - snowback 1117 | - snownigger 1118 | - sodomise 1119 | - sodomize 1120 | - sodomy 1121 | - sonofabitch 1122 | - sonofbitch 1123 | - sooties 1124 | - sooty 1125 | - spaghettibender 1126 | - spaghettinigger 1127 | - spankthemonkey 1128 | - spearchucker 1129 | - spearchuckers 1130 | - spermacide 1131 | - spermbag 1132 | - spermhearder 1133 | - spermherder 1134 | - spic 1135 | - spick 1136 | - spicks 1137 | - spics 1138 | - spig 1139 | - spigotty 1140 | - spik 1141 | - spit 1142 | - spitter 1143 | - splittail 1144 | - spooge 1145 | - spreadeagle 1146 | - spunk 1147 | - spunky 1148 | - sqeh 1149 | - squa 1150 | - squarehead 1151 | - squareheads 1152 | - squaw 1153 | - squinty 1154 | - stringer 1155 | - stripclub 1156 | - stuinties 1157 | - stupid 1158 | - stupidfuck 1159 | - stupidfucker 1160 | - suckdick 1161 | - sucker 1162 | - suckme 1163 | - suckmyass 1164 | - suckmydick 1165 | - suckmytit 1166 | - suckoff 1167 | - swallower 1168 | - swalow 1169 | - "swamp guinea" 1170 | - "swamp guineas" 1171 | - tacohead 1172 | - tacoheads 1173 | - taff 1174 | - tang 1175 | - "tar babies" 1176 | - "tar baby" 1177 | - tarbaby 1178 | - tard 1179 | - teste 1180 | - thicklip 1181 | - thicklips 1182 | - thirdeye 1183 | - thirdleg 1184 | - threeway 1185 | - "timber nigger" 1186 | - "timber niggers" 1187 | - timbernigger 1188 | - tinker 1189 | - tinkers 1190 | - titbitnipply 1191 | - titfuck 1192 | - titfucker 1193 | - titfuckin 1194 | - titjob 1195 | - titlicker 1196 | - titlover 1197 | - tits 1198 | - tittie 1199 | - titties 1200 | - titty 1201 | - tongethruster 1202 | - tongue 1203 | - tonguethrust 1204 | - tonguetramp 1205 | - tortur 1206 | - tosser 1207 | - "towel head" 1208 | - "towel heads" 1209 | - towelhead 1210 | - trailertrash 1211 | - trannie 1212 | - tranny 1213 | - transvestite 1214 | - triplex 1215 | - tuckahoe 1216 | - tunneloflove 1217 | - turd 1218 | - turnon 1219 | - twat 1220 | - twink 1221 | - twinkie 1222 | - twobitwhore 1223 | - uck 1224 | - ukrop 1225 | - "uncle tom" 1226 | - unfuckable 1227 | - upskirt 1228 | - uptheass 1229 | - upthebutt 1230 | - usama 1231 | - vibr 1232 | - vibrater 1233 | - vomit 1234 | - wab 1235 | - wank 1236 | - wanker 1237 | - wanking 1238 | - waysted 1239 | - weenie 1240 | - weewee 1241 | - welcher 1242 | - welfare 1243 | - wetb 1244 | - wetback 1245 | - wetbacks 1246 | - wetspot 1247 | - whacker 1248 | - whash 1249 | - whigger 1250 | - whiggers 1251 | - whiskeydick 1252 | - whiskydick 1253 | - "white trash" 1254 | - whitenigger 1255 | - whitetrash 1256 | - whitey 1257 | - whiteys 1258 | - whities 1259 | - whiz 1260 | - whop 1261 | - whore 1262 | - whorefucker 1263 | - whorehouse 1264 | - wigga 1265 | - wiggas 1266 | - wigger 1267 | - wiggers 1268 | - willie 1269 | - williewanker 1270 | - wn 1271 | - wog 1272 | - wogs 1273 | - womens 1274 | - wop 1275 | - wtf 1276 | - wuss 1277 | - wuzzie 1278 | - xkwe 1279 | - yank 1280 | - yanks 1281 | - yarpie 1282 | - yarpies 1283 | - yellowman 1284 | - yid 1285 | - yids 1286 | - zigabo 1287 | - zigabos 1288 | - zipperhead 1289 | - zipperheads 1290 | -------------------------------------------------------------------------------- /alex/ProfanityMaybe.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: Reconsider using '%s', it may be profane. 3 | level: warning 4 | ignorecase: true 5 | tokens: 6 | - abbo 7 | - abid 8 | - abo 9 | - abortion 10 | - abuse 11 | - addict 12 | - addicts 13 | - alla 14 | - anal 15 | - analsex 16 | - anus 17 | - areola 18 | - athletesfoot 19 | - attack 20 | - australian 21 | - babe 22 | - banging 23 | - bastard 24 | - beastality 25 | - beastial 26 | - beastiality 27 | - bicurious 28 | - bitch 29 | - bitches 30 | - blackman 31 | - blacks 32 | - bondage 33 | - boob 34 | - boobs 35 | - "bounty bar" 36 | - "bounty bars" 37 | - bountybar 38 | - brothel 39 | - buttplug 40 | - clit 41 | - clitoris 42 | - cocaine 43 | - cock 44 | - coitus 45 | - condom 46 | - copulate 47 | - cra5h 48 | - crack 49 | - cracker 50 | - crackpipe 51 | - crotch 52 | - cunilingus 53 | - cunillingus 54 | - cybersex 55 | - damn 56 | - damnation 57 | - defecate 58 | - demon 59 | - devil 60 | - devilworshipper 61 | - dick 62 | - dike 63 | - dildo 64 | - drug 65 | - drunk 66 | - drunken 67 | - dyke 68 | - ejaculate 69 | - ejaculated 70 | - ejaculating 71 | - ejaculation 72 | - enema 73 | - erection 74 | - excrement 75 | - fag 76 | - fart 77 | - farted 78 | - farting 79 | - feces 80 | - felatio 81 | - fetish 82 | - fingerfood 83 | - flasher 84 | - flatulence 85 | - fondle 86 | - footaction 87 | - foreskin 88 | - foursome 89 | - fourtwenty 90 | - fruitcake 91 | - gable 92 | - genital 93 | - gob 94 | - god 95 | - gonzagas 96 | - goy 97 | - goyim 98 | - groe 99 | - gross 100 | - grostulation 101 | - gub 102 | - guinea 103 | - guineas 104 | - guizi 105 | - hamas 106 | - hebephila 107 | - hebephile 108 | - hebephiles 109 | - hebephilia 110 | - hebephilic 111 | - heroin 112 | - herpes 113 | - hiv 114 | - homicide 115 | - horney 116 | - ike 117 | - ikes 118 | - ikey 119 | - illegals 120 | - incest 121 | - intercourse 122 | - interracial 123 | - italiano 124 | - jerries 125 | - jerry 126 | - jesus 127 | - jesuschrist 128 | - jihad 129 | - kink 130 | - kinky 131 | - knockers 132 | - kock 133 | - kotex 134 | - kraut 135 | - ky 136 | - lactate 137 | - lapdance 138 | - libido 139 | - licker 140 | - liquor 141 | - lolita 142 | - lsd 143 | - lynch 144 | - mafia 145 | - marijuana 146 | - meth 147 | - mick 148 | - molest 149 | - molestation 150 | - molester 151 | - molestor 152 | - murder 153 | - narcotic 154 | - nazi 155 | - necro 156 | - nigerian 157 | - nigerians 158 | - nipple 159 | - nipplering 160 | - nook 161 | - nooner 162 | - nude 163 | - nuke 164 | - nymph 165 | - oral 166 | - orgasm 167 | - orgies 168 | - orgy 169 | - paddy 170 | - paederastic 171 | - paederasts 172 | - paederasty 173 | - pearlnecklace 174 | - peck 175 | - pecker 176 | - pederastic 177 | - pederasts 178 | - pederasty 179 | - pedophile 180 | - pedophiles 181 | - pedophilia 182 | - pedophilic 183 | - pee 184 | - peepshow 185 | - pendy 186 | - penetration 187 | - penile 188 | - penis 189 | - penises 190 | - penthouse 191 | - phonesex 192 | - pistol 193 | - pixie 194 | - pixy 195 | - playboy 196 | - playgirl 197 | - porn 198 | - pornflick 199 | - porno 200 | - pornography 201 | - prostitute 202 | - protestant 203 | - pube 204 | - pubic 205 | - pussy 206 | - pussycat 207 | - queer 208 | - racist 209 | - radical 210 | - radicals 211 | - randy 212 | - rape 213 | - raped 214 | - raper 215 | - rapist 216 | - rectum 217 | - ribbed 218 | - satan 219 | - scag 220 | - scat 221 | - screw 222 | - scrotum 223 | - scum 224 | - semen 225 | - septic 226 | - septics 227 | - sex 228 | - sexhouse 229 | - sextoy 230 | - sextoys 231 | - sexual 232 | - sexually 233 | - sexy 234 | - shag 235 | - shinola 236 | - shit 237 | - slaughter 238 | - smack 239 | - snatch 240 | - sniggers 241 | - sodom 242 | - sodomite 243 | - spade 244 | - spank 245 | - sperm 246 | - stagg 247 | - stiffy 248 | - strapon 249 | - stroking 250 | - suck 251 | - suicide 252 | - swallow 253 | - swastika 254 | - syphilis 255 | - tantra 256 | - teat 257 | - terrorist 258 | - testicle 259 | - testicles 260 | - threesome 261 | - tinkle 262 | - tit 263 | - tits 264 | - tnt 265 | - torture 266 | - tramp 267 | - trap 268 | - trisexual 269 | - trots 270 | - turd 271 | - uterus 272 | - vagina 273 | - vaginal 274 | - vibrator 275 | - vulva 276 | - whit 277 | - whites 278 | - willy 279 | - xtc 280 | - xxx 281 | - yankee 282 | - yankees -------------------------------------------------------------------------------- /alex/ProfanityUnlikely.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: Be careful with '%s', it's profane in some cases. 3 | level: warning 4 | ignorecase: true 5 | tokens: 6 | - adult 7 | - africa 8 | - african 9 | - allah 10 | - amateur 11 | - american 12 | - angie 13 | - angry 14 | - arab 15 | - arabs 16 | - aroused 17 | - asian 18 | - assassin 19 | - assassinate 20 | - assassination 21 | - assault 22 | - attack 23 | - australian 24 | - babies 25 | - backdoor 26 | - backseat 27 | - banana 28 | - bananas 29 | - baptist 30 | - bast 31 | - beast 32 | - beaver 33 | - bi 34 | - bigger 35 | - bisexual 36 | - blackout 37 | - blind 38 | - blow 39 | - bomb 40 | - bombers 41 | - bombing 42 | - bombs 43 | - bomd 44 | - boom 45 | - bosch 46 | - bra 47 | - breast 48 | - brownie 49 | - brownies 50 | - buffy 51 | - burn 52 | - butt 53 | - canadian 54 | - cancer 55 | - catholic 56 | - catholics 57 | - cemetery 58 | - childrens 59 | - chin 60 | - chinese 61 | - christ 62 | - christian 63 | - church 64 | - cigarette 65 | - cigs 66 | - cocktail 67 | - coconut 68 | - coconuts 69 | - color 70 | - colored 71 | - coloured 72 | - communist 73 | - conservative 74 | - conspiracy 75 | - corruption 76 | - crabs 77 | - crash 78 | - creamy 79 | - criminal 80 | - criminals 81 | - dead 82 | - death 83 | - deposit 84 | - desire 85 | - destroy 86 | - deth 87 | - die 88 | - died 89 | - dies 90 | - dirty 91 | - disease 92 | - diseases 93 | - disturbed 94 | - dive 95 | - doom 96 | - ecstacy 97 | - enemy 98 | - erect 99 | - escort 100 | - ethiopian 101 | - ethnic 102 | - european 103 | - execute 104 | - executed 105 | - execution 106 | - executioner 107 | - explosion 108 | - failed 109 | - failure 110 | - fairies 111 | - fairy 112 | - faith 113 | - fat 114 | - fear 115 | - fight 116 | - filipina 117 | - filipino 118 | - fire 119 | - firing 120 | - fore 121 | - fraud 122 | - funeral 123 | - fungus 124 | - gay 125 | - german 126 | - gin 127 | - girls 128 | - gun 129 | - harder 130 | - harem 131 | - headlights 132 | - hell 133 | - henhouse 134 | - heterosexual 135 | - hijack 136 | - hijacker 137 | - hijacking 138 | - hole 139 | - honk 140 | - hook 141 | - horn 142 | - hostage 143 | - hummer 144 | - hun 145 | - huns 146 | - husky 147 | - hustler 148 | - illegal 149 | - israel 150 | - israeli 151 | - israels 152 | - itch 153 | - jade 154 | - japanese 155 | - jerry 156 | - jew 157 | - jewish 158 | - joint 159 | - jugs 160 | - kid 161 | - kill 162 | - killed 163 | - killer 164 | - killing 165 | - kills 166 | - kimchi 167 | - knife 168 | - laid 169 | - latin 170 | - lesbian 171 | - liberal 172 | - lies 173 | - lingerie 174 | - lotion 175 | - lucifer 176 | - mad 177 | - mexican 178 | - mideast 179 | - minority 180 | - moles 181 | - mormon 182 | - muslim 183 | - naked 184 | - nasty 185 | - niger 186 | - niggardly 187 | - oreo 188 | - oreos 189 | - osama 190 | - palestinian 191 | - panties 192 | - penthouse 193 | - period 194 | - pot 195 | - poverty 196 | - premature 197 | - primetime 198 | - propaganda 199 | - pros 200 | - que 201 | - rabbi 202 | - racial 203 | - redlight 204 | - refugee 205 | - reject 206 | - remains 207 | - republican 208 | - roach 209 | - robber 210 | - rump 211 | - servant 212 | - shoot 213 | - shooting 214 | - showtime 215 | - sick 216 | - slant 217 | - slav 218 | - slime 219 | - slope 220 | - slopes 221 | - snigger 222 | - sniggered 223 | - sniggering 224 | - sniggers 225 | - sniper 226 | - snot 227 | - sob 228 | - sos 229 | - soviet 230 | - spa 231 | - stroke 232 | - sweetness 233 | - taboo 234 | - tampon 235 | - terror 236 | - toilet 237 | - tongue 238 | - transexual 239 | - transsexual 240 | - trojan 241 | - uk 242 | - urinary 243 | - urinate 244 | - urine 245 | - vatican 246 | - vietcong 247 | - violence 248 | - virgin 249 | - weapon 250 | - whiskey 251 | - womens -------------------------------------------------------------------------------- /alex/README.md: -------------------------------------------------------------------------------- 1 | Based on [alex](https://github.com/get-alex/alex). 2 | 3 | > Catch insensitive, inconsiderate writing 4 | 5 | ``` 6 | (The MIT License) 7 | 8 | Copyright (c) 2015 Titus Wormer 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in 18 | all copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 26 | THE SOFTWARE. 27 | ``` 28 | -------------------------------------------------------------------------------- /alex/Race.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: Consider using '%s' instead of '%s'. 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | Gipsy: Nomad|Traveler|Roma|Romani 10 | Indian country: enemy territory 11 | animal spirit: favorite|inspiration|personal interest|personality type 12 | black list: blocklist|wronglist|banlist|deny list 13 | blacklist: blocklist|wronglist|banlist|deny list 14 | blacklisted: blocklisted|wronglisted|banlisted|deny-listed 15 | blacklisting: blocklisting|wronglisting|banlisting|deny-listing 16 | bugreport: bug report|snapshot 17 | circle the wagons: defend 18 | dream catcher: favorite|inspiration|personal interest|personality type 19 | eskimo: Inuit 20 | eskimos: Inuits 21 | ghetto: projects|urban 22 | goy: a person who is not Jewish|not Jewish 23 | goyim: a person who is not Jewish|not Jewish 24 | goyum: a person who is not Jewish|not Jewish 25 | grandfather clause: legacy policy|legacy clause|deprecation policy 26 | grandfather policy: legacy policy|legacy clause|deprecation policy 27 | grandfathered: deprecated 28 | grandfathering: deprecate 29 | gyp: Nomad|Traveler|Roma|Romani 30 | gyppo: Nomad|Traveler|Roma|Romani 31 | gypsy: Nomad|Traveler|Roma|Romani 32 | hymie: Jewish person 33 | indian give: "go back on one\u2019s offer" 34 | indian giver: "go back on one\u2019s offer" 35 | japs: Japanese person|Japanese people 36 | jump the reservation: disobey|endure|object to|oppose|resist 37 | latina: Latinx 38 | latino: Latinx 39 | long time no hear: "I haven\u2019t seen you in a long time|it\u2019s been a long\ 40 | \ time" 41 | long time no see: "I haven\u2019t seen you in a long time|it\u2019s been a long\ 42 | \ time" 43 | master: primary|hub|reference 44 | masters: primaries|hubs|references 45 | mexican: Latinx 46 | natives are becoming restless: dissatisfied|frustrated 47 | natives are getting restless: dissatisfied|frustrated 48 | natives are growing restless: dissatisfied|frustrated 49 | natives are restless: dissatisfied|frustrated 50 | non white: person of color|people of color 51 | nonwhite: person of color|people of color 52 | off reserve: disobey|endure|object to|oppose|resist 53 | off the reservation: disobey|endure|object to|oppose|resist 54 | on the warpath: defend 55 | oriental: Asian person 56 | orientals: Asian people 57 | pinays: Filipinos|Filipino people 58 | pinoys: Filipinos|Filipino people 59 | pocahontas: Native American 60 | pow wow: conference|gathering|meeting 61 | powwow: conference|gathering|meeting 62 | primitive: simple|indigenous|hunter-gatherer 63 | red indian: Native American 64 | red indians: Native American People 65 | redskin: Native American 66 | redskins: Native American People 67 | sand niggers: Arabs|Middle Eastern People 68 | savage: simple|indigenous|hunter-gatherer 69 | shlomo: Jewish person 70 | shyster: Jewish person 71 | sophisticated culture: complex culture 72 | sophisticated technology: complex technology 73 | spade: a Black person 74 | spirit animal: favorite|inspiration|personal interest|personality type 75 | stone age: simple|indigenous|hunter-gatherer 76 | too many chiefs: too many chefs in the kitchen|too many cooks spoil the broth 77 | totem: favorite|inspiration|personal interest|personality type 78 | towel heads: Arabs|Middle Eastern People 79 | tribe: society|community 80 | white list: passlist|alrightlist|safelist|allow list 81 | whitelist: passlist|alrightlist|safelist|allow list 82 | whitelisted: passlisted|alrightlisted|safelisted|allow-listed 83 | whitelisting: passlisting|alrightlisting|safelisting|allow-listing 84 | -------------------------------------------------------------------------------- /alex/Suicide.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: substitution 3 | message: Consider using '%s' instead of '%s' (which may be insensitive). 4 | ignorecase: true 5 | level: warning 6 | action: 7 | name: replace 8 | swap: 9 | commit suicide: die by suicide 10 | committed suicide: died by suicide 11 | complete suicide: die by suicide 12 | completed suicide: died by suicide 13 | epidemic of suicides: rise in suicides 14 | failed attempt: suicide attempt|attempted suicide 15 | failed suicide: suicide attempt|attempted suicide 16 | hang: the app froze|the app stopped responding|the app stopped responding to events|the 17 | app became unresponsive 18 | hanged: the app froze|the app stopped responding|the app stopped responding to events|the 19 | app became unresponsive 20 | successful suicide: die by suicide 21 | suicide epidemic: rise in suicides 22 | suicide failure: suicide attempt|attempted suicide 23 | suicide note: a note from the deceased 24 | suicide pact: rise in suicides 25 | -------------------------------------------------------------------------------- /alex/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "feed": "https://github.com/errata-ai/alex/releases.atom", 3 | "vale_version": ">=1.0.0" 4 | } -------------------------------------------------------------------------------- /features/rules.feature: -------------------------------------------------------------------------------- 1 | Feature: Rules 2 | 3 | Scenario: Basic test case 4 | When I test "basic" 5 | Then the output should contain exactly: 6 | """ 7 | fail.md:3:21:alex.Profanity:Be careful with 'fucking', it’s profane in some cases. 8 | fail.md:6:13:alex.Profanity:Be careful with 'damn', it’s profane in some cases. 9 | fail.md:6:18:alex.Profanity:Be careful with 'sexy', it’s profane in some cases. 10 | fail.md:8:210:alex.Profanity:Be careful with 'dead', it’s profane in some cases. 11 | """ 12 | -------------------------------------------------------------------------------- /features/steps.rb: -------------------------------------------------------------------------------- 1 | cmd = 'vale --output=line --sort --normalize --relative' 2 | 3 | When(/^I test "(.*)"$/) do |rule| 4 | step %(I cd to "../../fixtures/#{rule}") 5 | step %(I run `#{cmd} .`) 6 | end 7 | -------------------------------------------------------------------------------- /features/support/aruba.rb: -------------------------------------------------------------------------------- 1 | require 'aruba/cucumber' 2 | -------------------------------------------------------------------------------- /fixtures/basic/.vale.ini: -------------------------------------------------------------------------------- 1 | StylesPath = ../../ 2 | 3 | MinAlertLevel = suggestion 4 | 5 | [*.md] 6 | BasedOnStyles = alex 7 | -------------------------------------------------------------------------------- /fixtures/basic/fail.md: -------------------------------------------------------------------------------- 1 | Sup. 2 | 3 | We'd like to hire a fucking awesome java script dude, please. A proper web ninja! 4 | If you're good at javascript then please apply and we can crush code together! 5 | 6 | Our site is damn sexy, it was all built with MS Frontpage originally but now we use Dreamweaver mostly. It's important to us that you're at the top of your game, we want to feel enlightened whenever we read your code. 7 | 8 | We'd also like candidates to be able to turn their hand to a little VBScript if possible. He should be able to hit the ground running – we're a cutting-edge, meritocratic company so we can't afford to take on dead-weight. 9 | 10 | Our benefits include a pool table, a fully-stocked beer fridge, and a drama-free environment – we like to reward our heroic dev team properly! 11 | 12 | Call 01234567890 to apply. 13 | Candidates with rad beards get extra credit! 14 | 15 | I have o.c.d. to day. OCD should be flagged too. 16 | -------------------------------------------------------------------------------- /fixtures/basic/pass.md: -------------------------------------------------------------------------------- 1 | Hi. 2 | 3 | We'd like to hire an excellent JavaScript developer, please. 4 | If you're good at JavaScript then please apply. 5 | 6 | Thank you. 7 | 8 | Did you review the MRs yet? 9 | 10 | The word opcode should pass. --------------------------------------------------------------------------------