Diagnose problems in files after linting.
diagnostic_range(result) diagnostic_severity(result) diagnostic_from_lint(result)