There is only one breaking change in the v4.0.0 release. We've fixed the bug that caused ESLint to incorrectly mark the error position for multiline imports.
Previous behavior:
import {
// ----^ (start of the error)
ComponentA
} from './components/component-a';
// -----------------------------^ (end of the error)
Fixed behavior:
import {
ComponentA
} from './components/component-a';
// ----^ (start) ---------------^ (end)
You need to adjust your eslint-disable-next-line
directives to match the new position.
For example, this directive:
// eslint-disable-next-line
import {
ComponentA
} from './components/component-a';
Should be moved here:
import {
ComponentA
// eslint-disable-next-line
} from './components/component-a';