update ecmascript version to 2020 so eslint permits optional chaining

This commit is contained in:
Bruno Windels 2020-08-19 11:50:26 +02:00
parent 67c94ee99d
commit f4acf7f8b1

View File

@ -5,10 +5,10 @@ module.exports = {
}, },
"extends": "eslint:recommended", "extends": "eslint:recommended",
"parserOptions": { "parserOptions": {
"ecmaVersion": 2018, "ecmaVersion": 2020,
"sourceType": "module" "sourceType": "module"
}, },
"rules": { "rules": {
"no-console": "off" "no-console": "off"
} }
}; };