Skip to content

Commit

Permalink
Fix function-calc-no-unspaced-operator false negatives (#7655)
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Menke <11521496+romainmenke@users.noreply.github.com>
  • Loading branch information
ybiquitous and romainmenke committed May 8, 2024
1 parent fb54d13 commit 87ed665
Show file tree
Hide file tree
Showing 9 changed files with 1,142 additions and 330 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-laws-attack.md
@@ -0,0 +1,5 @@
---
"stylelint": minor
---

Fixed: `function-calc-no-unspaced-operator` false negatives for three or more operands
5 changes: 5 additions & 0 deletions .changeset/witty-vans-yawn.md
@@ -0,0 +1,5 @@
---
"stylelint": minor
---

Fixed: `function-calc-no-unspaced-operator` false negatives for newer math functions that receive multiple arguments
2 changes: 1 addition & 1 deletion lib/rules/function-calc-no-unspaced-operator/README.md
@@ -1,6 +1,6 @@
# function-calc-no-unspaced-operator

Disallow invalid unspaced operator within math functions that accept a single [`<calc-sum>`](https://www.w3.org/TR/css-values-4/#typedef-calc-sum) value, such as `calc()` or `abs()`.
Disallow invalid unspaced operator within [math functions](https://www.w3.org/TR/css-values-4/#calc-syntax), such as `calc()` or `min()`.

<!-- prettier-ignore -->
```css
Expand Down

0 comments on commit 87ed665

Please sign in to comment.