5.0.0 • Published 3 months ago

textlint-rule-alex v5.0.0

Weekly downloads
545
License
MIT
Repository
github
Last release
3 months ago

textlint-rule-alex Actions Status: test

textlint rule for 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

Installation

npm install textlint-rule-alex

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "alex": {
            "allow": []
        }
    }
}

Via CLI

$ textlint --rule alex README.md

Options

See Alex's configuration documentation.

allow

{
    "rules": {
        "alex": {
             "allow": ["boogeyman-boogeywoman"]
        }
    }
}

deny

{
    "rules": {
        "alex": {
             "deny": ["boogeyman-boogeywoman"]
        }
    }
}

noBinary

{
    "rules": {
        "alex": {
             "noBinary": true
        }
    }
}

profanitySureness

{
    "rules": {
        "alex": {
             "profanitySureness": 2
        }
    }
}

Tests

corepack enable npm
npm test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

5.0.0

3 months ago

4.0.0

6 months ago

3.0.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

7 years ago

1.1.0

8 years ago

1.0.1

8 years ago