Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,24 @@
"scss/dollar-variable-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
"scss/load-partial-extension": "never",
"scss/no-duplicate-mixins": true,
"@apostrophecms/stylelint-no-mixed-decls": true
"@apostrophecms/stylelint-no-mixed-decls": [
true,
{
"contain-nested": [
"type-base",
"type-help",
"type-small",
"type-label",
"type-large",
"type-title",
"type-display",
"apos-input",
"link-primary",
"apos-transition",
"apos-button-reset"
]
}
]
},
"overrides": [
{
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## UNRELEASED

### Changed

* Add global mixins to the `@apostrophecms/stylelint-no-mixed-decls` plugin configuration.

## 4.3.0 (2025-06-11)

### Changed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"stylelint": ">= 16.1.0"
},
"dependencies": {
"@apostrophecms/stylelint-no-mixed-decls": "^1.0.0",
"@apostrophecms/stylelint-no-mixed-decls": "^1.2.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-strict-value": "^1.10.7",
Expand All @@ -41,4 +41,4 @@
"mocha": "^10.2.0",
"postcss-scss": "^4.0.9"
}
}
}