]> git.openstreetmap.org Git - rails.git/commitdiff
Bump allowed ECMAScript version to 2021 (ES12)
authorTom Hughes <tom@compton.nu>
Thu, 16 Jan 2025 19:08:50 +0000 (19:08 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 16 Jan 2025 19:08:51 +0000 (19:08 +0000)
config/eslint.js

index fac9d555b55ebbaf6aec18a9f82454a9edbf58f2..b4d0429e4ae8417db3fbfe4b3324fe721e20fc39 100644 (file)
@@ -5,7 +5,7 @@ module.exports = [
   js.configs.recommended,
   {
     languageOptions: {
-      ecmaVersion: 2015,
+      ecmaVersion: 2021,
       sourceType: "script",
       globals: {
         ...globals.browser,