5.0.2 ā¢ Published 2 years ago
@putout/plugin-remove-only v5.0.2
@putout/plugin-remove-only
šPutout
plugin adds ability to find and remove test.only
calls. Part of @putout/plugin-tape.
Install
npm i @putout/plugin-remove-only
Rule
Rule remove-only
is enabled by default, to disable add to .putout.json
:
{
"rules": {
"remove-only": "off"
}
}
ā Incorrect code example
test.only('some test', (t) => {
t.end();
});
ā Correct code Example
test('some test', (t) => {
t.end();
});
License
MIT