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
518 stars 15 forks source link

Pressing enter on the filter bar resets the value to the one used for the last search #35

Closed haykam821 closed 2 months ago

haykam821 commented 2 months ago

Using version 0.4.3, when typing in the filter bar, the enter key seems to have an effect even though filtered results update automatically. Whichever value was last used as a filter (shown in the 'Filepath is not included or has been ignored' message) will replace the current value. I would expect the value to stay the same if no completion could be found for the given value.

antfu commented 2 months ago

I am not sure if I understand - Can you explain more or show some examples?

haykam821 commented 2 months ago

This is what I'm seeing:

https://github.com/eslint/config-inspector/assets/24855774/aee5888c-bafc-4b5b-94c4-f64e09f164a7