Open aXb0t opened 6 months ago
how do you reinstall it so that it doesn't re-overwrite those versions you mention above? i am going through the book now and have the same issues.
Hey @chrisvetek, I have been running my own fork of the project. Drupal Version 10.1.1 and stylelint 15.7 as noted.
Delete yarn.lock
and run yarn clean cache
possibly might help?
Thanks wasn't sure if you specified the version in the yarn install command. I'll try clearing cache.
i figured out how to get those versions via yarn add. thanks!
I was getting a bunch of CSS linting errors like
Unknown rule function-whitespace-after(...)
, even after syncing Stylelint version to thefinal
branch version.I think because we extended the core Drupal Stylelint config, we need to keep our theme Stylelint version in sync with Drupal core.
I modified my versions in
web/themes/custom/alps_trips/package.json
, and reinstalled everything with Yarn:CSS Linting is working error free again.