Skip to content
/ consider Public

🤔 quickly check code comments for subtle (racism|sexism|ableism)

Notifications You must be signed in to change notification settings

mroth/consider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

consider

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!

screenshot

Usage

consider will check the current directory (respecting .gitignore), or you can pass a list of files or directories to be checked.

Installation

Clone this repository and run make install.

Alternately, via HomeBrew on macOS via brew install mroth/formulas/consider. 🍺

About

🤔 quickly check code comments for subtle (racism|sexism|ableism)

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published