-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable linting on yarn start #10414
Comments
@Chris-Thompson-bnsf not exactly, since those are specifically about slow builds, this is more about how unnecessary it is to run the linting on start when we already other integrations in place to ensure it's being followed. |
@aprilmintacpineda There are similar comments about the linting in those discussions, and at least one of them has some workarounds such as disabling or enabling the cache for linting. More of an FYI in case you're looking for workarounds in the mean time. |
Yes, I used patch-package |
I just found out that on .env we can add DISABLE_ESLINT_PLUGIN=true |
There seems to be a better option than completely disabling linter. |
Is your proposal related to a problem?
We should have the option to disable linting on
yarn start
, we already have an IDE that integrates with eslint and prettier, we use git-hooks to lint and format files on commit, it's pretty annoying to have it on start as well and it also makes dev really slow.Describe the solution you'd like
add a flag
--no-lint
to disable all linting and purely build and serve onyarn start
Describe alternatives you've considered
Used patch-package
Additional context
Nothing.
The text was updated successfully, but these errors were encountered: