Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit c52037e

Browse files
authored
Merge pull request #28 from apostrophecms/revert-strict-value-warning
Revert disabled rule
2 parents f9fffae + 3fce38a commit c52037e

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.stylelintrc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,20 @@
219219
"text-align",
220220
"transition"
221221
],
222-
"scale-unlimited/declaration-strict-value": null,
222+
"scale-unlimited/declaration-strict-value": [
223+
["/color/", "font", "font-family", "z-index"],
224+
{
225+
"ignoreKeywords": [
226+
"currentColor",
227+
"inherit",
228+
"initial",
229+
"transparent",
230+
"auto",
231+
"unset"
232+
],
233+
"disableFix": true
234+
}
235+
],
223236
"scss/at-mixin-named-arguments": [
224237
"always",
225238
{ "ignore": ["single-argument"] }

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
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).
66

7+
## UNRELEASED
8+
9+
### Changed
10+
11+
* Revert the removal of the `scale-unlimited/declaration-strict-value` rule that was added in 4.2.1. The deprecation warning has been [resolved in v1.10.7](https://github.com/AndyOGo/stylelint-declaration-strict-value/issues/379#issuecomment-2576107022) of the plugin.
12+
713
## 4.2.1 (2024-12-18)
814

915
### Fixed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"dependencies": {
2828
"stylelint-config-html": "^1.1.0",
2929
"stylelint-config-standard": "^36.0.0",
30-
"stylelint-declaration-strict-value": "^1.10.4",
30+
"stylelint-declaration-strict-value": "^1.10.7",
3131
"stylelint-order": "^6.0.4",
3232
"stylelint-scss": "^6.3.0"
3333
},
@@ -40,4 +40,4 @@
4040
"mocha": "^10.2.0",
4141
"postcss-scss": "^4.0.9"
4242
}
43-
}
43+
}

0 commit comments

Comments
 (0)