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

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

@GilShoshan94

Description

@GilShoshan94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions