I am trying to configure ESLint on VSCode, but I get this error when I use async/await functions:
Async functions are not supported until Node.js 7.6.0. The configured version range is '>=6.0.0'. (node/no-unsupported-features/es-syntax)"
But here is my .eslintrc.json:
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"node": true,
"mocha": true
}
}
Am I missing something?