Fix ESLint warnings