From: Tom Hughes Date: Thu, 16 Jan 2025 19:08:50 +0000 (+0000) Subject: Bump allowed ECMAScript version to 2021 (ES12) X-Git-Tag: live~11^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/70afbd09d615b4d726a5a58c6f0910126bd8480a?ds=inline;hp=--cc Bump allowed ECMAScript version to 2021 (ES12) --- 70afbd09d615b4d726a5a58c6f0910126bd8480a diff --git a/config/eslint.js b/config/eslint.js index fac9d555b..b4d0429e4 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -5,7 +5,7 @@ module.exports = [ js.configs.recommended, { languageOptions: { - ecmaVersion: 2015, + ecmaVersion: 2021, sourceType: "script", globals: { ...globals.browser,