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",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-console": "off"
}
};
};