turn into minimal wrapper around linting api