eslint-plugin-react-native
eslint-plugin-react-native copied to clipboard
Show warning when using an undefined style
const styles = StyleSheet.create({});
const Hello = React.createClass({
render: function() {
return <Text style={styles.name}>Hello {this.props.name}</Text>;
}
});
Should throw a warning regarding styles.name