Suppress inspections

You can suppress an inspection in a whole JavaScript or TypeScript class or file.

Place the caret at the highlighted line, press &shortcut:ShowIntentionActions;, click the arrow next to the inspection you want to suppress, and select the necessary suppress action.

Suppress an inspection in a JavaScript class or file