Skip to content

Commit

Permalink
Merge pull request #28 from apostrophecms/revert-strict-value-warning
Browse files Browse the repository at this point in the history
Revert disabled rule
  • Loading branch information
myovchev authored Jan 20, 2025
2 parents f9fffae + 3fce38a commit c52037e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,20 @@
"text-align",
"transition"
],
"scale-unlimited/declaration-strict-value": null,
"scale-unlimited/declaration-strict-value": [
["/color/", "font", "font-family", "z-index"],
{
"ignoreKeywords": [
"currentColor",
"inherit",
"initial",
"transparent",
"auto",
"unset"
],
"disableFix": true
}
],
"scss/at-mixin-named-arguments": [
"always",
{ "ignore": ["single-argument"] }
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

* 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.

## 4.2.1 (2024-12-18)

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"stylelint-config-html": "^1.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-strict-value": "^1.10.4",
"stylelint-declaration-strict-value": "^1.10.7",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.3.0"
},
Expand All @@ -40,4 +40,4 @@
"mocha": "^10.2.0",
"postcss-scss": "^4.0.9"
}
}
}

0 comments on commit c52037e

Please sign in to comment.