Uh oh!
There was an error while loading. Please reload this page.
Add environment variable DISABLE_ESLINT - #7961
Conversation
facebook-github-bot
commented
Nov 11, 2019
Hi giuband! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
facebook-github-bot
commented
Nov 11, 2019
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
giuband
commented
Nov 12, 2019
I've changed it to |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
giuband
commented
Dec 12, 2019
Hi team, any updates on this one? |
mrmckeb
commented
Dec 15, 2019
I think this will likely be a config flag, we've been talking about adding a config file in the next major release of CRA. Does anyone else in the team have thoughts? @ianmcnally or @ianschmitz perhaps? |
michaelsbradleyjr
commented
Dec 16, 2019
Just my 2¢, but I think it would be awesome if a CRA project could have a |
mrmckeb
commented
Dec 18, 2019
@michaelsbradleyjr That's on the cards for v4 at this stage. |
Bessonov
commented
Dec 25, 2019
I don't care about CRAs eslint rules for two reasons. First one, I have own rule set, which I use through multiple projects. And the second, I don't want that eslint slows me down while development. Therefore a big +1 for this PR. |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Bessonov
commented
Jan 24, 2020
further activity occurs |
Thanks, @giuband! This is a great thing to have supported natively, since it's so frustrating having the build break on you while you're actively coding, so now you have to stop, add a disable comment, etc. It just breaks the flow. Please, let me know if I can be of any help! |
AbraaoAlves
commented
Apr 30, 2020
It's very useful for this issue: #8096 |
tomasbruckner
commented
May 26, 2020
any update on this? |
giuband
commented
Oct 13, 2020
@mrmckeb@ianmcnally any updates on this one? Is it still under the radar to offer more flexibility regarding running or not eslint? |
The idea behind this new environment DISABLE_ESLINT_DEV variable is to:
At the moment 2) is pretty hard, because depending on your ESLint config you might not even able to have a
console.logor an unused variable in your code without seeing your dev build failing, making the experience pretty frustrating.Open for feedback. I am actually uncertain whether we should have instead just a
DISABLE_ESLINTsetting that would disable ESLint for both environments.Related issues: