update ecmascript version to 2020 so eslint permits optional chaining
This commit is contained in:
parent
67c94ee99d
commit
f4acf7f8b1
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@ module.exports = {
|
|||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018,
|
||||
"ecmaVersion": 2020,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue