restrict linting to modules and core