@@ -82,3 +82,104 @@ assets = [
82
82
[" CHANGELOG.md" , " usr/share/doc/interactive-rebase-tool/" , " 644" ],
83
83
[" src/interactive-rebase-tool.1" , " usr/share/man/man1/interactive-rebase-tool.1" , " 644" ]
84
84
]
85
+
86
+ [lints .rust ]
87
+ future_incompatible = {level = " warn" , priority = -2 }
88
+ nonstandard_style = {level = " warn" , priority = -2 }
89
+ rust_2018_compatibility = {level = " warn" , priority = -2 }
90
+ rust_2018_idioms = {level = " warn" , priority = -2 }
91
+ rust_2021_compatibility = {level = " warn" , priority = -2 }
92
+ unused = {level = " warn" , priority = -2 }
93
+
94
+ unknown_lints = {level = " warn" , priority = -1 }
95
+ renamed_and_removed_lints = {level = " warn" , priority = -1 }
96
+
97
+ absolute_paths_not_starting_with_crate = " warn"
98
+ deprecated_in_future = " warn"
99
+ dead_code = " warn"
100
+ elided_lifetimes_in_paths = " warn"
101
+ explicit_outlives_requirements = " warn"
102
+ ffi_unwind_calls = " warn"
103
+ keyword_idents = " warn"
104
+ let_underscore_drop = " warn"
105
+ macro_use_extern_crate = " warn"
106
+ meta_variable_misuse = " warn"
107
+ missing_abi = " warn"
108
+ missing_copy_implementations = " warn"
109
+ missing_debug_implementations = " warn"
110
+ non_ascii_idents = " warn"
111
+ noop_method_call = " warn"
112
+ pointer_structural_match = " warn"
113
+ rust_2021_incompatible_closure_captures = " warn"
114
+ rust_2021_incompatible_or_patterns = " warn"
115
+ rust_2021_prefixes_incompatible_syntax = " warn"
116
+ rust_2021_prelude_collisions = " warn"
117
+ single_use_lifetimes = " warn"
118
+ trivial_casts = " warn"
119
+ trivial_numeric_casts = " warn"
120
+ unreachable_pub = " warn"
121
+ unsafe_code = " warn"
122
+ unsafe_op_in_unsafe_fn = " warn"
123
+ unused_crate_dependencies = " warn"
124
+ unused_extern_crates = " warn"
125
+ unused_import_braces = " warn"
126
+ unused_lifetimes = " warn"
127
+ unused_macro_rules = " warn"
128
+ unused_qualifications = " warn"
129
+ unused_results = " warn"
130
+ unused_tuple_struct_fields = " warn"
131
+ variant_size_differences = " warn"
132
+
133
+ [lints .clippy ]
134
+ all = {level = " warn" , priority = -2 }
135
+ cargo = {level = " warn" , priority = -2 }
136
+ pedantic = {level = " warn" , priority = -2 }
137
+ restriction = {level = " warn" , priority = -2 }
138
+
139
+ blanket_clippy_restriction_lints = {level = " allow" , priority = 5 }
140
+ absolute_paths = " allow"
141
+ as_conversions = " allow"
142
+ arithmetic_side_effects = " allow"
143
+ bool_to_int_with_if = " allow"
144
+ default_numeric_fallback = " allow"
145
+ else_if_without_else = " allow"
146
+ expect_used = " allow"
147
+ float_arithmetic = " allow"
148
+ implicit_return = " allow"
149
+ indexing_slicing = " allow"
150
+ map_err_ignore = " allow"
151
+ min_ident_chars = " allow"
152
+ missing_docs_in_private_items = " allow"
153
+ missing_trait_methods = " allow"
154
+ module_name_repetitions = " allow"
155
+ needless_raw_string_hashes = " allow"
156
+ needless_raw_strings = " allow"
157
+ new_without_default = " allow"
158
+ non_ascii_literal = " allow"
159
+ option_if_let_else = " allow"
160
+ pattern_type_mismatch = " allow"
161
+ pub_use = " allow"
162
+ pub_with_shorthand = " allow"
163
+ question_mark_used = " allow"
164
+ redundant_closure_call = " allow"
165
+ redundant_closure_for_method_calls = " allow"
166
+ redundant_pub_crate = " allow"
167
+ ref_patterns = " allow"
168
+ self_named_module_files = " allow"
169
+ single_call_fn = " allow"
170
+ std_instead_of_alloc = " allow"
171
+ std_instead_of_core = " allow"
172
+ tabs_in_doc_comments = " allow"
173
+ tests_outside_test_module = " allow"
174
+ too_many_lines = " allow"
175
+ unwrap_used = " allow"
176
+ wildcard_enum_match_arm = " allow"
177
+
178
+ [lints .rustdoc ]
179
+ bare_urls = " warn"
180
+ broken_intra_doc_links = " warn"
181
+ invalid_codeblock_attributes = " warn"
182
+ invalid_html_tags = " warn"
183
+ missing_crate_level_docs = " allow"
184
+ private_doc_tests = " warn"
185
+ private_intra_doc_links = " warn"
0 commit comments