blob: c553f8eb229d9ea96c3fcb44bdb72577e5454a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
[workspace]
members = ["dungeon", "game", "graphics"]
resolver = "2"
[workspace.lints.clippy]
# nursery
branches_sharing_code = "warn"
collection_is_never_read = "warn"
derive_partial_eq_without_eq = "warn"
return_self_not_must_use = "warn"
use_self = "warn"
# pedantic
cast_possible_wrap = "warn"
cast_possible_truncation = "warn"
inconsistent_struct_constructor = "warn"
manual_assert = "warn"
map_unwrap_or = "warn"
needless_pass_by_value = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
uninlined_format_args = "warn"
unused_self = "warn"
unnested_or_patterns = "warn"
used_underscore_binding = "warn"
# restriction
allow_attributes = "warn"
expect_used = "deny"
shadow_reuse = "warn"
unwrap_used = "deny"
|