Set ecmaVersion inside .eslintrc (#2931)

This commit is contained in:
Alexandr Garbuzov 2023-07-11 22:44:30 +03:00 committed by GitHub
parent 317a3d920e
commit 1bfad4604d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@
"prettier"
],
"parserOptions": {
"sourceType": "module"
"sourceType": "module",
"ecmaVersion": 2022
},
"rules": {
// Possible Errors (overrides from recommended set)