Enforces having an empty line after the last top-level import statement or require call.
Valid:
import defaultExport from './foo'
const FOO = 'BAR'
import defaultExport from './foo'
import { bar } from 'bar-lib'
const FOO = 'BAR'
const FOO = require('./foo')
const BAR = require('./bar')
const BAZ = 1
...whereas here imports will be reported:
import * as foo from 'foo'
const FOO = 'BAR'
import * as foo from 'foo'
const FOO = 'BAR'
import { bar } from 'bar-lib'
const FOO = require('./foo')
const BAZ = 1
const BAR = require('./bar')
If you like to visually group module imports with its usage, you don't want to use this rule.