Commit 211db38
committed
Add linting against the use of
The `if-function` deprecation warning only comes with Sass 1.95[^1],
and we don't want to update quite yet so we can keep tracking `mixed-decls`
warnings until we upgrade sass[^2].
Stylelint will help us keep track of our usage of the `if` function in the meantime.
Because our code is written in Scss, we need to enable the rule from `stylelint-scss`,
rather than the one provided by stylelint.
[^1]: https://sass-lang.com/documentation/breaking-changes/if-function/
[^2]: #6690if function1 parent 4b57d97 commit 211db38
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
0 commit comments