SAP / ui5-linter

A static code analysis tool for UI5
Apache License 2.0
44 stars 3 forks source link

Show progress indicator during linting #194

Closed sebschn01 closed 1 month ago

sebschn01 commented 1 month ago

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:

image

matz3 commented 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:

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.