You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now our .eslintrc.js config file is set to use ecma version 2021, and I'd like to bump it to 2022. Here is a link that briefly describes some changes: https://dev.to/jasmin/whats-new-in-es2022-1de6
In particular, I like the d regex flag for matching indices. It is used in editor.jsx line 155 right now. Because it is not in ECMA 2021, it throws a lint error, but it works in the browser.
Any objection? Or want to go further, to ECMA 2023? Or we can set the config to use lastest. I don't have any need for anything beyond 2022 (except 2024 may include Temporal when it comes out).
The text was updated successfully, but these errors were encountered:
Your idea:
Right now our
.eslintrc.js
config file is set to use ecma version 2021, and I'd like to bump it to 2022. Here is a link that briefly describes some changes: https://dev.to/jasmin/whats-new-in-es2022-1de6In particular, I like the
d
regex flag for matching indices. It is used ineditor.jsx
line 155 right now. Because it is not in ECMA 2021, it throws a lint error, but it works in the browser.Any objection? Or want to go further, to ECMA 2023? Or we can set the config to use
lastest
. I don't have any need for anything beyond 2022 (except 2024 may include Temporal when it comes out).The text was updated successfully, but these errors were encountered: