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

Support for stylelint-config-sass-guidelines and update stylelint #1771

Open
emattias opened this issue Jan 20, 2020 · 3 comments
Open

Support for stylelint-config-sass-guidelines and update stylelint #1771

emattias opened this issue Jan 20, 2020 · 3 comments

Comments

@emattias
Copy link

With a .stylelintrc.json file with:

{
  "extends": [
    "stylelint-config-sass-guidelines",
    "stylelint-config-prettier"
  ],
  ...
}

I get this error:

Error: Could not find "stylelint-config-sass-guidelines". Do you need a `configBasedir`?
    at module.exports (/home/linters/app/node_modules/stylelint/lib/utils/configurationError.js:8:28)
    at getModulePath (/home/linters/app/node_modules/stylelint/lib/utils/getModulePath.js:26:11)
    at loadExtendedConfig (/home/linters/app/node_modules/stylelint/lib/augmentConfig.js:194:22)
    at resultPromise.then.resultConfig (/home/linters/app/node_modules/stylelint/lib/augmentConfig.js:168:16)

I have added stylelint-config-sass-guidelines to my package.json but you are not using my package.json packages but have your own whitelist of npm packages, if I have understood correctly? Is there a list of which those are (and which versions?)

Also the supported stylelint version 10.1.0 is pretty old. The latest at the moment is 13.0.0. Could it be updated?

@magnito777
Copy link

OK am following

@BenHeath0
Copy link

Did you ever figure this out?

@adrianmiles
Copy link

Did you ever figure this out?

I had this issue after cloning a project with style lint in it and not running yarn / npm install (since I had cloned it there were no node_modules yet). I jumped straight into trying to debug without bothering to install everything 😓 After doing so everything behaved

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

4 participants