Related: https://github.com/benmosher/eslint-plugin-import/issues/1450
import { Foo } from 'foo';
export { Bar }; // Comment on the export line
import/order:
- error
- pathGroupsExcludedImportTypes:
- builtin
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
import { Foo } from 'foo';
export { Bar }; // Comment on the export line
import { Foo } from 'foo'; // Comment on the export line
export { Bar };
Comments on lines before and after are tricky (comment attachment is a hard problem) but absolutely same-line comments should follow the line they're on.
Most helpful comment
Comments on lines before and after are tricky (comment attachment is a hard problem) but absolutely same-line comments should follow the line they're on.