File tree Expand file tree Collapse file tree 5 files changed +2
-8
lines changed
tests/ui-toml/undocumented_unsafe_blocks Expand file tree Collapse file tree 5 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -737,7 +737,7 @@ The maximum number of bounds a trait can have to be linted
737
737
## ` max-variable-name-length `
738
738
The maximum length of a variable
739
739
740
- ** Default Value:** ` 30 `
740
+ ** Default Value:** ` 100 `
741
741
742
742
---
743
743
** Affected lints:**
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ check-inconsistent-struct-field-initializers = true
4
4
5
5
lint-commented-code = true
6
6
7
- max-variable-name-length = 45
8
-
9
7
[[disallowed-methods ]]
10
8
path = " rustc_lint::context::LintContext::lint"
11
9
reason = " this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint*` functions instead"
Original file line number Diff line number Diff line change @@ -677,7 +677,7 @@ define_Conf! {
677
677
max_trait_bounds: u64 = 3 ,
678
678
/// The maximum length of a variable
679
679
#[ lints( long_variable_names) ]
680
- max_variable_name_length: u64 = 30 ,
680
+ max_variable_name_length: u64 = 100 ,
681
681
/// Minimum chars an ident can have, anything below or equal to this will be linted.
682
682
#[ lints( min_ident_chars) ]
683
683
min_ident_chars_threshold: u64 = 1 ,
Original file line number Diff line number Diff line change 1
1
# default configuration has `accept-comment-above-statement` and
2
2
# `accept-comment-above-attributes` true
3
-
4
- max-variable-name-length = 80
Original file line number Diff line number Diff line change 1
1
# test with these options disabled
2
2
accept-comment-above-statement = false
3
3
accept-comment-above-attributes = false
4
-
5
- max-variable-name-length = 80
You can’t perform that action at this time.
0 commit comments