FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
967 stars 67 forks source link

Error in fresh install of TodoMVC sample app (./src/app/components/TodoTextInput.js) #216

Open jessevdp opened 6 years ago

jessevdp commented 6 years ago

Description

Running a fresh install of this sample returns an error, this causes the sample page to be pretty much blank.

npm run serve

This seems to be some kind of code style issue.

Error Message & Stack Trace

ERROR in ./src/app/components/TodoTextInput.js

/Path/to/TodoMVC/src/app/components/TodoTextInput.js
  40:13  error  Unnecessarily quoted property 'edit' found  quote-props

✖ 1 problem (1 error, 0 warnings)

 @ ./src/app/components/Header.js 221:21-47
 @ ./src/app/containers/App.js
 @ ./src/index.js
 @ multi webpack/hot/dev-server webpack-hot-middleware/client ./src/index

Config

{
  "generator-fountain-react": {
    "version": "1.0.0",
    "props": {
      "framework": "react",
      "modules": "webpack",
      "js": "babel",
      "ci": "",
      "css": "scss",
      "resolved": "/usr/local/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-react/generators/app/index.js",
      "namespace": "fountain-react:app",
      "_": [],
      "sample": "todoMVC",
      "router": "router"
    }
  }
}

Environment

Node.js v8.6.0
darwin 16.7.0

yo@2.0.0
npm@4.1.2