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

[FEAT] add the ability to compare two different configurations #65

Open
stefanobartoletti opened this issue Jun 17, 2024 · 1 comment
Open

Comments

@stefanobartoletti
Copy link

stefanobartoletti commented Jun 17, 2024

It would be nice to have a way to compare two different full configurations, and be able to highlight only rules that are different between them.

A possible example would be to compare config-1 and config-2 and only have a list of rules that

  • both configs are setting, but with different values
  • one of them is setting, while the other is not

basically the same logic behind a common diff in a git context, for example.

This is just a "nice to have" suggestion, nothing really urgent or critical, but maybe it can be considered for addition if time and resources allow for it. It is a feature simple to describe, but I guess that the implementation could be somewhat complex.

Thanks anyway for this package, that is already great in the current state :)

@voxpelli
Copy link
Contributor

I was working on a command line version of that here: https://github.com/voxpelli/compare-eslint-configs

Still planning to update it to ESLint 9 and flat configs: voxpelli/compare-eslint-configs#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants