Fixing all Core linting warning/errors