Fix: remove comma spacing related errors on eslint (fixes #1319)

fixes #1319