Should rule names be plural or singular by default? #6100
JoshuaKGoldberg
started this conversation in
Technical Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This has been bugging me for a while 😄. Can we standardize how rules are named - at least in the future, and maybe even in a breaking change for existing rules?
Sometimes rules make sense only with a particular plurality, such as:
Other rule names could be either singular or plural:
no-unsafe-*
rules: could rename to 👪no-unsafe-arguments
, etc.no-var-require
As an upcoming example, for #308 I'm between
no-unsafe-enum-assignment
andno-unsafe-enum-assignments
. The 👪 plural version makes more sense to me, but theno-unsafe-*
rules present today are all 🥇 singular.Beta Was this translation helpful? Give feedback.
All reactions