mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
Enable declaration-block-no-redundant-longhand-properties
(#30950)
Enable [`declaration-block-no-redundant-longhand-properties`](https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/) and autofix issues. The exclusions are because I find these two shorthands to be harder to read. (cherry picked from commit 46b7004f050bd2fdaf9800794cf2c1e9eeb08d51) Signed-off-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
a6262a662e
commit
8f4e653020
2 changed files with 2 additions and 5 deletions
|
@ -141,7 +141,7 @@ export default {
|
|||
'custom-property-pattern': null,
|
||||
'declaration-block-no-duplicate-custom-properties': true,
|
||||
'declaration-block-no-duplicate-properties': [true, {ignore: ['consecutive-duplicates-with-different-values']}],
|
||||
'declaration-block-no-redundant-longhand-properties': null,
|
||||
'declaration-block-no-redundant-longhand-properties': [true, {ignoreShorthands: ['flex-flow', 'overflow']}],
|
||||
'declaration-block-no-shorthand-property-overrides': null,
|
||||
'declaration-block-single-line-max-declarations': null,
|
||||
'declaration-empty-line-before': null,
|
||||
|
|
|
@ -7,10 +7,7 @@
|
|||
flex-wrap: wrap;
|
||||
align-items: stretch;
|
||||
padding: 0;
|
||||
margin-top: -1rem;
|
||||
margin-bottom: -1rem;
|
||||
margin-left: -1rem;
|
||||
margin-right: -1rem;
|
||||
margin: -1rem;
|
||||
}
|
||||
|
||||
.ui.relaxed.grid {
|
||||
|
|
Loading…
Reference in a new issue