mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 00:54:43 +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.
This commit is contained in:
		
							parent
							
								
									f80b403dc9
								
							
						
					
					
						commit
						46b7004f05
					
				| @ -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 { | ||||
|  | ||||
| @ -553,13 +553,11 @@ | ||||
|   border-bottom: 2px solid var(--color-secondary); | ||||
| } | ||||
| .ui.secondary.pointing.menu .item { | ||||
|   border-bottom-color: transparent; | ||||
|   border-bottom-style: solid; | ||||
|   border-bottom: 2px solid transparent; | ||||
|   border-radius: 0; | ||||
|   align-self: flex-end; | ||||
|   margin: 0 0 -2px; | ||||
|   padding: 0.85714286em 1.14285714em; | ||||
|   border-bottom-width: 2px; | ||||
| } | ||||
| .ui.secondary.pointing.menu .ui.dropdown .menu .item { | ||||
|   border-bottom-width: 0; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user