pub enum LintCheck {
CodeResultsSubdirPairing,
CodeResultsSubdirRegex,
CodeSubdirReadmes,
CodeSubdirWorkflows,
DataSubdirReadmes,
RootDirs,
RootFiles,
}Expand description
The linting checks that are currently supported.
Lint codes available in a configuration file are snake_case versions of
the enum names here.
Variants§
CodeResultsSubdirPairing
Check that every subdirectory within the project’s code
directory has a corresponding subdirectory with the same name in the
results directory, and vice versa.
CodeResultsSubdirRegex
All subdirectories within the project’s code
and results directory should
have names that match the regular expression in
code_results_subdir_regex.
CodeSubdirReadmes
Each subdirectory within the project’s code
directory should contain a README file.
CodeSubdirWorkflows
Each subdirectory within the project’s code
directory should contain a workflow file.
DataSubdirReadmes
Each subdirectory within the project’s data
directory should contain a README file.
RootDirs
Check for a set of required directories that should be present in the project’s root directory.
RootFiles
Check for a set of required files that should be present in the project’s root directory.