Skip to content

🐛 Bug: ESLint config groups should be deduplicated by comment #2133

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

If two rules objects from blockESLint's Addons have the same comment, they should be merged together. This will allow end-users to add to the default // Stylistic concerns that don't interfere with Prettier group.

Actual

https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/993/files#r2027963553 shows that no such merging is done now.

Additional Info

🎁

Metadata

Metadata

Labels

status: accepting prsPlease, send a pull request to resolve this!type: bugSomething isn't working :(

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions