eslint-plugin-uncalled-iife Valid : (function() { console.log('hello!'); }()); Invalid : (function() { console.log('hello!'); });