Closed sebschn01 closed 1 month ago
Thank you for bringing this up 👍🏻
I understand the general idea of this feature, but I don't think it is valuable to implement and for most cases not even necessary.
Let me explain why:
--verbose
flag to get output from the tool which should help to see what's happening. A progress indicator would not provide any actual value as (depending on how it is implemented) it might still spin or do something, but it's still unknown whether it is stuck or not, and at which step/file.So, I think we should rather focus our limited capacity into improving the rules (the main benefit of this tool) and an integration into ESLint.
When running the linter on a large project, the user has no feedback for progress during execution of linter. I personally was not sure if the linter was actually running, or if it was stuck.
I was running a linter on a large folder structure, and linting took ~1.5 minutes (10k+ files) Having no progress indication also is visible for smaller projects/ folders. To easily get a sample project where linting also takes several seconds i used https://github.com/SAP/generator-easy-ui5 to get a fresh project. Running ui5lint in this sample project also takes ~5seconds and no progress indication is visible.
It would be great to have some sort of visible progress indicator to know that linting is in progress.
Some options i can think of are: