You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand your needs. However, I am concerned that the UI for sorting will be complex and difficult for users to use.
Some users may want to specify multiple columns to sort (e.g. --sort="error, fixable"). They may also want to specify the order to sort (e.g. --sort="error DESC, fixable ASC").
In addition to sorting records, some users may want to filter records (like #296). Or some users may want to search for matching records by entering keywords. And it is difficult to build such a complex UI on the console.
In the first place, with the command line option sorting mechanism, if you want to change the sorting method, you will have to restart eslint-interactive. This makes users uncomfortable.
While the sorting feature is certainly useful, I feel that it is difficult to achieve a user-friendly UI. Therefore, I am reluctant to implement this feature. Of course, I welcome any good ideas you may have!
Expect:
I wany to sort the rules by error count instead of rule name.
Why:
Solution
provide option
--order
which support enum string:The text was updated successfully, but these errors were encountered: