[gnome-shell-extensions/wip/fmuellner/lint-ci: 3/17] lint: Require spaces inside braces in object literals



commit f0b81bebc5db88d89ce4faa5ce173b3f2aa455fa
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.

 lint/eslintrc-shell.json | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json
index f0290fe..d2157c2 100644
--- a/lint/eslintrc-shell.json
+++ b/lint/eslintrc-shell.json
@@ -1,4 +1,10 @@
 {
+    "rules": {
+        "object-curly-spacing": [
+            "error",
+            "always"
+        ]
+    },
     "globals": {
         "global": false,
         "_": false,


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