lint: Tweak the whitelist of globals
gjs doesn't include any gettext wrappers, and obviously can't know about the shell's global object, so include those in the list of globals. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"extends": [
|
||||
"./lint/eslintrc-gjs.json"
|
||||
"./lint/eslintrc-gjs.json",
|
||||
"./lint/eslintrc-shell.json"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"globals": {
|
||||
"global": false,
|
||||
"_": false,
|
||||
"C_": false,
|
||||
"N_": false,
|
||||
"ngettext": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user