[gnome-shell/gnome-3-38] lint: Partially sync config with gjs



commit 4da5562a0e71dd6e5cb2d812ac0e481371e949f2
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Dec 11 02:05:31 2020 +0100

    lint: Partially sync config with gjs
    
    One of the fixes that landed in 3.38.2 uses optional chaining which
    requires bumping the ecma version to be recognized by eslint.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1530
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1530>

 lint/eslintrc-gjs.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lint/eslintrc-gjs.yml b/lint/eslintrc-gjs.yml
index 3fa6b86b58..58324e3886 100644
--- a/lint/eslintrc-gjs.yml
+++ b/lint/eslintrc-gjs.yml
@@ -226,4 +226,4 @@ globals:
   print: readonly
   printerr: readonly
 parserOptions:
-  ecmaVersion: 2019
+  ecmaVersion: 2020


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]