textlint rule for alex
npm install textlint-rule-alex> Whether your own or someone else’s writing, alex helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing.
> -- wooorm/alex: Catch insensitive, inconsiderate writing
npm install textlint-rule-alex
Via .textlintrc(Recommended)
``json`
{
"rules": {
"alex": {
"allow": []
}
}
}
Via CLI
`sh`
$ textlint --rule alex README.md
See Alex's configuration documentation.
`json`
{
"rules": {
"alex": {
"allow": ["boogeyman-boogeywoman"]
}
}
}
`json`
{
"rules": {
"alex": {
"deny": ["boogeyman-boogeywoman"]
}
}
}
`json`
{
"rules": {
"alex": {
"noBinary": true
}
}
}
`json`
{
"rules": {
"alex": {
"profanitySureness": 2
}
}
}
corepack enable npm
npm test
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT