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
import-sorting/known-framework should be changed to import-sorting/framework-patterns
import-sorting/known-first-party should be changed to import-sorting/internal-patterns
Minor Changes
Group unassigned imports at the top (#18)
Unassigned imports are grouped together, but not sorted in case of potential side-effects.
Include Bun runtime modules in builtin group (#18)
Since some builtin modules require a bun: or node: protocol prefix while others do not, sorting ignores the protocol prefix. (Including it consistently is recommended)
Include additional extensions in style group (#18)
The style group now matches imports of Less, Sass, Stylus, and more.
Allow array values for plugin settings (#14)
Settings options now accept an array of pattern strings, instead of only a single, more convoluted, RegExp string.
Closes #8
Sort numerals in path strings naturally (#11)
Now ensures that 10 will sort after 2, for example.
Patch Changes
Fix local import sort order when dot segment count is the same (#11)
Sorting will now take the entire path into account, instead of just the basename of the path.
Add engines key to indicate minimum Node version (#12)