mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	Fix lint
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
		
							parent
							
								
									d71235a0c1
								
							
						
					
					
						commit
						81454df46f
					
				| @ -4,6 +4,7 @@ | ||||
| **/OLD/** | ||||
| testApp/** | ||||
| examples/** | ||||
| cypress/** | ||||
| packages/strapi-generate-plugin/files/admin/src/** | ||||
| packages/strapi-helper-plugin/** | ||||
| packages/strapi-plugin-users-permissions/admin/** | ||||
|  | ||||
| @ -64,9 +64,14 @@ module.exports = { | ||||
|       { | ||||
|         flatTernaryExpressions: false, | ||||
|         SwitchCase: 1, | ||||
|         ignoredNodes: ['ConditionalExpression', "VariableDeclarator[kind='const']"], | ||||
|         ignoredNodes: [ | ||||
|           'ConditionalExpression', | ||||
|           "VariableDeclarator[kind='const']", | ||||
|           'TemplateLiteral', | ||||
|         ], | ||||
|       }, | ||||
|     ], | ||||
|     'template-curly-spacing': 0, | ||||
|     'func-names': ['error', 'never'], | ||||
|     'function-paren-newline': 0, | ||||
|     'implicit-arrow-linebreak': 0, | ||||
|  | ||||
| @ -19,7 +19,7 @@ const MenuDropdown = styled(DropdownMenu)` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default MenuDropdown; | ||||
|  | ||||
| @ -81,7 +81,7 @@ const Toggle = styled(DropdownToggle)` | ||||
|         border: 1px solid #e3e9f3; | ||||
|       } | ||||
|     `;
 | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default Toggle; | ||||
|  | ||||
| @ -22,7 +22,7 @@ const NameWrapper = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default NameWrapper; | ||||
|  | ||||
| @ -12,7 +12,7 @@ const Carret = styled.div` | ||||
|   return ` | ||||
|       left: -1px; | ||||
|     `;
 | ||||
|   }} | ||||
| }} | ||||
|   height: 100%; | ||||
|   width: 2px; | ||||
|   margin-right: 3px; | ||||
|  | ||||
| @ -24,7 +24,7 @@ const Button = styled(PlusButton)` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
|   &.isOpen { | ||||
|     transform: rotate(-45deg); | ||||
|   } | ||||
|  | ||||
| @ -14,7 +14,7 @@ const Wrapper = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default Wrapper; | ||||
|  | ||||
| @ -37,8 +37,7 @@ const Flex = styled.div` | ||||
| 
 | ||||
| const Div = styled.div` | ||||
|   width: calc(100% + 60px); | ||||
|   margin: ${props => | ||||
|     props.show ? '-100px -30px 30px' : `-${props.number}px -30px 103px`}; | ||||
|   margin: ${props => (props.show ? '-100px -30px 30px' : `-${props.number}px -30px 103px`)}; | ||||
|   background: #fff; | ||||
|   box-shadow: 3px 2px 4px #e3e9f3; | ||||
|   padding: 18px 30px 0px 30px; | ||||
| @ -50,7 +49,7 @@ const Div = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }}; | ||||
| }}; | ||||
| `;
 | ||||
| 
 | ||||
| export { Div, Flex, Span, Wrapper }; | ||||
|  | ||||
| @ -60,7 +60,7 @@ const Label = styled.label` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export { Div, Label }; | ||||
|  | ||||
| @ -58,7 +58,7 @@ const NonRepeatableWrapper = styled.div` | ||||
|       background-color: #f7f8f8; | ||||
|       margin-bottom: 18px !important; | ||||
|     `;
 | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default NonRepeatableWrapper; | ||||
|  | ||||
| @ -16,7 +16,7 @@ const Wrapper = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
|   border-radius: 2px; | ||||
|   > div { | ||||
|     width: 100%; | ||||
|  | ||||
| @ -9,9 +9,7 @@ const Button = styled.button` | ||||
|   border: 1px solid rgba(227, 233, 243, 0.75); | ||||
|   border-top: 1px solid | ||||
|     ${({ doesPreviousFieldContainErrorsAndIsClosed }) => | ||||
|       doesPreviousFieldContainErrorsAndIsClosed | ||||
|         ? '#FFA784' | ||||
|         : 'rgba(227, 233, 243, 0.75)'}; | ||||
|       doesPreviousFieldContainErrorsAndIsClosed ? '#FFA784' : 'rgba(227, 233, 243, 0.75)'}; | ||||
| 
 | ||||
|   border-bottom-left-radius: 2px; | ||||
|   border-bottom-right-radius: 2px; | ||||
|  | ||||
| @ -16,7 +16,7 @@ const EmptyComponent = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| 
 | ||||
|   > p { | ||||
|     color: #9ea7b8; | ||||
|  | ||||
| @ -25,8 +25,7 @@ const Button = styled.button` | ||||
|     return css` | ||||
|         border: 0; | ||||
|         background: rgba(16, 22, 34, 0); | ||||
|         box-shadow: inset 0 -1px 0 0 rgba(16, 22, 34, 0.04), | ||||
|           inset 0 1px 0 0 rgba(16, 22, 34, 0.04); | ||||
|         box-shadow: inset 0 -1px 0 0 rgba(16, 22, 34, 0.04), inset 0 1px 0 0 rgba(16, 22, 34, 0.04); | ||||
|       `;
 | ||||
|   } | ||||
| 
 | ||||
| @ -38,7 +37,7 @@ const Button = styled.button` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| 
 | ||||
|   > svg { | ||||
|     margin: auto; | ||||
|  | ||||
| @ -27,7 +27,7 @@ const Cell = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| 
 | ||||
|   > svg { | ||||
|     z-index: 9; | ||||
|  | ||||
| @ -13,7 +13,7 @@ const Wrapper = styled.div` | ||||
|   } | ||||
| 
 | ||||
|   return ''; | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export default Wrapper; | ||||
|  | ||||
| @ -77,7 +77,7 @@ const StyledButton = styled(Button)` | ||||
|       margin-left: 45px; | ||||
|       font-weight: 400; | ||||
|     `;
 | ||||
|   }} | ||||
| }} | ||||
| `;
 | ||||
| 
 | ||||
| export { Wrapper, StyledButton }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 soupette
						soupette