mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
23 lines
497 B
JSON
23 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
|
|
}
|
|
}
|
|
]
|
|
}
|