π Require non-empty specifier list in import and export statements.
πΌ This rule is enabled in the following configs: β
recommended, βοΈ unopinionated.
π§π‘ This rule is automatically fixable by the --fix CLI option and manually fixable by editor suggestions.
Enforce non-empty specifier list in import and export statements. Use a side-effect import if needed, or remove the statement.
// β
import {} from 'foo';
// β
import 'foo';// β
import foo, {} from 'foo';
// β
import foo from 'foo';// β
export {} from 'foo';
// β
import 'foo';// β
export {}