Skip to content

Commit a2dcaf1

Browse files
committed
wip
1 parent 920cfdc commit a2dcaf1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Cargo.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,25 @@ members = [
142142
"ctest-test",
143143
"libc-test",
144144
]
145+
146+
#
147+
# TODO: These should be renamed as `[workspace.lints.*]` once MSRV is abve 1.64
148+
# This way all crates can use it with `[lints] workspace=true` section
149+
#
150+
151+
[lints.rust]
152+
# TODO: make ident usage consistent in each file
153+
unused_qualifications = "allow"
154+
155+
[lints.clippy]
156+
# TODO: all these are default lints and should probably be fixed
157+
identity_op = "allow"
158+
if_same_then_else = "allow"
159+
missing_safety_doc = "allow"
160+
non_minimal_cfg = "allow"
161+
precedence = "allow"
162+
redundant_field_names = "allow"
163+
redundant_static_lifetimes = "allow"
164+
unnecessary_cast = "allow"
165+
unused_unit = "allow"
166+
zero_ptr = "allow"

0 commit comments

Comments
 (0)