Shopify / web-configs

Common configurations for building web apps at Shopify
MIT License
465 stars 57 forks source link

Replace deprecated `at-import-partial-extension` stylelint rule #438

Closed brendo closed 4 weeks ago

brendo commented 1 month ago

Description

This PR replaces the deprecated stylelint rule with it's replacement as per the warning messages when running stylelint:

Deprecation warnings:
 - The "scss/at-import-partial-extension" rule is deprecated.
 - 'at-import-partial-extension has been deprecated, and will be removed in '7.0'. Use 'load-partial-extension' instead. See: https://github.com/stylelint-scss/stylelint-scss/blob/v6.3.0/src/rules/at-import-partial-extension/README.md

The error message is helpful, but the link is not. The replacement rule is load-partial-extension and the docs for that are here.