[gnome-shell] lint: Require spaces inside braces in object literals



commit 109b8e8f38ff0be94e3cb2fab90ca1dc916af71e
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Jan 27 22:25:30 2019 +0100

    lint: Require spaces inside braces in object literals
    
    Prohibiting spaces where the established GNOME style has required
    them for a decade would be a harsh change for no good reason.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/609

 lint/eslintrc-shell.json | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json
index f59417c44..f2524a6df 100644
--- a/lint/eslintrc-shell.json
+++ b/lint/eslintrc-shell.json
@@ -1,4 +1,11 @@
 {
+    "rules": {
+        "object-curly-spacing": [
+            "error",
+            "always"
+        ]
+    },
+
     "overrides": [
         {
             "files": "js/**",


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