Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-import-sorting

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-import-sorting - npm Package Versions

2.0.0

Diff

Changelog

Source

2.0.0

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.
stormwarning
published 1.2.2 •

Changelog

Source

1.2.2

Patch Changes

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

Changelog

Source

1.2.1

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
stormwarning
published 1.2.0 •

Changelog

Source

1.2.0

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
stormwarning
published 1.1.0 •

Changelog

Source

1.1.0

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)
stormwarning
published 1.0.3 •

Changelog

Source

1.0.3

Patch Changes

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

Changelog

Source

1.0.2

Patch Changes

  • Update export and build strategy (#6)

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

stormwarning
published 1.0.1 •

Changelog

Source

1.0.1

Patch Changes

stormwarning
published 1.0.0 •

Changelog

Source

1.0.0

Major Changes

stormwarning
published 0.0.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc