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:
Florian Müllner
2020-11-13 23:52:26 +01:00
committed by Georges Basile Stavracas Neto
parent 7521b9c4b2
commit 8a47f1c667
22 changed files with 1 additions and 27 deletions

View File

@ -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.