Follow-up to #79: Fix ESLint complaints

@cvrebert Should we disable this warning globally?
Haven't read the ESLint configuration docs properly, sorry.