hound icon indicating copy to clipboard operation
hound copied to clipboard

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

Open emattias opened this issue 5 years ago • 3 comments

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?

emattias avatar Jan 20 '20 15:01 emattias

OK am following

magnito777 avatar Jul 09 '20 06:07 magnito777

Did you ever figure this out?

BenHeath0 avatar Oct 20 '20 17:10 BenHeath0

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

adrianmiles avatar Mar 26 '21 08:03 adrianmiles