Bump ESLint ecmaVersion to 2020.

It wasn't aware of optional chaining.
This commit is contained in:
wn_ 2025-03-30 18:12:55 +00:00
parent ca751c10e1
commit fdf9a08197

View File

@ -7,7 +7,7 @@ module.exports = {
}, },
"extends": "eslint:recommended", "extends": "eslint:recommended",
"parserOptions": { "parserOptions": {
"ecmaVersion": 2018 "ecmaVersion": 2020
}, },
"rules": { "rules": {
"accessor-pairs": "error", "accessor-pairs": "error",