Skip to content
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

Add stylelint-prettier package for css linting #700

Closed
tonypaulbarker opened this issue Jan 18, 2025 · 2 comments
Closed

Add stylelint-prettier package for css linting #700

tonypaulbarker opened this issue Jan 18, 2025 · 2 comments

Comments

@tonypaulbarker
Copy link

tonypaulbarker commented Jan 18, 2025

Steps to reproduce

In the localgov_base directory, run npm run lint:css

Results in:

Error: Could not find "stylelint-prettier/recommended". Do you need to install the package or use the "configBasedir" option?

Proposted resolution

Add the package with

npm install stylelint-prettier --save-dev

@markconroy
Copy link
Member

You need to cd web/core and do an npm install, then we are piggybacking on the core stylelint stuff.

@tonypaulbarker
Copy link
Author

@markconroy that didn't work for me but @andybroomfield pointed me to this work localgovdrupal/localgov_project#184 so I will try that next.

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

No branches or pull requests

2 participants