Black Lives Matter ruleset

Seems this should be generalized (see Check identifier spelling against blacklist?) to allow any user-customizable regex-based list. That way:

  1. You can check for your own terms, e.g., a misspelling that gets frequently used in an organization;
  2. You don’t have to wait for the next SQ release whenever a new word is deemed offensive.

If each regex could have an exception list then that would handle your “headmaster” case. (And that example illustrates the advantage of having a custom list, because I’m sure some people do object to the word “headmaster,” so a canned list won’t please everyone.)

1 Like