The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

meljturner (1) [Avatar] Offline
#1
At least for me the eslint configuration in the chapter-2 repo caused some start-up problems in following the book. I had to add some lines and install a plug-in to get thing operating correctly:
[code]
"eslintConfig": {
"root": true,
"env": {
"node": true,
"jest/globals": true[
},
"extends": [
"plugin:vue/essential",
"@vue/standard",
"plugin:jest/recommended"
],
"rules": {
"prefer-promise-reject-errors": 0,
"no-new": 0
},
"parserOptions": {
"parser": "babel-eslint"
},
"plugins": [
"jest"
]

},
Edd Yerburgh (42) [Avatar] Offline
#2
Thanks for the feedback.

There is a section in chapter 2 that includes adding jest to the env field, which should solve the problems you were having.