quickly check source comments for subtle racism/sexism/ableism
Quickly check source code for common racist/sexist/ableist terms, that one might be being used without realizing it.
Doesn't check for blatant racist stuff, because if you are using that, you have bigger problems. Instead just the sort of things that might unwittingly slip into source code comments of otherwise reasonably aware developers.
Relies on ripgrep to be installed in your $PATH
, since it is WAY faster
than anything else in the universe for searching large codebases and respecting
.gitignore
.
This is really just a quick shell script for my own personal use, but putting it online in case others find it helpful!
consider
will check the current directory (respecting .gitignore
), or you
can pass a list of files or directories to be checked.
Clone this repository and run make install
.
Alternately, via HomeBrew on macOS via brew install mroth/formulas/consider
. 🍺