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
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-perfectionist - npm Package Versions

23
6

3.9.1

Diff

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

azat-io
published 3.2.0 •

Changelog

Source

v3.2.0

compare changes

🚀 Features

  • Use dynamic group generation in sort-classes (baa701d)
  • Support for sorting by enum value (285a451)
  • Improve group order error messages in sort-classes (b02d626)
  • Allow specifying cross-rule settings (8e15730)
  • Add property-function groups in sort-class rule (41b92d3)

❤️ Contributors

azat-io
published 3.1.3 •

Changelog

Source

v3.1.3

compare changes

🐞 Bug Fixes

  • Fix export of typescript types (1c4e960)

❤️ Contributors

23
6
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