Open tfreitas90 opened 2 months ago
I came across with this some things that it could be false positives because they are read by react-native with styled-components.
theme.spacers.XXXL = "48px"
padding: ${({theme}) => `${theme.spacers.XXXL} 0`};
this unit is not supported when using styled-components with React Native unit-allowed-list
2.
const btnSize = (small?: boolean) => (small ? '32px' : '48px'); export const BtnComponent = styled(View)<{small?: boolean}>` height: ${({small}) => btnSize(small)}; `;
this function is not supported when using styled-components with React Native function-allowed-list
3.
export const TopContent = styled(View)` horizontal-padding: ${({theme}) => theme.spacers.M}; `;
Unexpected unknown property "horizontal-padding" react-native/css-property-no-unknown
4.
width: 80px; // Fix Android problem X
Unknown word CssSyntaxError
Any update on this...?
I came across with this some things that it could be false positives because they are read by react-native with styled-components.
theme.spacers.XXXL = "48px"
this unit is not supported when using styled-components with React Native unit-allowed-list
2.
this function is not supported when using styled-components with React Native function-allowed-list
3.
Unexpected unknown property "horizontal-padding" react-native/css-property-no-unknown
4.
Unknown word CssSyntaxError