summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-02 13:04:17 -0400
committerGitHub <noreply@github.com>2020-05-02 13:04:17 -0400
commitd581bffa15419b3b55773f1ed08a2e787e574f1f (patch)
tree2155e1db07d0417a9e964a70c2c3fb3fba5b7833 /ext/fg
parentc4ea9321dcffbda9004461a7b0027cf5c893f3c0 (diff)
Style fixes (#494)
* Place multi-line expression parentheses on the correct line * Add function-paren-newline eslint rule * Add some additional eslint rules
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/source.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js
index 0b21b5cc..b3119d40 100644
--- a/ext/fg/js/source.js
+++ b/ext/fg/js/source.js
@@ -118,7 +118,8 @@ class TextSourceRange {
return !(
style.visibility === 'hidden' ||
style.display === 'none' ||
- parseFloat(style.fontSize) === 0);
+ parseFloat(style.fontSize) === 0
+ );
}
static getRubyElement(node) {