aergonaut / rubocop-inclusivity

A RuboCop extension to promote inclusive language in Ruby projects.
MIT License
2 stars 5 forks source link

Cops for ableism, cultural-insensitivity, violence #2

Open bensheldon opened 4 years ago

bensheldon commented 4 years ago

Thanks for creating this! Are you open to a broader set of language suggestions?

Google's respectful code has some additional examples (sanity, redline, etc): https://fuchsia.dev/fuchsia-src/contribute/best-practices/respectful_code

Google's styleguide also maintains a word list of problematic words and explanations, in red (dummy, kill, terminate, guru, exploit as synonym for use, etc).

iMacTia commented 3 years ago

+1 on this one, I was looking to add them as well! This gem is useful but definitely requires some more checks

olleolleolle commented 3 years ago

In order to read the above page, here's an archive.org link. https://web.archive.org/web/20200930072703if_/https://fuchsia.dev/fuchsia-src/contribute/best-practices/respectful_code

bensheldon commented 3 years ago

For reference, Wikipedia also has a list of ableist terms: https://en.wikipedia.org/wiki/List_of_disability-related_terms_with_negative_connotations