Code Inspection: Import can be shortened
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports an ES6 import whose from
part can be shortened. Suggests importing the parent directory.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.