Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

CLI helper tool stylelint-config-prettier is broken. #134

Closed
GilShoshan94 opened this issue Nov 8, 2022 · 3 comments · Fixed by #136
Closed

CLI helper tool stylelint-config-prettier is broken. #134

GilShoshan94 opened this issue Nov 8, 2022 · 3 comments · Fixed by #136

Comments

@GilShoshan94
Copy link

Hi,

As far as I know, extending Stylelint with "stylelint-config-prettier" seems to work fine.

I was curious about the CLI helper tool stylelint-config-prettier and what it would report to me.

It fails with:
TypeError: stylelint.createLinter(...).getConfigForFile is not a function

After checking a bit what it is about, it seems that this is an internal function of Stylelint and it got modify here: stylelint/stylelint#6415

This should be either fix or simply remove this CLI tool if it is not necessary.
Have a nice day.

@shannonmoeller
Copy link
Member

Thanks for the report. I'll take a look.

@GilShoshan94
Copy link
Author

That was fast ! XD

@shannonmoeller
Copy link
Member

Released as v9.0.4.

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

Successfully merging a pull request may close this issue.

2 participants