Chapter 8 Interacting with a Server

Hm, maybe the lint command is running with a mis-matched eslint version or config.
The code-cafe-backend expects to be listed with the config defined in it’s root and the version in it’s package.json, but since it’s nested down in resources, it might be getting run with a different config or version.
You can’t disable it because it’s a parse error rather than a lint error. (It can’t read the file at all vs it can read it but thinks something should be different.)
I’m not sure why it’s having issues with it, but you can get rid of the optional chaining in line 8, which should fix the parse error

const name = ((req.query && req.query.name) || '').toLowerCase()

ESLint caches all the installed dependencies, so it probably just hadn’t updated the cache yet when it gave you that error. I’d double check that the version for axis in package.json is still 0.27.2. Running rpm i -S axios may have updated it
Once you reboot VSCode, you should be able to remove the disable, and it should notice axios is installed, but if it doesn’t, it’s fine to leave it there.