Bump ESLint ecmaVersion to 2020.
It wasn't aware of optional chaining.
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018
|
||||
"ecmaVersion": 2020
|
||||
},
|
||||
"rules": {
|
||||
"accessor-pairs": "error",
|
||||
|
||||
Reference in New Issue
Block a user