5f77cdb0b9
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
24 lines
497 B
JSON
24 lines
497 B
JSON
{
|
|
"rules": {
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"prefer-arrow-callback": "error"
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "js/**",
|
|
"excludedFiles": ["js/extensionPrefs/*", "js/portalHelper/*"],
|
|
"globals": {
|
|
"global": false,
|
|
"_": false,
|
|
"C_": false,
|
|
"N_": false,
|
|
"ngettext": false
|
|
}
|
|
}
|
|
]
|
|
}
|