import-js/eslint-plugin-import
[import/order] Inline comments are not moved by the auto-fixer along with the rest of the line
Offen
#1.723 geöffnet am 07.04.2020
bughelp wantedimport/export ordering
Repository-Metriken
- Stars
- (5.940 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 138T 22h) (3 gemergte PRs in 30 T)
Beschreibung
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 };