diff --git a/src/article/shared/FigureLabelGenerator.js b/src/article/shared/FigureLabelGenerator.js
index <HASH>..<HASH> 100644
--- a/src/article/shared/FigureLabelGenerator.js
+++ b/src/article/shared/FigureLabelGenerator.js
@@ -20,7 +20,7 @@ export default class FigureLabelGenerator {
   }
 
   getLabel (...defs) {
-    if (!defs || defs.length === 0) return this.config.invalid
+    if (defs.length === 0) return this.config.invalid
     // Note: normalizing args so that every def is a tuple
     defs = defs.map(d => {
       if (!isArray(d)) return [d]
diff --git a/src/kit/shared/throwMethodIsAbstract.js b/src/kit/shared/throwMethodIsAbstract.js
index <HASH>..<HASH> 100644
--- a/src/kit/shared/throwMethodIsAbstract.js
+++ b/src/kit/shared/throwMethodIsAbstract.js
@@ -1,3 +1,3 @@
-export function throwMethodIsAbstract () {
+export default function throwMethodIsAbstract () {
   throw new Error('This method is abstract.')
 }
Fix issues detected by lgtm.