move excluded check to lint_view