136
rated 0 times
[
140]
[
4]
/ answers: 1 / hits: 18121
/ 7 Years ago, sun, june 18, 2017, 12:00:00
Why is eslint throwing this error? The Javascript runs without issue inside of React Native. The code was taken from the react-navigation example at : https://reactnavigation.org/docs/intro/
Javascript:
static navigationOptions = { header: null };
eslint error:
error Parsing error: Unexpected token =
.eslintrc.js file:
module.exports = {
extends: standard,
plugins: [
react,
react-native
]
};
More From » reactjs