You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order rule enforces a specific import order but refuses to auto-sort in case of potential side effects. However, there are many cases when imports have no side effects, making reordering safe.
It would be useful to have a forceFix option to allow automatic sorting when side effects are not a concern.
For precedent, TypeScript ESLint's no-explicit-any rule has a similar option: fixToUnknown
The text was updated successfully, but these errors were encountered:
The
order
rule enforces a specific import order but refuses to auto-sort in case of potential side effects. However, there are many cases when imports have no side effects, making reordering safe.It would be useful to have a
forceFix
option to allow automatic sorting when side effects are not a concern.For precedent, TypeScript ESLint's
no-explicit-any
rule has a similar option:fixToUnknown
The text was updated successfully, but these errors were encountered: