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
Version 4.x stopped inferring options from ESLint config #62
Comments
Ah! Yeah, that's a problem! Glad that I pushed that as a major version bump so it didn't mess everyone up unsuspectingly! So I think that the problem is that the default values from the CLI should be used as So I'm pretty sure the solution would be to remove the Would you like to make a pull request to do that? |
Will do! I wasn't sure how to handle it but now that you gave me the answer, I can. |
prettier-eslint-cli
version: 4.0.1prettier
version: 1.3.1eslint
version: 3.19.0Relevant code/config.
See example repo. Run with
yarn start
. There is av3
branch forprettier-eslint-config@3
.What you did:
With
prettier-eslint-config@4
the inferred options are:The expected options are the ones obtained with
prettier-eslint-config@3
:Problem description:
The new behaviour is caused by the changes in #59, specifically this change. Default options specified for yargs take precedence so the ESLint config getters never get called:
The text was updated successfully, but these errors were encountered: