Fix linting errors in ReactTransitionEvents