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.

TypeError: stylelint.createLinter(...).getConfigForFile is not a function #135

@fcollonval

Description

@fcollonval

When using the cli stylelint-config-prettier-check, there is the following error:

TypeError: stylelint.createLinter(...).getConfigForFile is not a function
    at check (/home/fcollonval/tmp/myextension/node_modules/stylelint-config-prettier/src/checker.js:14:4)
    at Object.<anonymous> (/home/fcollonval/tmp/myextension/node_modules/stylelint-config-prettier/bin/check.js:5:1)

See: https://github.com/jupyterlab/extension-cookiecutter-ts/actions/runs/3418643040/jobs/5693550762

Versions installed:

stylelint-config-prettier@^9.0.3:
  version "9.0.3"
--
stylelint-config-recommended@^6.0.0:
  version "6.0.0"
--
stylelint-config-standard@~24.0.0:
  version "24.0.0"
--
stylelint-prettier@^2.0.0:
  version "2.0.0"
--
stylelint@^14.3.0:
  version "14.14.1"

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