Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Releases: Shopify/stylelint-config-shopify

v5.1.2

10 Jul 17:34
Compare
Choose a tag to compare
  • 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

10 Jul 14:51
Compare
Choose a tag to compare
  • Added a new custom rule shopify/content-no-strings that disallows hard-coded strings as values for the content 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]

05 Jul 21:23
Compare
Choose a tag to compare

Use 5.1.1 instead.

v5.0.1

06 Jul 00:11
Compare
Choose a tag to compare
  • Updated dependency: stylelint-css (no breaking changes, only fixes)
  • Updated devDependencies: eslint, eslint-plugin-shopify

v5.0.0

22 Feb 18:16
Compare
Choose a tag to compare
  • Dropped support for Node <8.9
  • Require stylelint >=9.0 as a peerDependency for projects consuming this config (#25 and #27)
  • Updated dependencies

v4.0.0

17 Nov 22:20
Compare
Choose a tag to compare

Migration Suggestions

  • If stylelint-config-shopify/prettier is used, please replace prettier-stylelint with prettier-stylelint-formatter.

    yarn remove prettier-stylelint && yarn add prettier-stylelint-formatter
    

v3.0.2

14 Nov 21:42
5ec091b
Compare
Choose a tag to compare
  • declaration-block-no-redundant-longhand-properties now allows longhand grid properties, see #21

v3.0.1

13 Nov 19:40
Compare
Choose a tag to compare

Same as 3.0.0.

v2.1.0

25 Aug 23:11
Compare
Choose a tag to compare
v2.1.0