mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +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/** | **/OLD/** | ||||||
| testApp/** | testApp/** | ||||||
| examples/** | examples/** | ||||||
|  | cypress/** | ||||||
| packages/strapi-generate-plugin/files/admin/src/** | packages/strapi-generate-plugin/files/admin/src/** | ||||||
| packages/strapi-helper-plugin/** | packages/strapi-helper-plugin/** | ||||||
| packages/strapi-plugin-users-permissions/admin/** | packages/strapi-plugin-users-permissions/admin/** | ||||||
|  | |||||||
| @ -64,9 +64,14 @@ module.exports = { | |||||||
|       { |       { | ||||||
|         flatTernaryExpressions: false, |         flatTernaryExpressions: false, | ||||||
|         SwitchCase: 1, |         SwitchCase: 1, | ||||||
|         ignoredNodes: ['ConditionalExpression', "VariableDeclarator[kind='const']"], |         ignoredNodes: [ | ||||||
|  |           'ConditionalExpression', | ||||||
|  |           "VariableDeclarator[kind='const']", | ||||||
|  |           'TemplateLiteral', | ||||||
|  |         ], | ||||||
|       }, |       }, | ||||||
|     ], |     ], | ||||||
|  |     'template-curly-spacing': 0, | ||||||
|     'func-names': ['error', 'never'], |     'func-names': ['error', 'never'], | ||||||
|     'function-paren-newline': 0, |     'function-paren-newline': 0, | ||||||
|     'implicit-arrow-linebreak': 0, |     'implicit-arrow-linebreak': 0, | ||||||
|  | |||||||
| @ -37,8 +37,7 @@ const Flex = styled.div` | |||||||
| 
 | 
 | ||||||
| const Div = styled.div` | const Div = styled.div` | ||||||
|   width: calc(100% + 60px); |   width: calc(100% + 60px); | ||||||
|   margin: ${props => |   margin: ${props => (props.show ? '-100px -30px 30px' : `-${props.number}px -30px 103px`)}; | ||||||
|     props.show ? '-100px -30px 30px' : `-${props.number}px -30px 103px`}; |  | ||||||
|   background: #fff; |   background: #fff; | ||||||
|   box-shadow: 3px 2px 4px #e3e9f3; |   box-shadow: 3px 2px 4px #e3e9f3; | ||||||
|   padding: 18px 30px 0px 30px; |   padding: 18px 30px 0px 30px; | ||||||
|  | |||||||
| @ -9,9 +9,7 @@ const Button = styled.button` | |||||||
|   border: 1px solid rgba(227, 233, 243, 0.75); |   border: 1px solid rgba(227, 233, 243, 0.75); | ||||||
|   border-top: 1px solid |   border-top: 1px solid | ||||||
|     ${({ doesPreviousFieldContainErrorsAndIsClosed }) => |     ${({ doesPreviousFieldContainErrorsAndIsClosed }) => | ||||||
|       doesPreviousFieldContainErrorsAndIsClosed |       doesPreviousFieldContainErrorsAndIsClosed ? '#FFA784' : 'rgba(227, 233, 243, 0.75)'}; | ||||||
|         ? '#FFA784' |  | ||||||
|         : 'rgba(227, 233, 243, 0.75)'}; |  | ||||||
| 
 | 
 | ||||||
|   border-bottom-left-radius: 2px; |   border-bottom-left-radius: 2px; | ||||||
|   border-bottom-right-radius: 2px; |   border-bottom-right-radius: 2px; | ||||||
|  | |||||||
| @ -25,8 +25,7 @@ const Button = styled.button` | |||||||
|     return css` |     return css` | ||||||
|         border: 0; |         border: 0; | ||||||
|         background: rgba(16, 22, 34, 0); |         background: rgba(16, 22, 34, 0); | ||||||
|         box-shadow: 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); | ||||||
|           inset 0 1px 0 0 rgba(16, 22, 34, 0.04); |  | ||||||
|       `;
 |       `;
 | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 soupette
						soupette