Inspectopedia Help

Redundant local variable

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

UnnecessaryLocalVariableJS
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | JavaScript and TypeScript | Data flow

Inspection options

Here you can find the description of settings available for the Redundant local variable inspection, and the reference of their default values.

Ignore immediately returned or thrown variables

Not selected

Last modified: 27 August 2024