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

[doc][build task] wrong path to lint css in task css-lint-docs #26994

Closed
Lausselloic opened this issue Jul 30, 2018 · 2 comments
Closed

[doc][build task] wrong path to lint css in task css-lint-docs #26994

Lausselloic opened this issue Jul 30, 2018 · 2 comments
Assignees

Comments

@Lausselloic
Copy link
Contributor

Hello,

Following the move of docs under site folder, I think there's a mistake in npm task css-lint-docs

"css-lint-docs": "stylelint --syntax scss \"site/docs/4.1/assets/scss/*.scss\" && stylelint \"docs/**/*.css\"",
try to lint css under docs folder, maybe need to be site/docs ?

Same error on css-prefix-docs

"css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/4.1/assets/css/docs.min.css\" \"docs/**/*.css\"",

@Lausselloic
Copy link
Contributor Author

Hello,

Thanks for the fix. Maybe it's just my dev environnement but task css-lint-docs doesn't work and finish with :

> stylelint --syntax scss "site/docs/4.1/assets/scss/*.scss" && stylelint "site/docs/**/*.css"

Error: Could not find "../../../.stylelintrc". Do you need a `configBasedir`?

Just look at the travis build on the PR and the task css-lint-docs isn't run.

@XhmikosR
Copy link
Member

XhmikosR commented Aug 2, 2018

I'm gonna fix this too.

More broken things after the docs refactoring...

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

No branches or pull requests

3 participants