Suppose the style:
const styles = StyleSheet.create({ header: { paddingTop: 15, flexDirection: 'row', height: 40, backgroundColor: '#D8D8D8' }, headerLabel: { marginLeft: 16, fontFamily: 'Roboto-Medium', color: 'rgba(0, 0, 0, 0.4)', fontSize: 14, }, headerImage: { color: 'rgba(0, 0, 0, 0.4)', position: 'absolute', right: 16, } });
After fixing it with the tool(suppose all of the styles are not used) the code becomes:
const styles = StyleSheet.create({ });
which is meaningless.
Would be great to have this thing removed as well(in case no references to styles are made).
Suppose the style:
const styles = StyleSheet.create({ header: { paddingTop: 15, flexDirection: 'row', height: 40, backgroundColor: '#D8D8D8' }, headerLabel: { marginLeft: 16, fontFamily: 'Roboto-Medium', color: 'rgba(0, 0, 0, 0.4)', fontSize: 14, }, headerImage: { color: 'rgba(0, 0, 0, 0.4)', position: 'absolute', right: 16, } });After fixing it with the tool(suppose all of the styles are not used) the code becomes:
const styles = StyleSheet.create({ });which is meaningless.
Would be great to have this thing removed as well(in case no references to styles are made).