Enable shorthands in declaration-strict-value linter (#27597)

Enable [shorthand
matching](https://github.com/AndyOGo/stylelint-declaration-strict-value#expandshorthand)
in this lint rule and match color properties by regex. Patterns like
this will now fail lint:

```css
background: #123456;
border: 1px sold rgba(0,0,0,0);
```
This commit is contained in:
silverwind 2023-10-13 10:19:21 +02:00 committed by GitHub
parent 3e9a379d38
commit 532f166c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1801,7 +1801,7 @@ a.ui.basic.label:hover {
table th[data-sortt-asc]:hover,
table th[data-sortt-desc]:hover {
background: rgba(0, 0, 0, 0.1) !important;
background: var(--color-hover) !important;
cursor: pointer !important;
}