forked from mystiq/hydrogen-web
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",
|
"extends": "eslint:recommended",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 2018,
|
"ecmaVersion": 2020,
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": "off"
|
"no-console": "off"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue