Skip to content

Releases: azat-io/eslint-plugin-perfectionist

v4.0.3

19 Nov 22:05
376c54d
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fix runtime errors in non-typescript eslint projects  -  by @hugop95 (84cdd)
  • sort-modules: Handle deprecated eslint enum attributes  -  by @hugop95 (979ec)
    View changes on GitHub

v4.0.2

19 Nov 15:42
db22e8b
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v4.0.1

19 Nov 14:24
250a20e
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0

19 Nov 12:37
7c39b04
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • Remove sort-astro-attributes, sort-svelte-attributes and sort-vue-attributes  -  by @azat-io (04304)
  • Remove minimatch in favor of regexp  -  by @azat-io (e2409)
  • Move from natural-compare-lite to natural-orderby  -  by @azat-io (cdc0f)
  • sort-classes:
  • sort-imports:
    • Add partition by new line and partition by comment options  -  by @hugop95 (6812e)

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v3.9.1

17 Oct 09:23
b2afcfd
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • sort-switch-case: Fixe expressions being ignored  -  by @hugop95 (3fb34)
    View changes on GitHub

v3.9.0

15 Oct 15:54
cf89fe9
Compare
Choose a tag to compare

   🚀 Features

  • Adds possibility to trim / remove special characters before sorting  -  by @hugop95 (96f8b)
  • Add element value pattern filter for properties in sort-classes  -  by @hugop95 (4e7e5)
  • Throw error when a group does not exist or duplicated in sort-classes  -  by @hugop95 (d447f)
  • Add method group in sort-interfaces  -  by @azat-io (b7973)
  • Add method group in sort-object-types  -  by @azat-io (4609a)
  • Add special characters and matcher to settings  -  by @hugop95 (a7d3f)
  • Improve side-effect handling behavior in sort-imports  -  by @hugop95 (398ac)
  • Deprecate sort-astro-attributes, sort-svelte-attributes and sort-vue-attributes  -  by @azat-io (46790)

   🐞 Bug Fixes

  • Fix runtime error related o dependencies in sort-classes  -  by @hugop95 (7dfcb)
  • Fix unrecognized break statements in sort-switch-case  -  by @hugop95 (552c6)
    View changes on GitHub

v3.8.0

30 Sep 23:13
d1130ae
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v3.7.0

23 Sep 18:36
4f2d32b
Compare
Choose a tag to compare

   🚀 Features

  • Add partition by new line and group kind in sort-exports  -  by @hugop95 (4db2c)
  • Add dependency order errors  -  by @hugop95 (125e1)
  • Add partition by comment option in sort-exports  -  by @hugop95 (f6b78)
  • Add partition by comment and partition by new line in sort-intersection-types  -  by @hugop95 (9fe8a)
  • Add partition by comment and partition by new line in sort-union-types  -  by @hugop95 (4a093)
  • Add partition by comment and partition by new line in sort-named-imports  -  by @hugop95 (41e18)
  • Add partition by comment and partition by new line in sort-named-exports  -  by @hugop95 (92824)
  • Add partition by comment and partition by new line in sort-maps  -  by @hugop95 (7bf67)
  • Add partition by comment and partition by new line in sort-variable-declarations  -  by @hugop95 (aa293)
  • Add partition by comment and partition by new line in sort-interfaces  -  by @chirokas (fae75)
  • Add partition by comment and partition by new line in sort-array-includes and sort-sets  -  by @hugop95 (e4fc5)
  • Add partition by comment option in sort-objects-types  -  by @hugop95 (69b64)
  • Add partition by new line option in sort-enums  -  by @hugop95 (defd3)

   🐞 Bug Fixes

  • Prioritize dependencies over partitions by comment and partitions by line  -  by @hugop95 (199ab)
    View changes on GitHub

v3.6.0

13 Sep 16:15
6f8cbd6
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • Detect dependencies in template literals in sort-enums  -  by @hugop95 (c9367)
    View changes on GitHub

v3.5.0

07 Sep 14:17
c48a83a
Compare
Choose a tag to compare

   🚀 Features

  • Add ability to disable or enable side effect imports sorting  -  by @azat-io (ae020)

   🐞 Bug Fixes

  • Detect dependencies in template literals  -  by @hugop95 (4e0e6)
  • Improve dependency detection in sort-variable-declarations rule  -  by @hugop95 (6beb5)
    View changes on GitHub