WIP: allow using nff as a diagnostics source #1

Draft
NotAShelf wants to merge 26 commits from diagnostics into main
Showing only changes of commit d1cad19fea - Show all commits

lint: better error handling; count "faultly" files

raf 2025-06-02 14:11:23 +03:00
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -42,6 +42,8 @@ enum FormatterError {
enum LintError {
#[error("Lint errors found in {file_count} file(s)")]
DiagnosticErrors { file_count: usize },
#[error("File discovery error: {0}")]
FileDiscovery(#[from] anyhow::Error),
}
#[derive(Parser, Debug, Clone)]