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

eslint-plugin-perfectionist

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-perfectionist - npm Package Versions

13
7

4.0.1

Diff

Changelog

Source

v4.0.1

compare changes

🐞 Bug Fixes

  • Fix peer dependencies issues (3eba895)
  • Fix peer dependencies issues (191902a)
  • sort-modules: Disable sorting for export decorated classes (84de1d4)

❤️ Contributors

azat-io
published 4.0.0 •

Changelog

Source

v4.0.0

compare changes

🚀 Features

  • ⚠️ Remove sort-astro-attributes, sort-svelte-attributes and sort-vue-attributes (0430412)
  • sort-classes: ⚠️ Update default grouping (97adf51)
  • Add sort-decorators rule (8fd2c4e)
  • Support arbitrary module identifiers (5557198)
  • sort-objects: Add multiline and method groups (1f454d9)
  • Adds newlines between option (7f44e80)
  • Add sort-heritage-clauses rule (90dfb15)
  • sort-classes: ⚠️ Remove support for old custom groups api (93e0b53)
  • sort-switch-case: Improve sorting nodes with comments (140c2c8)
  • ⚠️ Remove minimatch in favor of regexp (e240971)
  • Add locales option for all rules (f84cb5f)
  • sort-classes: Add partition by new line and newlines between options (4369803)
  • sort-imports: Resolve aliased imports through tsconfig.json (9ac3188)
  • sort-imports: ⚠️ Add partition by new line and partition by comment options (6812e2b)
  • sort-classes: Adds ignore callback dependencies patterns option (90a9132)
  • Add eslint disable directives handling (a485c39)
  • Add sort-modules rule (950db4e)
  • sort-classes: Add async modifier (be0b68f)
  • ⚠️ Move from natural-compare-lite to natural-orderby (cdc0f2e)

🐞 Bug Fixes

  • Respect comment boundaries with partitioning by comments (e5279ac)
  • Improve ending commas and semicolon behavior (a3804b8)
  • Make types compatible with eslint types (c9a48dd)
  • sort-switch-case: Fix ignoring breaks in case statements (960e21c)
  • sort-classes: Fix # properties not being detected as dependencies (0cf84ae)
  • Support optional chaining imports (932c5c9)
  • sort-classes: Fix inline issue with declare class (59ee21c)
  • sort-object-types: Fix getting key name (eb81e69)
⚠️ Breaking Changes
  • ⚠️ Remove sort-astro-attributes, sort-svelte-attributes and sort-vue-attributes (0430412)
  • sort-classes: ⚠️ Update default grouping (97adf51)
  • sort-classes: ⚠️ Remove support for old custom groups api (93e0b53)
  • ⚠️ Remove minimatch in favor of regexp (e240971)
  • sort-imports: ⚠️ Add partition by new line and partition by comment options (6812e2b)
  • ⚠️ Move from natural-compare-lite to natural-orderby (cdc0f2e)

❤️ Contributors

azat-io
published 3.9.1 •

Changelog

Source

v3.9.1

compare changes

🐞 Bug Fixes

  • sort-switch-case: Fixe expressions being ignored (3fb34fc)

❤️ Contributors

azat-io
published 3.9.0 •

Changelog

Source

v3.9.0

compare changes

🚀 Features

  • Adds possibility to trim / remove special characters before sorting (96f8b10)
  • Add element value pattern filter for properties in sort-classes (4e7e5ad)
  • Throw error when a group does not exist or duplicated in sort-classes (d447ffb)
  • Add method group in sort-interfaces (b797371)
  • Add method group in sort-object-types (4609ad2)
  • Add special characters and matcher to settings (a7d3f8c)
  • Improve side-effect handling behavior in sort-imports (398ac13)
  • Deprecate sort-astro-attributes, sort-svelte-attributes and sort-vue-attributes (46790ea)

🐞 Bug Fixes

  • Fix runtime error related o dependencies in sort-classes (7dfcb8e)
  • Fix unrecognized break statements in sort-switch-case (552c65c)

❤️ Contributors

azat-io
published 3.8.0 •

Changelog

Source

v3.8.0

compare changes

🚀 Features

  • Add matcher option (9434334)
  • Add ability to disable sorting objects in jsx styles (45f7661)

🐞 Bug Fixes

  • Ignore whitespaces in node names (7a0a96c)
  • Fix linting of nodes that are neighboring to ignored nodes (a11841a)

❤️ Contributors

azat-io
published 3.7.0 •

Changelog

Source

v3.7.0

compare changes

🚀 Features

  • Add partition by new line and group kind in sort-exports (4db2c5e)
  • Add dependency order errors (125e1cb)
  • Add partition by comment option in sort-exports (f6b7803)
  • Add partition by comment and partition by new line in sort-intersection-types (9fe8abd)
  • Add partition by comment and partition by new line in sort-union-types (4a0931b)
  • Add partition by comment and partition by new line in sort-named-imports (41e18b9)
  • Add partition by comment and partition by new line in sort-named-exports (928246e)
  • Add partition by comment and partition by new line in sort-maps (7bf6756)
  • Add partition by comment and partition by new line in sort-variable-declarations (aa29335)
  • Add partition by comment and partition by new line in sort-interfaces (fae756a)
  • Add partition by comment and partition by new line in sort-array-includes and sort-sets (e4fc538)
  • Add partition by comment option in sort-objects-types (69b643e)
  • Add partition by new line option in sort-enums (defd370)

🐞 Bug Fixes

  • Prioritize dependencies over partitions by comment and partitions by line (199ab39)

❤️ Contributors

azat-io
published 3.6.0 •

Changelog

Source

v3.6.0

compare changes

🚀 Features

  • Improve error messages when sorting different groups (e0f375a)
  • Improve dependency detection in sort-objects rule (412d5da)
  • Keep comments above elements being sorted (bd8ba3f)

🐞 Bug Fixes

  • Detect dependencies in template literals in sort-enums (c9367eb)

❤️ Contributors

azat-io
published 3.5.0 •

Changelog

Source

v3.5.0

compare changes

🚀 Features

  • Add ability to disable or enable side effect imports sorting (ae02009)

🐞 Bug Fixes

  • Detect dependencies in template literals (4e0e6d8)
  • Improve dependency detection in sort-variable-declarations rule (6beb536)

❤️ Contributors

azat-io
published 3.4.0 •

Changelog

Source

v3.4.0

compare changes

🚀 Features

  • Improve ability to expand custom groups (5088619)
  • Downgrade minimatch dependency (4803030)
  • Generate exception if group does not exist (0872bdd)
  • Add sort-sets rule (7d4cf14)

🐞 Bug Fixes

  • Place static-block after static-property in default-options in sort-classes (73b1b54)
  • Fix sorting of members with dependencies (e7c113d)

❤️ Contributors

azat-io
published 3.3.0 •

Changelog

Source

v3.3.0

compare changes

🚀 Features

  • Improve checking if a member is private in sort-classes rule (4e19b94)
  • Add static-block and accessor-property to default groups in sort-classes (0c724e0)
  • Don't sort unknown elements if unknown is not referenced in groups (0086427)
  • Add optional modifier in sort-classes rule (27fa7e8)

🐞 Bug Fixes

  • Fix sorting class members with same names (f1f875e)
  • Fix use of case named default in sort-switch-case rule (5583eb0)
  • Take into account dependencies in sort-enums (eeb0534)

❤️ Contributors

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