This CoffeeLint plugin verifies there are no context.only
, describe.only
, or it.only
in use. If you are using mocha, using context.only
, describe.only
or it.only
is helpful when developing tests locally, but to avoid committing the only
usage and preventing the full test suite from being run in the future, you can use this coffeelint rule.
[sudo] npm install [-g] coffeelint-no-mocha-only
Insert the below configuration into coffeelint.json that you use for linting your scripts:
"no_mocha_only": {
"module": "coffeelint-no-mocha-only",
"level": "error"
}
There are no configuration options for this plugin