@putout/plugin-remove-only
v5.0.2
Published
putout plugin adds ability to find and remove test.only calls
Downloads
25,997
Maintainers
Readme
@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