Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency eslint-plugin-perfectionist to v4 #546

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-perfectionist (source) ^2.1.0 -> ^4.0.0 age adoption passing confidence

Release Notes

azat-io/eslint-plugin-perfectionist (eslint-plugin-perfectionist)

v4.4.0

Compare Source

compare changes

🚀 Features
  • sort-array-includes: Add use configuration if and groups (a06ce5c)
  • Add ignore rule for objects passed as arguments to function calls (41c9f4f)
  • Add use configuration if option to sort-object-types and sort-interfaces (aa18f1a)
🏎 Performance Improvements
  • Improve rules performance (42ac82d)
🐞 Bug Fixes
  • sort-interfaces: Prevent constructor declarations from being sorted (b4ee1cc)
❤️ Contributors

v4.3.0

Compare Source

compare changes

🚀 Features
  • Improve function detection (ac1e7c4)
  • sort-objects: Handle context-based configurations (a3ee3ff)
  • Add custom sort type through custom alphabet (ac7d709)
❤️ Contributors

v4.2.0

Compare Source

compare changes

🚀 Features
  • Improve groups and custom groups in sort-interfaces and sort-object-types (8407bae)
🐞 Bug Fixes
  • sort-decorators: Keep jsdoc blocks in place (54dfdd9)
  • Fix ignoring order in natural sorting (82cb68a)
❤️ Contributors

v4.1.2

Compare Source

compare changes

🐞 Bug Fixes
❤️ Contributors

v4.1.1

Compare Source

compare changes

🐞 Bug Fixes
  • sort-modules: Check if node is sortable (26e2195)
❤️ Contributors

v4.1.0

Compare Source

compare changes

🚀 Features
  • sort-enums: Handle numeric operations (710cc24)
  • sort-objects: Add object declarations and destructured objects options (5606fad)
❤️ Contributors

v4.0.3

Compare Source

compare changes

🐞 Bug Fixes
  • sort-modules: Handle deprecated eslint enum attributes (979ece8)
  • Fix runtime errors in non-typescript eslint projects (84cddf7)
❤️ Contributors

v4.0.2

Compare Source

compare changes

🐞 Bug Fixes
  • sort-imports: Sort default internal pattern (a4bfc2b)
❤️ Contributors

v4.0.1

Compare Source

compare changes

🐞 Bug Fixes
  • Fix peer dependencies issues (3eba895)
  • Fix peer dependencies issues (191902a)
  • sort-modules: Disable sorting for export decorated classes (84de1d4)
❤️ Contributors

v4.0.0

Compare Source

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

v3.9.1

Compare Source

compare changes

🐞 Bug Fixes
  • sort-switch-case: Fixe expressions being ignored (3fb34fc)
❤️ Contributors

v3.9.0

Compare Source

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

v3.8.0

Compare Source

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

v3.7.0

Compare Source

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

v3.6.0

Compare Source

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

v3.5.0

Compare Source

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

v3.4.0

Compare Source

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

v3.3.0

Compare Source

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

v3.2.0

Compare Source

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

v3.1.3

Compare Source

compare changes

🐞 Bug Fixes
  • Fix export of typescript types (1c4e960)
❤️ Contributors

v3.1.2

Compare Source

compare changes

🏎 Performance Improvements
  • Remove node cloning to improve performance (00b2cc3)
🐞 Bug Fixes
  • Fix sorting switch cases with default in middle of group (4ee655e)
  • Fix getting enum members in eslint v8 (3f3d77c)
❤️ Contributors

v3.1.1

Compare Source

compare changes

🐞 Bug Fixes
  • Fix getting enum members in eslint v8 (4789764)
❤️ Contributors

v3.1.0

Compare Source

compare changes

🚀 Features
  • Support for ordering protected properties and methods in classes (7efadfa)
  • Replace sort-objects custom ignore option with destructure only (f3906f9)
  • Move to typescript-eslint v8 (05b6502)
🐞 Bug Fixes
  • Fix switch case sorting with grouped default case (7428523)
  • Switch from to-sorted to sort method (bff6575)
  • Disable sorting dynamic require imports (68632df)
  • Define as builtin modules that require a node prefix (aac4725)
  • Fix sorting of complex switch case expressions (d07f5f7)
❤️ Contributors

v3.0.0

Compare Source

compare changes

🚀 Features
  • ⚠️ Drop nodejs v16 support (79f74f5)
  • Move to typescript-eslint v7 (933cebd)
  • Add new docs website (76b29e8)
  • ⚠️ Rename options from kebab case to camel case (6592f6f)
  • ⚠️ Make case ignoring enabled by default (63efbf7)
  • Update svelte eslint parser (611f088)
  • Add ability to ignore jsx elements (da515ce)
  • Use ignore pattern when sorting object for call expressions (471de40)
  • ⚠️ Make new config export (2a7eec2)
  • Add sort-switch-case rule (5311118)
  • Add typescript types (2b63ab5)
  • Add custom ignore to enable customisable ignore sort-objects rule (4fa2b3e)
  • Respect numeric separators in natural sorting (7b57ba2)
  • Add groups option in sort-intersection-types rule (208a9db)
  • ⚠️ Remove nullable last option in sort-union-types (c4977df)
  • Add groups option in sort-union-types rule (c69f277)
  • Add partition by comment option in sort-classes (da01c85)
  • ⚠️ Make recommended options default (d0d9115)
  • ⚠️ Replace spread last sort-array-includes option with group kind (721e1ee)
  • Add group kind option in sort-object-types (96cfcd8)
  • ⚠️ Rename optionality order option to group kind in sort-interfaces rule (79a4823)
  • Add sort-variable-declarations rule (12bd265)
  • Support require in sort-imports (bc16243)
🐞 Bug Fixes
  • Move typescript-eslint types to dependencies (44edb63)
  • Add ability to select enviorenment and separate bun modules (c8b2fa4)
  • Fix disabling styled components when using css func (d4e8011)
  • Support old getting context eslint api (09900aa)
  • Fix export and import kind default value (a0208ac)
  • Don't sort class members if right value depends on left (8c35a7d)
⚠️ Breaking Changes
  • ⚠️ Drop nodejs v16 support (79f74f5)
  • ⚠️ Rename options from kebab case to camel case (6592f6f)
  • ⚠️ Make case ignoring enabled by default (63efbf7)
  • ⚠️ Make new config export (2a7eec2)
  • ⚠️ Remove nullable last option in sort-union-types (c4977df)
  • ⚠️ Make recommended options default (d0d9115)
  • ⚠️ Replace spread last sort-array-includes option with group kind (721e1ee)
  • ⚠️ Rename optionality order option to group kind in sort-interfaces rule (79a4823)
❤️ Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) November 22, 2024 19:51
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch 3 times, most recently from eaf784b to 83e7ed9 Compare November 24, 2024 09:25
Copy link

codecov bot commented Nov 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (70559c6) to head (4da33bc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #546   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           99        99           
  Branches         5         5           
=========================================
  Hits            99        99           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch 13 times, most recently from 63cc29a to 9ccc0f7 Compare December 1, 2024 01:03
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch 10 times, most recently from 59662b7 to 0318be7 Compare December 7, 2024 23:06
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch from 0318be7 to 23db060 Compare December 9, 2024 18:31
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch 9 times, most recently from 11883b6 to 708ccce Compare December 17, 2024 03:24
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch 9 times, most recently from 7ba994f to 157768c Compare December 23, 2024 16:30
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch from 157768c to 4da33bc Compare December 26, 2024 16:28
@renovate renovate bot force-pushed the renovate/eslint-plugin-perfectionist-4.x branch from 4da33bc to 6e4ad73 Compare December 26, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants