Fixing eslint errors in codebase

Fixing a bunch of `Infix operators` errors. The only errors left are no-fallthrough