This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
As WebStorm can show you the hint, if you use require, you can choose to refactor the code to es6 imports. Please add such feature too. It will be a JS hint with a fix of the code I think. I don't know whether it is needed to know the context (properties of the project -> ES6 support or not). Regards Chris