ITADN

Plugin/rule for detecting speciesist language in commit messages

#4628Closedstuckvgn 创建于 2026-02-25
S
stuckvgncommented
## Summary Proposing a new rule or plugin for commitlint that detects speciesist language in commit messages and suggests clearer alternatives. This extends commitlint's inclusive language capabilities to cover a category of bias that linguistics and AI researchers have documented but that no commit message linter currently addresses. ## Examples | Speciesist phrase | Suggested alternative | |---|---| | "kill two birds with one stone" | "accomplish two things at once" | | "beat a dead horse" | "belabor the point" | | "more than one way to skin a cat" | "more than one way to solve this" | | "guinea pig this feature" | "test this feature" | | "let's not open that can of worms" | "let's not complicate this" | | "the canary build passed" | "the progressive rollout passed" | ## Rationale - Speciesist language in code and communication normalizes violence toward animals, analogous to how other non-inclusive terminology normalizes bias - Commit messages are a key communication channel between developers and increasingly parsed by AI tools — biased language propagates - Academic research documents this bias: Hagendorff et al. 2023, "Speciesist bias in AI" (*AI and Ethics*, [DOI: 10.1007/s43681-023-00380-w](https://doi.org/10.1007/s43681-023-00380-w)) - These alternatives are also more precise and accessible to non-native English speakers ## Prior art - [Open-Paws/eslint-plugin-speciesism](https://github.com/Open-Paws/eslint-plugin-speciesism) — ESLint plugin (same concept for source code) - [Open-Paws/speciesist-language-scanner](https://github.com/Open-Paws/speciesist-language-scanner) — Rule files for woke, alex, and Vale - The master/slave → primary/replica movement in open source provides a model for this kind of terminology update ## Willingness to contribute [Open Paws](https://openpaws.ai) is willing to implement this as a commitlint plugin. We maintain speciesist language detection rules across multiple linter ecosystems already.
关闭于 2026-02-25 4 条评论