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

Update to PostCSS 8 #126

Closed
XhmikosR opened this issue Sep 29, 2020 · 4 comments
Closed

Update to PostCSS 8 #126

XhmikosR opened this issue Sep 29, 2020 · 4 comments

Comments

@XhmikosR
Copy link

Just opening an issue to track this :)

@hudochenkov
Copy link
Owner

Blocked by stylelint stylelint/stylelint#4942. Plugin could not be using PostCSS 8 until stylelint using it.

@hudochenkov hudochenkov changed the title Update to postcss 8.x. Update to PostCSS 8 Oct 4, 2020
@machinshin
Copy link

machinshin commented Oct 25, 2021

stylelint has migrated over to PostCSS8.

  "extends": "stylelint-config-sass-guidelines",

now fails

postcss-sorting: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
TypeError: Cannot read properties of undefined (reading 'unprefixed')
    at /foo/app/assets/stylesheets/_svg.scss:5:5
    at processEveryNode (/foo/node_modules/stylelint-order/rules/properties-alphabetical-order/checkNode.js:26:43)
    at Rule.each (/foo/node_modules/postcss/lib/container.js:41:16)
    at checkNode (/foo/node_modules/stylelint-order/rules/properties-alphabetical-order/checkNode.js:11:7)
    at processRulesAndAtrules (/foo/node_modules/stylelint-order/rules/properties-alphabetical-order/index.js:55:5)
    at /foo/node_modules/postcss/lib/container.js:55:18
    at Rule.each (/foo/node_modules/postcss/lib/container.js:41:16)
    at Rule.walk (/foo/node_modules/postcss/lib/container.js:52:17)
    at /foo/node_modules/postcss/lib/container.js:60:24
    at AtRule.each (/foo/node_modules/postcss/lib/container.js:41:16)
    at AtRule.walk (/foo/node_modules/postcss/lib/container.js:52:17)

@hudochenkov
Copy link
Owner

@machinshin Use stylelint-order@5.0.0.

@hudochenkov
Copy link
Owner

@XhmikosR it is now using PostCSS 8 in version 5.

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

3 participants