remove alex linting for now

This commit is contained in:
Deborah Barnard
2024-06-11 10:13:29 +01:00
parent 82657ac26e
commit 2dfcceaf69
11 changed files with 1 additions and 2362 deletions

View File

@@ -2,7 +2,7 @@ StylesPath = "styles"
MinAlertLevel = warning
Vocab = default
[*.md]
BasedOnStyles = from-alex, from-write-good, n8n-styles, from-microsoft, Vale
BasedOnStyles = from-write-good, n8n-styles, from-microsoft, Vale
Vale.Terms = NO
from-alex.Profanity = NO
TokenIgnores = (\-\-8\<\-\- \".*\"), (-only), (\*\*.*\*\*), (\*\*Release date:\*\*.*), (\[\[\%.*\%\]\]), (\[.*\]\(.*\)), (\[.*\]\(.*\)\{:target=_blank .external-link\}), (\[\[.*\]\]), (Rocket\.Chat), (\(https.*\))

View File

@@ -1,248 +0,0 @@
---
extends: substitution
message: When referring to a person, consider using '%s' instead of '%s'.
ignorecase: true
level: warning
action:
name: replace
swap:
ablebodied: non-disabled
addict: person with a drug addiction|person recovering from a drug addiction
addicts: people with a drug addiction|people recovering from a drug addiction
adhd: disorganized|distracted|energetic|hyperactive|impetuous|impulsive|inattentive|restless|unfocused
afflicted with MD: person who has muscular dystrophy
afflicted with a disability: has a disability|person with a disability|people with
disabilities
afflicted with a intellectual disability: person with an intellectual disability
afflicted with a polio: polio|person who had polio
afflicted with aids: person with AIDS
afflicted with an injury: sustain an injury|receive an injury
afflicted with disabilities: has a disability|person with a disability|people with
disabilities
afflicted with injuries: sustain injuries|receive injuries
afflicted with intellectual disabilities: person with an intellectual disability
afflicted with multiple sclerosis: person who has multiple sclerosis
afflicted with muscular dystrophy: person who has muscular dystrophy
afflicted with polio: polio|person who had polio
afflicted with psychosis: person with a psychotic condition|person with psychosis
afflicted with schizophrenia: person with schizophrenia
aids victim: person with AIDS
alcohol abuser: someone with an alcohol problem
alcoholic: someone with an alcohol problem
amputee: person with an amputation
anorexic: thin|slim
asylum: psychiatric hospital|mental health hospital
barren: empty|sterile|infertile
batshit: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of
mental illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
bedlam: chaos|hectic|pandemonium
binge: enthusiastic|spree
bipolar: fluctuating|person with bipolar disorder
birth defect: has a disability|person with a disability|people with disabilities
blind eye to: careless|heartless|indifferent|insensitive
blind to: careless|heartless|indifferent|insensitive
blinded by: careless|heartless|indifferent|insensitive
bony: thin|slim
bound to a wheelchair: uses a wheelchair
buckteeth: person with prominent teeth|prominent teeth
bucktoothed: person with prominent teeth|prominent teeth
challenged: has a disability|person with a disability|people with disabilities
cleftlipped: person with a cleft-lip and palate
confined to a wheelchair: uses a wheelchair
contard: disagreeable|uneducated|ignorant|naive|inconsiderate
crazy: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
cretin: creep|fool
cripple: person with a limp
crippled: person with a limp
daft: absurd|foolish
deaf and dumb: deaf
deaf ear to: careless|heartless|indifferent|insensitive
deaf to: careless|heartless|indifferent|insensitive
deafened by: careless|heartless|indifferent|insensitive
deafmute: deaf
delirious: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of
mental illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
demented: person with dementia
depressed: sad|blue|bummed out|person with seasonal affective disorder|person with
psychotic depression|person with postpartum depression
detox: treatment
detox center: treatment center
diffability: has a disability|person with a disability|people with disabilities
differently abled: has a disability|person with a disability|people with disabilities
disabled: turned off|has a disability|person with a disability|people with disabilities
downs syndrome: Down Syndrome
dumb: foolish|ludicrous|speechless|silent
dummy: test double|placeholder|fake|stub
dummyobject: test double|placeholder|fake|stub
dummyvalue: test double|placeholder|fake|stub
dummyvariable: test double|placeholder|fake|stub
dwarf: person with dwarfism|little person|little people|LP|person of short stature
dyslexic: person with dyslexia
epileptic: person with epilepsy
family burden: with family support needs
feeble minded: foolish|ludicrous|silly
feebleminded: foolish|ludicrous|silly
fucktard: disagreeable|uneducated|ignorant|naive|inconsiderate
gimp: person with a limp
handicapable: has a disability|person with a disability|people with disabilities
handicapped: person with a handicap|accessible
handicapped parking: accessible parking
hare lip: cleft-lip and palate
harelip: cleft-lip and palate
harelipped: person with a cleft-lip and palate
has intellectual issues: person with an intellectual disability
hearing impaired: hard of hearing|partially deaf|partial hearing loss|deaf
hearing impairment: hard of hearing|partially deaf|partial hearing loss|deaf
idiot: foolish|ludicrous|silly
imbecile: foolish|ludicrous|silly
infantile paralysis: polio|person who had polio
insane: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
insanely: incredibly
insanity: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of
mental illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
insomnia: restlessness|sleeplessness
insomniac: person who has insomnia
insomniacs: people who have insomnia
intellectually disabled: person with an intellectual disability
intellectually disabled people: people with intellectual disabilities
invalid: turned off|has a disability|person with a disability|people with disabilities
junkie: person with a drug addiction|person recovering from a drug addiction
junkies: people with a drug addiction|people recovering from a drug addiction
lame: boring|dull
learning disabled: person with learning disabilities
libtard: disagreeable|uneducated|ignorant|naive|inconsiderate
loony: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
loony bin: chaos|hectic|pandemonium
low iq: foolish|ludicrous|unintelligent
lunacy: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
lunatic: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of
mental illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
madhouse: chaos|hectic|pandemonium
maniac: fanatic|zealot|enthusiast
manic: person with schizophrenia
mental: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
mental case: rude|malicious|mean|disgusting|incredible|vile|person with symptoms
of mental illness|person with mental illness|person with symptoms of a mental
disorder|person with a mental disorder
mental defective: rude|malicious|mean|disgusting|incredible|vile|person with symptoms
of mental illness|person with mental illness|person with symptoms of a mental
disorder|person with a mental disorder
mentally ill: rude|malicious|mean|disgusting|incredible|vile|person with symptoms
of mental illness|person with mental illness|person with symptoms of a mental
disorder|person with a mental disorder
midget: person with dwarfism|little person|little people|LP|person of short stature
mongoloid: person with Down Syndrome
moron: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
moronic: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of
mental illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
multiple sclerosis victim: person who has multiple sclerosis
neurotic: has an anxiety disorder|obsessive|pedantic|niggly|picky
nuts: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
o.c.d: has an anxiety disorder|obsessive|pedantic|niggly|picky
o.c.d.: has an anxiety disorder|obsessive|pedantic|niggly|picky
ocd: has an anxiety disorder|obsessive|pedantic|niggly|picky
panic attack: fit of terror|scare
paraplegic: person with paraplegia
psycho: rude|malicious|mean|disgusting|incredible|vile|person with symptoms of mental
illness|person with mental illness|person with symptoms of a mental disorder|person
with a mental disorder
psychopathology: rude|malicious|mean|disgusting|incredible|vile|person with symptoms
of mental illness|person with mental illness|person with symptoms of a mental
disorder|person with a mental disorder
psychotic: person with a psychotic condition|person with psychosis
quadriplegic: person with quadriplegia
rehab: treatment
rehab center: treatment center
restricted to a wheelchair: uses a wheelchair
retard: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold
back
retarded: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold
back
retards: "sillies|dullards|people with developmental disabilities|people with Down\u2019\
s Syndrome|delays|holds back"
sane: correct|adequate|sufficient|consistent|valid|coherent|sensible|reasonable
sanity check: check|assertion|validation|smoke test
schizo: person with schizophrenia
schizophrenic: person with schizophrenia
senile: person with dementia
short bus: silly|dullard|person with Down Syndrome|person with developmental disabilities|delay|hold
back
simpleton: foolish|ludicrous|unintelligent
small person: person with dwarfism|little person|little people|LP|person of short
stature
sociopath: person with a personality disorder|person with psychopathic personality
sociopaths: people with psychopathic personalities|people with a personality disorder
spastic: person with cerebral palsy|twitch|flinch
spaz: person with cerebral palsy|twitch|flinch|hectic
special: has a disability|person with a disability|people with disabilities
special needs: has a disability|person with a disability|people with disabilities
special olympians: athletes|Special Olympics athletes
special olympic athletes: athletes|Special Olympics athletes
specially abled: has a disability|person with a disability|people with disabilities
stammering: stuttering|disfluency of speech
stroke victim: individual who has had a stroke
stupid: foolish|ludicrous|unintelligent
stutterer: person who stutters
suffer from aids: person with AIDS
suffer from an injury: sustain an injury|receive an injury
suffer from injuries: sustain injuries|receive injuries
suffering from a disability: has a disability|person with a disability|people with
disabilities
suffering from a polio: polio|person who had polio
suffering from a stroke: individual who has had a stroke
suffering from aids: person with AIDS
suffering from an injury: sustain an injury|receive an injury
suffering from an intellectual disability: person with an intellectual disability
suffering from disabilities: has a disability|person with a disability|people with
disabilities
suffering from injuries: sustain injuries|receive injuries
suffering from intellectual disabilities: person with an intellectual disability
suffering from multiple sclerosis: person who has multiple sclerosis
suffering from polio: polio|person who had polio
suffering from psychosis: person with a psychotic condition|person with psychosis
suffering from schizophrenia: person with schizophrenia
suffers from MD: person who has muscular dystrophy
suffers from aids: person with AIDS
suffers from an injury: sustain an injury|receive an injury
suffers from disabilities: has a disability|person with a disability|people with
disabilities
suffers from injuries: sustain injuries|receive injuries
suffers from intellectual disabilities: person with an intellectual disability
suffers from multiple sclerosis: person who has multiple sclerosis
suffers from muscular dystrophy: person who has muscular dystrophy
suffers from polio: polio|person who had polio
suffers from psychosis: person with a psychotic condition|person with psychosis
suffers from schizophrenia: person with schizophrenia
tourettes disorder: Tourette syndrome
tourettes syndrome: Tourette syndrome
vertically challenged: person with dwarfism|little person|little people|LP|person
of short stature
victim of a stroke: individual who has had a stroke
victim of aids: person with AIDS
victim of an injury: sustain an injury|receive an injury
victim of injuries: sustain injuries|receive injuries
victim of multiple sclerosis: person who has multiple sclerosis
victim of polio: polio|person who had polio
victim of psychosis: person with a psychotic condition|person with psychosis
wacko: foolish|ludicrous|unintelligent
whacko: foolish|ludicrous|unintelligent
wheelchair bound: uses a wheelchair

View File

@@ -1,16 +0,0 @@
---
extends: existence
message: Using '%s' may come across as condescending.
link: https://css-tricks.com/words-avoid-educational-writing/
level: error
ignorecase: true
tokens:
- obvious
- obviously
- simple
- simply
- easy
- easily
- of course
- clearly
- everyone knows

View File

@@ -1,108 +0,0 @@
---
extends: substitution
message: "Consider using '%s' instead of '%s'."
ignorecase: true
level: warning
action:
name: replace
swap:
ancient man: ancient civilization|ancient people
authoress: author|writer
average housewife: average consumer|average household|average homemaker
average man: average person
average working man: average wage earner|average taxpayer
aviatrix: aviator
bitch: whine|complain|cry
bitching: whining|complaining|crying
brotherhood of man: the human family
calendar girl: model
call girl: escort|prostitute|sex worker
churchman: cleric|practicing Christian|pillar of the Church
english master: english coordinator|senior teacher of english
englishmen: the english
executrix: executor
father of *: founder of
fellowship: camaraderie|community|organization
founding father: the founders|founding leaders|forebears
frenchmen: french|the french
freshman: first-year student|fresher
freshwoman: first-year student|fresher
housemaid: house worker|domestic help
housewife: homemaker|homeworker
housewives: homemakers|homeworkers
industrial man: industrial civilization|industrial people
lady doctor: doctor
ladylike: courteous|cultured
leading lady: lead
like a man: resolutely|bravely
mad man: fanatic|zealot|enthusiast
mad men: fanatics|zealots|enthusiasts
madman: fanatic|zealot|enthusiast
madmen: fanatics|zealots|enthusiasts
maiden: virgin
maiden flight: first flight
maiden name: birth name
maiden race: first race
maiden speech: first speech
maiden voyage: first voyage
man a desk: staff a desk
man enough: strong enough
man hour: staff hour|hour of work
man hours: staff hours|hours of work|hours of labor|hours
man in the street: ordinary citizen|typical person|average person
man of action: dynamo
man of letters: scholar|writer|literary figure
man of the land: farmer|rural worker|grazier|landowner|rural community|country people|country
folk
man of the world: sophisticate
man sized task: a demanding task|a big job
man the booth: staff the booth
man the phones: answer the phones
manhour: staff hour|hour of work
manhours: staff hours|hours of work|hours of labor|hours
mankind: humankind
manmade: manufactured|artificial|synthetic|machine-made|constructed
manned: staffed|crewed|piloted
manpower: human resources|workforce|personnel|staff|labor|personnel|labor force|staffing|combat
personnel
mans best friend: a faithful dog
mansized task: a demanding task|a big job
master copy: pass key|original
master key: pass key|original
master of ceremonies: emcee|moderator|convenor
master plan: grand scheme|guiding principles
master the art: become skilled
masterful: skilled|authoritative|commanding
mastermind: genius|creator|instigator|oversee|launch|originate
masterpiece: "work of genius|chef d\u2019oeuvre"
masterplan: vision|comprehensive plan
masterstroke: trump card|stroke of genius
men of science: scientists
midwife: birthing nurse
miss.: ms.
moan: whine|complain|cry
moaning: whining|complaining|crying
modern man: modern civilization|modern people
motherly: loving|warm|nurturing
mrs.: ms.
no mans land: unoccupied territory|wasteland|deathtrap
office girls: administrative staff
oneupmanship: upstaging|competitiveness
poetess: poet
railwayman: railway worker
sportsmanlike: fair|sporting
sportsmanship: fairness|good humor|sense of fair play
statesman like: diplomatic
statesmanlike: diplomatic
stockman: cattle worker|farmhand|drover
tax man: tax commissioner|tax office|tax collector
tradesmans entrance: service entrance
unmanned: robotic|automated
usherette: usher
wife beater: tank top|sleeveless undershirt
wifebeater: tank top|sleeveless undershirt
woman lawyer: lawyer
woman painter: painter
working mother: wage or salary earning woman|two-income family
working wife: wage or salary earning woman|two-income family
workmanship: quality construction|expertise

View File

@@ -1,55 +0,0 @@
---
extends: substitution
message: Consider using '%s' instead of '%s'.
ignorecase: true
level: warning
action:
name: replace
swap:
bathroom bill: non-discrimination law|non-discrimination ordinance
bi: bisexual
biologically female: assigned female at birth|designated female at birth
biologically male: assigned male at birth|designated male at birth
born a man: assigned male at birth|designated male at birth
born a woman: assigned female at birth|designated female at birth
dyke: gay
fag: gay
faggot: gay
gay agenda: gay issues
gay lifestyle: gay lives|gay/lesbian lives
gay rights: equal rights|civil rights for gay people
gender pronoun: pronoun|pronouns
gender pronouns: pronoun|pronouns
genetically female: assigned female at birth|designated female at birth
genetically male: assigned male at birth|designated male at birth
hermaphrodite: person who is intersex|person|intersex person
hermaphroditic: intersex
heshe: transgender person|person
homo: gay
homosexual: gay|gay man|lesbian|gay person/people
homosexual agenda: gay issues
homosexual couple: couple
homosexual lifestyle: gay lives|gay/lesbian lives
homosexual marriage: gay marriage|same-sex marriage
homosexual relations: relationship
homosexual relationship: relationship
preferred pronoun: pronoun|pronouns
preferred pronouns: pronoun|pronouns
pseudo hermaphrodite: person who is intersex|person|intersex person
pseudo hermaphroditic: intersex
pseudohermaphrodite: person who is intersex|person|intersex person
pseudohermaphroditic: intersex
sex change: transition|gender confirmation surgery
sex change operation: sex reassignment surgery|gender confirmation surgery
sexchange: transition|gender confirmation surgery
sexual preference: sexual orientation|orientation
she male: transgender person|person
shehe: transgender person|person
shemale: transgender person|person
sodomite: gay
special rights: equal rights|civil rights for gay people
tranny: transgender
transgendered: transgender
transgenderism: being transgender|the movement for transgender equality
transgenders: transgender people
transvestite: cross-dresser

View File

@@ -1,11 +0,0 @@
---
extends: substitution
message: Consider using '%s' instead of '%s'.
ignorecase: true
level: warning
action:
name: replace
swap:
islamist: muslim|person of Islamic faith|fanatic|zealot|follower of islam|follower
of the islamic faith
islamists: muslims|people of Islamic faith|fanatics|zealots

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +0,0 @@
Based on [alex](https://github.com/get-alex/alex).
> Catch insensitive, inconsiderate writing
```
(The MIT License)
Copyright (c) 2015 Titus Wormer <tituswormer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```

View File

@@ -1,87 +0,0 @@
---
extends: substitution
message: Consider using '%s' instead of '%s'.
ignorecase: true
level: warning
action:
name: replace
swap:
Gipsy: Nomad|Traveler|Roma|Romani
Indian country: enemy territory
animal spirit: favorite|inspiration|personal interest|personality type
black list: blocklist|wronglist|banlist|deny list
blacklist: blocklist|wronglist|banlist|deny list
blacklisted: blocklisted|wronglisted|banlisted|deny-listed
blacklisting: blocklisting|wronglisting|banlisting|deny-listing
bugreport: bug report|snapshot
circle the wagons: defend
dream catcher: favorite|inspiration|personal interest|personality type
eskimo: Inuit
eskimos: Inuits
ghetto: projects|urban
goy: a person who is not Jewish|not Jewish
goyim: a person who is not Jewish|not Jewish
goyum: a person who is not Jewish|not Jewish
grandfather clause: legacy policy|legacy clause|deprecation policy
grandfather policy: legacy policy|legacy clause|deprecation policy
grandfathered: deprecated
grandfathering: deprecate
gyp: Nomad|Traveler|Roma|Romani
gyppo: Nomad|Traveler|Roma|Romani
gypsy: Nomad|Traveler|Roma|Romani
hymie: Jewish person
indian give: "go back on one\u2019s offer"
indian giver: "go back on one\u2019s offer"
japs: Japanese person|Japanese people
jump the reservation: disobey|endure|object to|oppose|resist
latina: Latinx
latino: Latinx
long time no hear: "I haven\u2019t seen you in a long time|it\u2019s been a long\
\ time"
long time no see: "I haven\u2019t seen you in a long time|it\u2019s been a long\
\ time"
master: primary|hub|reference
masters: primaries|hubs|references
mexican: Latinx
natives are becoming restless: dissatisfied|frustrated
natives are getting restless: dissatisfied|frustrated
natives are growing restless: dissatisfied|frustrated
natives are restless: dissatisfied|frustrated
non white: person of color|people of color
nonwhite: person of color|people of color
off reserve: disobey|endure|object to|oppose|resist
off the reservation: disobey|endure|object to|oppose|resist
on the warpath: defend
oriental: Asian person
orientals: Asian people
pinays: Filipinos|Filipino people
pinoys: Filipinos|Filipino people
pocahontas: Native American
pow wow: conference|gathering|meeting
powwow: conference|gathering|meeting
primitive: simple|indigenous|hunter-gatherer
red indian: Native American
red indians: Native American People
redskin: Native American
redskins: Native American People
sand niggers: Arabs|Middle Eastern People
savage: simple|indigenous|hunter-gatherer
shlomo: Jewish person
shyster: Jewish person
sophisticated culture: complex culture
sophisticated technology: complex technology
spade: a Black person
spirit animal: favorite|inspiration|personal interest|personality type
stone age: simple|indigenous|hunter-gatherer
too many chiefs: too many chefs in the kitchen|too many cooks spoil the broth
totem: favorite|inspiration|personal interest|personality type
towel heads: Arabs|Middle Eastern People
tribe: society|community
white list: passlist|alrightlist|safelist|allow list
white space: space|blank
white spaces: space|blank
whitelist: passlist|alrightlist|safelist|allow list
whitelisted: passlisted|alrightlisted|safelisted|allow-listed
whitelisting: passlisting|alrightlisting|safelisting|allow-listing
whitespace: space|blank
whitespaces: space|blank

View File

@@ -1,24 +0,0 @@
---
extends: substitution
message: When referring to a person, consider using '%s' instead of '%s'.
ignorecase: true
level: warning
action:
name: replace
swap:
commit suicide: die by suicide
committed suicide: died by suicide
complete suicide: die by suicide
completed suicide: died by suicide
epidemic of suicides: rise in suicides
failed attempt: suicide attempt|attempted suicide
failed suicide: suicide attempt|attempted suicide
hang: the app froze|the app stopped responding|the app stopped responding to events|the
app became unresponsive
hanged: the app froze|the app stopped responding|the app stopped responding to events|the
app became unresponsive
successful suicide: die by suicide
suicide epidemic: rise in suicides
suicide failure: suicide attempt|attempted suicide
suicide note: a note from the deceased
suicide pact: rise in suicides

View File

@@ -1,4 +0,0 @@
{
"feed": "https://github.com/errata-ai/alex/releases.atom",
"vale_version": ">=1.0.0"
}