Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete retext-equality entries #1

Open
jdkato opened this issue Aug 23, 2021 · 0 comments
Open

Complete retext-equality entries #1

jdkato opened this issue Aug 23, 2021 · 0 comments

Comments

@jdkato
Copy link
Member

jdkato commented Aug 23, 2021

We still need most of the or cases:

https://github.com/retextjs/retext-equality/blob/7cd9ac532eb980f23ae8c59bbb1c662ee2701dea/data/en/gender.yml#L1301

An example implementation is:

---
extends: sequence
message: "'%[1]s' may be insensitive, when referring to a person, use 'kid', 'child', or 'youth' instead."
ignorecase: true
level: warning
tokens:
  - pattern: boy|girl
    skip: 1

  - pattern: boy|girl
    negate: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant