Skip to content

lint: Require spaces in object literals

Florian Müllner requested to merge fmuellner/gjs:tweak-lint-config into master

The current rule is the exact opposite of what our style guide has been asking for for a decade.

In fact, it still does: https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Style_Guide.md#object-literal-syntax

(So does http://gjs.guide/guides/gjs/style-guide.html#use-spaces-inside-curly-braces, but I don't know how offical that page is)

It therefore seems more appropriate to adjust the rule than all the "non-compliant" code.

Merge request reports