Substitute bitwise operation in ESLint
For power of two you can use Math.pow
const scale = Math.pow( 2, zoom );
You need to add the comment //eslint-disable-line no-bitwise
on the line you'd like for es-lint to ignore
e.g.
var x = 5 << 5; //eslint-disable-line no-bitwise