loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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);
```

authored by

silverwind and committed by
GitHub
532f166c 3e9a379d

+2 -2
+1 -1
.stylelintrc.yaml
··· 103 103 property-no-vendor-prefix: null 104 104 rule-empty-line-before: null 105 105 rule-selector-property-disallowed-list: null 106 - scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true}] 106 + scale-unlimited/declaration-strict-value: [[/color$/, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true, expandShorthand: true}] 107 107 selector-attribute-name-disallowed-list: null 108 108 selector-attribute-operator-allowed-list: null 109 109 selector-attribute-operator-disallowed-list: null
+1 -1
web_src/css/base.css
··· 1801 1801 1802 1802 table th[data-sortt-asc]:hover, 1803 1803 table th[data-sortt-desc]:hover { 1804 - background: rgba(0, 0, 0, 0.1) !important; 1804 + background: var(--color-hover) !important; 1805 1805 cursor: pointer !important; 1806 1806 } 1807 1807