rust/tests/source/configs
IVIURRAY bf967319e2
Add config option generated_marker_line_search_limit (#5993)
`generated_marker_line_search_limit` allows users to configure how many
lines rustfmt should search for an `@generated` marker comment when
`format_generated_files=false`

---------

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2024-01-20 11:14:50 -05:00
..
blank_lines_lower_bound
brace_style
chain_width Add some basic tests for chain_width use 2021-04-21 21:27:50 -05:00
comment_width
condense_wildcard_suffixes
control_brace_style
disable_all_formatting
doc_comment_code_block_width Add width for codeblocks in comments (#5372) 2022-06-16 22:15:16 -05:00
empty_item_single_line Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
enum_discrim_align_threshold
error_on_line_overflow
fn_params_layout Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05:00
fn_single_line
force_explicit_abi
force_multiline_block
format_generated_files Add config option generated_marker_line_search_limit (#5993) 2024-01-20 11:14:50 -05:00
format_macro_bodies
format_macro_matchers
format_strings
group_imports group_imports: test and document non-consecutive imports 2022-04-11 17:46:33 -05:00
hard_tabs
imports_layout Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
indent_style
match_arm_blocks
match_arm_leading_pipes fix: correct arm leading pipe check (#4880) 2021-07-25 22:53:32 -05:00
match_block_trailing_comma
merge_derives
normalize_comments
normalize_doc_attributes tests: add normalize_doc_attributes config tests (#3630) 2019-06-16 23:46:25 +09:00
remove_nested_parens
reorder_impl_items
reorder_imports
reorder_modules
short_array_element_width_threshold Add short_item_threshold config option 2022-03-21 16:56:09 -05:00
single_line_let_else_max_width implement single_line_let_else_max_width 2023-07-01 01:06:35 -05:00
skip_children Add a test for #3493 2019-06-08 14:52:49 +09:00
space_before_colon
spaces_around_ranges backport new syntax to rustfmt 1.x (#4105) 2020-03-31 15:28:01 +09:00
struct_field_align_threshold
struct_lit_single_line
tab_spaces
trailing_comma
type_punctuation_density
use_field_init_shorthand
use_small_heuristics implement single_line_let_else_max_width 2023-07-01 01:06:35 -05:00
use_try_shorthand
where_single_line
wrap_comments