@WebStormIDE i think the IDE skips flagging named imports as unused when inside `const {a,b} = require(…);`
The language version and the code completion for Node.js are different settings. We've double-checked WebStorm 2019.1.1 and the IDE sets the language level to ES6 for all new projects as it used to.
-
-
Got what you mean: in WS 2018.3 the unused inspection was highlighting the second symbol even when code completion for Node.js APIs was disabled, but not in 2019.1. We will report an issue.
- 14 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.