import-js/eslint-plugin-import
View on GitHub[import/order] Regression in behavior with parent and sibling
Open
#2,685 opened on Jan 19, 2023
bughelp wantedimport/export ordering
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
Since Version 2.27.0 we've recognized a change in over 500 files with the ordering rule:
"import/order": [
"error",
{
"groups": ["builtin", "external", "parent", "sibling", "index"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
For example:
@my-local-package/mysub-path
@my-local-package/mysub/path
They are now handled different than before and leads to hundres of linting errors where no before.