Skip to content

Releases: torchbox/stylelint-config-torchbox

v5.0.0 - Stylelint 17

09 Mar 15:52

Choose a tag to compare

5.0.0 (2026-03-09)

Features

  • Update stylelint to v17 and up.
  • Update all config dependencies to their latest releases, compatible with stylelint v17.
  • Switch from selector-class-pattern to scss/selector-class-pattern to retain resolveNestedSelectors support (removed from built-in rule in Stylelint 17).
  • Experimental: new upgrading stylelint AI skill to help automating upgrades of Stylelint and-or shared configurations.

Please share feedback about agent skills if you use this on projects!

BREAKING CHANGES

The configuration now mandates stylelint v17. This release migrates to ESM (ECMAScript modules) and requires Node.js 20.19.0 or newer. See Stylelint's official Migrating to 17.0.0 documentation.

Rules configuration changes

Rule Purpose Set to Was set to
selector-class-pattern Specify a pattern for class selectors null (disabled) Hyphenated BEM
scss/selector-class-pattern Specify a pattern for class selectors, with SCSS nesting support Hyphenated BEM + resolveNestedSelectors: true N/A -replaces selector-class-pattern
no-duplicate-selectors Built-in rule null (disabled) true

New unused rules

v4.0.0 - Stylelint 16

02 Dec 16:42

Choose a tag to compare

4.0.0 (2025-12-02)

Features

  • Update stylelint to v16.23.1 and up (#45).
  • Update all config dependencies to their latest releases, compatible with stylelint v16 (#45).
  • Change enforced rules from Stylelint and stylelint-config-standard-scss (see list below) (#45).

BREAKING CHANGES

The configuration now mandates stylelint v16. Stylelint has stopped enforcing formatting-related rules, which are no longer relevant with the majority of projects now using Prettier for formatting. See Stylelint’s official Migrating to 16.0.0 documentation.

Newly enforced rules:

Rules with new configuration:

  • scss/dollar-variable-colon-space-after
    • Require or disallow whitespace after the colon in $-variable declarations.
    • Was set to: always
    • Now set to: always-single-line
  • length-zero-no-unit
    • Was set to: true, ignore: custom-properties
    • Now set to: true, ignore: custom-properties, ignorePreludeOfAtRules: function, mixin

New rules which have been explicitly disabled:

Renamed rules which are disabled:

v3.1.0 – Tailwind 4

02 Dec 15:42

Choose a tag to compare

3.1.0 (2025-12-02)

Features

  • Add support for Tailwind CSS v4 @ rules by updating the scss/at-rule-no-unknown ignore list. This prevents Stylelint from flagging valid Tailwind theming syntax such as @source, @varaint, @utility, and others, #40).

v3.0.0 – Stylelint 15

17 Aug 13:37

Choose a tag to compare

3.0.0 (2023-08-17)

Features

  • Update stylelint to v15 (#28).
  • Update all config dependencies to their latest releases, compatible with stylelint v15 (#28).
  • Remove dependency on stylelint-config-prettier, which is no longer needed with stylelint v15 (#28).
  • Change enforced rules from stylelint-config-standard, including 10 new rules (see list below) (#28).

BREAKING CHANGES

The configuration now mandates stylelint v15, and no longer uses stylelint-config-prettier. Stylelint has stopped enforcing formatting-related rules, which are no longer relevant with the majority of projects now using Prettier for formatting. See Stylelint’s official Migrating to 15.0.0 documentation.

The configuration also switches from stylelint-config-standard to stylelint-config-standard-scss, which more correctly disables CSS-only rules and replaces them with SCSS-aware rules.

Newly enforced rules:

New rules which have been explicitly disabled:

Rules which have been replaced by a Sass-specific equivalent:

  • comment-no-empty (replaced with scss/comment-no-empty)
  • function-no-unknown (replaced with scss/function-no-unknown)

New formatting rules which are enforced:

Formatting rules which are no longer enforced:

Read more

v2.0.3 – Even fewer rules

17 Aug 13:31

Choose a tag to compare

2.0.3 (2023-08-17)

Bug fixes

Disables the following rules introduced in Stylelint 14 & related package updates, to make it simpler for projects to upgrade to Stylelint 14:

v2.0.2 – Fewer rules

17 Aug 13:31

Choose a tag to compare

2.0.2 (2023-08-17)

Bug fixes

Disables the following rules introduced in Stylelint 14 & related package updates, to make it simpler for projects to upgrade to Stylelint 14:

v2.0.1 – Stylelint 14 and Sass

17 Aug 10:04

Choose a tag to compare

2.0.1 (2023-08-17)

Bug fixes

  • Add explicit support for Sass/SCSS syntax

v2.0.0 – Stylelint 14

17 Aug 06:34

Choose a tag to compare

2.0.0 (2023-08-17)

Features

  • Update stylelint to v14 for compatibility with PostCSS v8 (#13).
  • Update all config dependencies to their latest releases, compatible with stylelint v14 (#13).
  • Remove stylelint-a11y, which is no longer maintained and does not support stylelint v14. no-text-align-justify has been replaced with declaration-property-value-disallowed-list (#13).
  • Stop enforcing function-calc-no-invalid, which has been removed from stylelint (#13)
  • Change enforced rules from stylelint-config-standard and stylelint-config-prettier.

BREAKING CHANGES

The configuration now mandates stylelint v14, doesn’t use stylelint-a11y, and follows changes in enforced rules from stylelint-config-standard and stylelint-config-prettier.

No longer enforced (all formatting related):

No longer enforced (from stylelint-a11y):

  • a11y/no-obsolete-attribute
  • a11y/no-obsolete-element
  • a11y/no-outline-none

Newly enforced rules:

v1.1.1

11 May 07:39

Choose a tag to compare

1.1.1 (2023-05-11)

Bug fixes

  • Ignore system colors with declaration-strict-value, and unset keyword

v1.1.0

24 Jun 23:27

Choose a tag to compare

1.1.0 (2022-06-25)

Features

  • Add new at-rule-no-unknown rules for tailwind (#21)