aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.89k stars 558 forks source link

Feature: Million Lint silent mode if someone does not have the Million Lint VS Code extension installed #1015

Closed nickytonline closed 1 month ago

nickytonline commented 3 months ago

Describe the feature

I started using Million Lint yesterday and plan to add it to our project, however, not everyone working on the project, external contributors or maybe even some core team members who aren't necessarily working in the React part of the project, might want to run the development environment without it.

At the moment, they receive this error message.

CleanShot 2024-04-04 at 07 40 33

It's pretty clear in what you need to do, but again, someone who might be doing a styling fix or something else completely unrelated to potential performance improvements might find this as a friction point to contribute to the project.

I have workarounds that I could do, like an environment variable, but a silent error option to suppress the above would be ideal.

Happy to contribute towards this if this is something the team considers.

Additional information

github-actions[bot] commented 3 months ago

Thanks for opening this issue! A maintainer will review it soon.

tobySolutions commented 3 months ago

Hmm, thank you very much for raising this @nickytonline! Really appreciate it. At the moment there isn't any in the compiler at the moment. I will inform the team of this so they can make decisions regarding this.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.

nickytonline commented 2 months ago

For the time being @tobySolutions, so we can use it in the project, I've gone with the environment variable approach I've mentioned in this issue. See https://github.com/open-sauced/app/pull/3108

tobySolutions commented 2 months ago

Hmm, thank you very much @nickytonline; I reported the issue and they are currently working on it. We have a release coming very soon later this month or the next and these should have been handled by then. Thank you very much!

nickytonline commented 2 months ago

Thanks for the update!

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.