This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Releases: Shopify/stylelint-config-shopify
Releases · Shopify/stylelint-config-shopify
v5.1.2
- Changed dependency: Pull the base prettier config from stylelint-config-prettier instead of prettier-stylelint-formatter. It is provided by the prettier organisation and is more up to date than the one provided by prettier-stylelint-formatter
- Increase stylelint minimum version to 9.1.1 so it aligns with the minimum required by stylelint-config-prettier
v5.1.1
- Added a new custom rule
shopify/content-no-strings
that disallows hard-coded strings as values for thecontent
property. This prevents internationalization issues. Keywords are still allowed. The rule is not enabled by default.
The following patterns are considered violations:
.foo::before { content: 'bar'; }
.foo::before { content: open-quote 'Section' counter(section_counter) close-quote; }
The following patterns are not considered violations:
.foo::before { content: ''; }
.foo::before { content: open-quote counter(section_counter) close-quote; }
v.5.1.0 [YANKED]
Use 5.1.1 instead.
v5.0.1
v5.0.0
v4.0.0
- Replaces
prettier-stylelint
with a forked version addressing an issue #23
Migration Suggestions
-
If
stylelint-config-shopify/prettier
is used, please replaceprettier-stylelint
withprettier-stylelint-formatter
.yarn remove prettier-stylelint && yarn add prettier-stylelint-formatter
v3.0.2
v3.0.1
Same as 3.0.0.