Skip to content

Releases: stormwarning/eslint-plugin-import-sorting

v2.2.0

21 Jan 04:30
42fe303
Compare
Choose a tag to compare

Minor Changes

  • Explicitly set case sensitivity & sort uppercase before lowercase (#31)

Patch Changes

  • Fix semicolons being added to end of import specifiers after sorting (#29)

v2.1.1

19 Dec 04:52
97f276f
Compare
Choose a tag to compare

Patch Changes

  • Fix bug with grouping when settings are not explicitly defined (#27)

v2.1.0

13 Dec 17:49
0c1d3f2
Compare
Choose a tag to compare

Minor Changes

  • Add new specifier-order rule for sorting named imports (#25)

v2.0.0

30 Aug 19:52
d3542f2
Compare
Choose a tag to compare

Major Changes

  • Remove deprecated settings (#18)

    • 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.

v1.2.2

30 Aug 03:14
e8958ed
Compare
Choose a tag to compare

Patch Changes

  • Export ESM and types (#21)
    Plugin is exported as ESM and CJS, and includes type declarations as well.

v1.2.1

29 Aug 21:14
da0089b
Compare
Choose a tag to compare

Patch Changes

  • Deprecate plugin settings (#19)
    The next major version of the plugin will use

    • import-sorting/framework-patterns instead of known-framework
    • import-sorting/internal-patterns instead of known-first-party

v1.2.0

29 Apr 20:25
ba20caf
Compare
Choose a tag to compare

Minor Changes

  • 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

v1.1.0

30 Jan 03:41
425dad8
Compare
Choose a tag to compare

Minor Changes

  • 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)

v1.0.3

23 Jan 21:46
40d9e8a
Compare
Choose a tag to compare

Patch Changes

  • Fix error when plugin settings are undefined (#9)

v1.0.2

19 Jan 19:47
662ddbe
Compare
Choose a tag to compare

Patch Changes

  • Update export and build strategy (#6)

    Should fix issues with plugin being unable to load, or rule definitions not being found.