PhpStorm editor, when writing build.js, there is an underscore like this.

which experienced friend to help, I use the phpStorm editor, in writing build.js appears such an underscore, how to deal with.

Mar.01,2021

reason

code that can never be executed is displayed like this

example

const test = () => {
const a = 1;
return 2;
console.log(11);  //,
}
The ide of

jetbrains will have a code detection hint. According to the current prompt, you can turn it off in the settings if you don't want to.
File--Setting--Editor--Inspections, searches for the appropriate prompt, and then uncheck it.

Menu