Follow-up to #79: Fix ESLint complaints

@cvrebert Should we disable this warning globally?