Skip to content

Add VSCode support for Stylelint to PnPify tool. #1011

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

Merged
merged 4 commits into from
Apr 29, 2020
Merged

Add VSCode support for Stylelint to PnPify tool. #1011

merged 4 commits into from
Apr 29, 2020

Conversation

phyllisstein
Copy link
Contributor

What's the problem this PR addresses?

Currently, Berry breaks support for the VSCode Stylelint plugin in much the same way that it caused issues with ESLint and TSC.

How did you fix it?

This change updates the SDK support script in @yarnpkg/pnpify to generate a PnP wrapper for Stylelint and point the project's VSCode config file to the script. It also updates the compat plugin so that a Stylelint dependency, postcss-syntax, can require some additional packages which it currently only includes in its devDepdendencies. (PR addressing the issue in that repo to follow.)

@phyllisstein phyllisstein changed the title Add VSCode support for Stylelint to PnPify plugin. Add VSCode support for Stylelint to PnPify tool. Feb 29, 2020
@arcanis
Copy link
Member

arcanis commented Mar 2, 2020

Sounds good, but can you open the PR on PostCSS-Syntax before I merge this one?

Also, looking at their README, I think that optional peer dependencies might be a better fit than regular dependencies (since they ask their users to add the various modules themselves).

@7rulnik
Copy link
Contributor

7rulnik commented Apr 19, 2020

@arcanis seems that @phyllisstein had opened PR into postcss-syntax gucong3000/postcss-syntax#46

May we merge this PR?

@phyllisstein
Copy link
Contributor Author

Pardon the radio silence here. I wound up dropping back down to Yarn Classic in my project, then got slammed with onboarding for a new gig. I'll make time this weekend to take another look.

@7rulnik
Copy link
Contributor

7rulnik commented Apr 27, 2020

@phyllisstein @arcanis I rebased this PR on master in #1263

@arcanis arcanis merged commit 4e7e4eb into yarnpkg:master Apr 29, 2020
@arcanis
Copy link
Member

arcanis commented Apr 29, 2020

Thank you both! 😃

@phyllisstein
Copy link
Contributor Author

Thanks for picking up my slack. Onboarding in quar is no small thing. 😩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants