feat(eslint): add custom sort (id on top)#278
Conversation
Applies a custom sorting configuration for interfaces and objects.
This configuration prioritizes certain properties ('id' in this case) and
groups methods and members, improving code readability and maintainability
by enforcing a consistent structure.
|
🦋 Changeset detectedLatest commit: 0737717 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughA new changeset file was added to document a minor version update for the Changes
Sequence Diagram(s)sequenceDiagram
participant ESLint
participant perfectionistConfig
participant customSort
ESLint->>perfectionistConfig: Load configuration
perfectionistConfig->>customSort: Apply custom sort rules
customSort-->>perfectionistConfig: Return sorted configuration (id on top)
perfectionistConfig-->>ESLint: Provide updated rules for interfaces, object types, objects
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
Scope: all 2 workspace projects This error happened while installing a direct dependency of /tmp/eslint/packages/eslint-config Packages found in the workspace: 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🔇 Additional comments (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @mheob/eslint-config@8.11.0 ### Minor Changes - [#278](#278) ([@mheob](https://github.com/mheob)): add custom sort (id on top) ### Patch Changes - [#280](#280) ([@mheob](https://github.com/mheob)): update all non-major dependencies ## @mheob/commitlint-config@1.2.3 ### Patch Changes - [#280](#280) ([@mheob](https://github.com/mheob)): update all non-major dependencies



Summary by CodeRabbit
New Features
Refactor
Chores