We try stylecleanup on our codebase and it didn't find any unused styles.
We were wondering if stylecleanup is supposed to delete grayText in the example below.
// styles.js
import StyleSheet from 'react-native';
export default StyleSheet.create({
grayText: {
color: '#D0D0D0',
},
redText: {
color: '#FF0000'
},
});
// component.js
{...}
import styles from './styles.js';
class Example extends Component {
render({
<View>
<Text style={styles.redText}>Error: ...</Text>
</View>
});
}
We try stylecleanup on our codebase and it didn't find any unused styles.
We were wondering if stylecleanup is supposed to delete grayText in the example below.