@putout/plugin-remove-empty-pattern
v4.2.2
Published
putout plugin adds ability to find and remove empty patterns
Downloads
28,965
Maintainers
Readme
@putout/plugin-remove-empty-pattern
🐊Putout
plugin adds ability to find and remove empty pattern statements
. Part of @putout/plugin-remove-empty
.
Install
npm i @putout/plugin-remove-empty-pattern -D
Rule
{
"rules": {
"remove-empty-pattern": "on"
}
}
-const [] = array;
-const {} = object;
License
MIT