-
Notifications
You must be signed in to change notification settings - Fork 1
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
Does not put spaces inside parens #16
Comments
I'm no longer associated with If you click into the CircleCi lint failure in your linked PR, the associated error looks like this:
You should have prettier as a transitive dependency (because its a direct dep of the lint rules), but for some reason it isn't present in your w.r.t the spaces issue, thats actually the whole purpose of this repo, to put spaces in where the real Hope that helps! |
Oh, sorry, I put the wrong link there. I will put in the correct one on Monday... |
Hi, the build was updated in the CI as well, sorry, I got two repos confused previously. For posterity, here's the link to the exact build I've got an issue with: https://circleci.com/gh/skaut/skaut-google-drive-gallery/3579 Thanks |
Thanks for the updated link. The PR you point to shows this as the changelog for the eslint plugin that is being updated:
Your project doesn't use prettier, so of course it isn't following default conventions enforced by Also, this package does not by default add in the parens spacing. You have to include the options You have two options:
|
Hi, I understand your comment so that the eslint-plugin has been upgraded to lint styles using prettier (or wp-prettier to be precise), but hasn't configured it properly to lint according to WPCS. Is that correct? Thanks, |
Hi,
I'm using wp-prettier through
@wordpress/eslint-plugin
version 4.0.0.However, the tool is telling me to remove spaces inside parens - see skaut/skaut-google-drive-gallery#391
I opened https://wordpress.org/support/topic/spaces-and-wordpress-eslint-plugin/ and was redirected to submit a bug report here.
The text was updated successfully, but these errors were encountered: