* enable esnext and fix all lint errors * Review update * Missed some * Some cleanup still * Remove leftover eslint disable
Allow switching platforms Move the Chart.platform to Chart.platform.current instead, and add ways to see available platforms and set the current platform. This is necessary for adding tests that use the "basic" platform.