README
@putout/plugin-remove-iife
putout
plugin adds ability to find and remove iife.
Install
npm i @putout/plugin-remove-iife
Rule
{
"rules": {
"remove-iife": "on"
}
}
❌ Incorrect code example
(function() {
console.log('hello');
})();
✅ Correct code Example
console.log('hello');
License
MIT