Commit d0bc28cd authored by Florian Müllner's avatar Florian Müllner

lint: Don't require indent for GObject.registerClass()

The function will eventually be replaced with decorators, and we don't
want to re-indent all GObject class when that happens, so allow class
declarations with no indent:

    class Foo extends GObject.Object {

[skip eslint] as this will change the eslint outcome.
parent cbf36f6d
......@@ -25,6 +25,9 @@
"ignoredNodes": [
"CallExpression[][] > ClassExpression:first-child"
"MemberExpression": "off"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment