import-js/eslint-plugin-import
Vedi su GitHub[import/order] Inline comments are not moved by the auto-fixer along with the rest of the line
Open
#1723 aperta il 7 apr 2020
bughelp wantedimport/export ordering
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
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 };