0
为什么eslint会抛出这个错误? JavaScript在React Native内运行时没有问题。 https://reactnavigation.org/docs/intro/eslint解析错误:意外的令牌=
使用Javascript::代码从反应导航例如在截取
static navigationOptions = { header: null };
eslint错误:
error Parsing error: Unexpected token =
.eslintrc.js文件:
module.exports = {
"extends": "standard",
"plugins": [
"react",
"react-native"
]
};
是配置ES6您eslint? – amiramw