lint: Enforce arrow notation

We replaced all Lang.bind() calls with arrow functions or the standardized
Function.prototype.bind(), at least for the former eslint has some options
to ensure that the old custom doesn't sneak back in.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/609
This commit is contained in:
Florian Müllner 2019-01-28 01:39:54 +01:00 committed by Georges Basile Stavracas Neto
parent 109b8e8f38
commit 5f77cdb0b9

View File

@ -3,7 +3,8 @@
"object-curly-spacing": [ "object-curly-spacing": [
"error", "error",
"always" "always"
] ],
"prefer-arrow-callback": "error"
}, },
"overrides": [ "overrides": [