Make if_not_else lint Allow by default (fixes #859)
This commit is contained in:
parent
63404ff4f2
commit
12b8a0ac14
5 changed files with 5 additions and 4 deletions
|
@ -237,6 +237,7 @@ pub fn plugin_registrar(reg: &mut Registry) {
|
|||
array_indexing::INDEXING_SLICING,
|
||||
booleans::NONMINIMAL_BOOL,
|
||||
enum_glob_use::ENUM_GLOB_USE,
|
||||
if_not_else::IF_NOT_ELSE,
|
||||
matches::SINGLE_MATCH_ELSE,
|
||||
methods::OPTION_UNWRAP_USED,
|
||||
methods::RESULT_UNWRAP_USED,
|
||||
|
@ -289,7 +290,6 @@ pub fn plugin_registrar(reg: &mut Registry) {
|
|||
formatting::SUSPICIOUS_ELSE_FORMATTING,
|
||||
functions::TOO_MANY_ARGUMENTS,
|
||||
identity_op::IDENTITY_OP,
|
||||
if_not_else::IF_NOT_ELSE,
|
||||
items_after_statements::ITEMS_AFTER_STATEMENTS,
|
||||
len_zero::LEN_WITHOUT_IS_EMPTY,
|
||||
len_zero::LEN_ZERO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue