feat(eslint): sorts id to the top of objects in JSON files#286
Conversation
|
🦋 Changeset detectedLatest commit: dddb129 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 documents a minor update to the Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant ESLint
participant JSONC Config
Developer->>ESLint: Lint JSON file
ESLint->>JSONC Config: Apply jsonc/sort-keys rule
JSONC Config->>ESLint: Enforce "id" first, then natural order
ESLint->>Developer: Report errors if key order is incorrect
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes 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: Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
🧪 Generate unit tests
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.12.0 ### Minor Changes - [#286](#286) ([@mheob](https://github.com/mheob)): sorts `id` to the top of objects in JSON files - [#285](#285) ([@mheob](https://github.com/mheob)): add nextjs config - [#281](#281) ([@mheob](https://github.com/mheob)): update allowed exports for `react-router` ### Patch Changes - [#287](#287) ([@renovate](https://github.com/apps/renovate)): update all non-major deoendencies ## @mheob/commitlint-config@1.2.4 ### Patch Changes - [#287](#287) ([@renovate](https://github.com/apps/renovate)): update all non-major deoendencies ## @mheob/prettier-config@3.3.4 ### Patch Changes - [#287](#287) ([@renovate](https://github.com/apps/renovate)): update all non-major deoendencies



Summary by CodeRabbit