eslint / config-inspector

A visual tool for inspecting and understanding your ESLint flat configs.
https://www.npmjs.com/package/@eslint/config-inspector
Apache License 2.0
516 stars 15 forks source link

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

Open stefanobartoletti opened 2 weeks ago

stefanobartoletti commented 2 weeks ago

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

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 commented 1 week ago

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: https://github.com/voxpelli/compare-eslint-configs/issues/46