-
-
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
enable .eslintignore again #7562
Conversation
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 up 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 the corporate CLA signed. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
I signed up just now! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Maybe only enable it when |
I'd love to have this merged. It's frustrating that trying to use a strict ESLint config on my own code causes unnecessary warnings on generated files that shouldn't be modified, and it prevents me from using |
@mrmckeb any concerns with this one having done the eslint config work? |
That could be a good idea. I guess the question is should we support this file even if the user isn't modifying our OOTB lint config? |
I think it would be more consistent to only respect the ESLint ignore if |
@igtm We think we can get this into our 3.2 release, but it needs to be behind the flag Can you make that change? |
I'm sorry for the late reply. |
This line of code has been added by this PR.
But I cannot understand why react-script doesn't support the essential config file of eslint.
I'd say that it should be needed for some cases such as ignoring generated files or something like that.
This topic about
.eslintignore
has been discussed as follows.eslintignore
for generated files #7339