You've already forked lint-policy
Ensure lint names are underscored for the future
This commit is contained in:
@@ -226,5 +226,5 @@ fn strip_lint_name(linter: Linter, name: &str) -> String {
|
||||
name.strip_prefix(linter.as_ref())
|
||||
.and_then(|name| name.strip_prefix("::"))
|
||||
.unwrap_or(name)
|
||||
.to_owned()
|
||||
.replace('-', "_")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user