Yes I’ve ended up adding this eslint rule based on this report: https://github.com/laurent22/joplin/blob/b0b55718cc19bcf013e04d0e293893cbf2cd52c2/.eslintrc.js#L64