Remove bar from blacklisted names
This commit is contained in:
parent
742706511c
commit
f663a21c8f
2 changed files with 14 additions and 11 deletions
|
|
@ -107,7 +107,7 @@ macro_rules! define_Conf {
|
|||
pub use self::helpers::Conf;
|
||||
define_Conf! {
|
||||
/// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about
|
||||
(blacklisted_names, "blacklisted_names": Vec<String>, ["foo", "bar", "baz", "quux"].iter().map(ToString::to_string).collect()),
|
||||
(blacklisted_names, "blacklisted_names": Vec<String>, ["foo", "baz", "quux"].iter().map(ToString::to_string).collect()),
|
||||
/// Lint: COGNITIVE_COMPLEXITY. The maximum cognitive complexity a function can have
|
||||
(cognitive_complexity_threshold, "cognitive_complexity_threshold": u64, 25),
|
||||
/// DEPRECATED LINT: CYCLOMATIC_COMPLEXITY. Use the Cognitive Complexity lint instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue