Replies: 1 comment 1 reply
-
|
Thank you, @emab, for your proposal. I would strongly suggest you add the message at #3, where we would like to collect feedback and ideas of rules from other sources. Also, we usually don't assign a group to a rule when it's created. All rules have the group |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This rule would look for usages where
.onlyis used when defining a test. When.onlyis used, it's mostly for debugging purposes and isn't meant to be checked in. If you want to skip tests, they should be explicitly marked with.skip.Example of invalid code:
Example of valid code:
An Eslint plugin exists for this rule: https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-exclusive-tests.md
Beta Was this translation helpful? Give feedback.
All reactions