0
vim syntastic과 함께 eslint v3.0.1을 사용하고 있습니다. 어떤 이유로 나는ESLint 구문 분석 오류 : module.exports의 예기치 않은 토큰
{
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"]
}
vim syntastic과 함께 eslint v3.0.1을 사용하고 있습니다. 어떤 이유로 나는ESLint 구문 분석 오류 : module.exports의 예기치 않은 토큰
{
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"]
}
마지막에게 지금 매우 일반적인 .eslintrc을 사용하고
var routes = (
<Router>
<Route path='/' component={Main}>
</Route>
</Router>
);
module.exports routes;
이 오류
config/routes.js|16 col 16 error| Parsing error: Unexpected token routes [javascript/eslint]
을 제거 설정을 변경할 수 없습니다입니다 선이 올바르지 않으면 module.exports = routes
으로 작성해야합니다.