resolve linting errors