forked from JelteF/derive_more
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clippy.toml
22 lines (20 loc) · 835 Bytes
/
clippy.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Project configuration for Clippy Rust code linter.
# See full lints list at:
# https://rust-lang.github.io/rust-clippy/master/index.html
msrv = "1.65.0"
# Ensures consistent bracing for macro calls in the codebase.
# Extends default settings:
# https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/nonstandard_macro_braces.rs#L143-L184
standard-macro-braces = [
{ name = "assert", brace = "(" },
{ name = "assert_eq", brace = "(" },
{ name = "assert_ne", brace = "(" },
{ name = "format_ident", brace = "(" },
{ name = "panic", brace = "(" },
{ name = "parse_quote", brace = "{" },
{ name = "quote", brace = "{" },
{ name = "quote_spanned", brace = "{" },
{ name = "todo", brace = "(" },
{ name = "unimplemented", brace = "(" },
{ name = "unreachable", brace = "(" },
]