import-js/eslint-plugin-import
在 GitHub 查看[import/order] Inline comments are not moved by the auto-fixer along with the rest of the line
Open
#1,723 创建于 2020年4月7日
bughelp wantedimport/export ordering
描述
Related: https://github.com/benmosher/eslint-plugin-import/issues/1450
Repro
import { Foo } from 'foo';
export { Bar }; // Comment on the export line
import/order:
- error
- pathGroupsExcludedImportTypes:
- builtin
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
Expected
import { Foo } from 'foo';
export { Bar }; // Comment on the export line
Actual
import { Foo } from 'foo'; // Comment on the export line
export { Bar };