cleanup: Remove empty leading/trailing lines in blocks
gjs added a new rule to its eslint ruleset that forbids "block padding", so make sure we conform to that rule before syncing up the configuration. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1498
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
7521b9c4b2
commit
8a47f1c667
@ -201,7 +201,6 @@ function removeLiterals(str) {
|
||||
// Returns true if there is reason to think that eval(str)
|
||||
// will modify the global scope
|
||||
function isUnsafeExpression(str) {
|
||||
|
||||
// Check for any sort of assignment
|
||||
// The strategy used is dumb: remove any quotes
|
||||
// or regexs and comparison operators and see if there is an '=' character.
|
||||
|
Reference in New Issue
Block a user