At the moment I am using eslint with this config:
{
> "extends": "google",
> "installedESLint": true
> }
When linting this function:
app.get('/', (req, res) => {
> console.log(req);
> res.send('hello world')
> });
I get:
> ESlint: Parsing error: Assigning to rvalue
But, my code runs without problems.
Can someone explain what this error means and what am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.