-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clippy.toml
27 lines (25 loc) · 991 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
23
24
25
26
27
# Project configuration for Clippy Rust code linter.
# See full lints list at:
# https://rust-lang.github.io/rust-clippy/master/index.html
absolute-paths-allowed-crates = ["codegen", "syn"]
standard-macro-braces = [
{ name = "assert", brace = "(" },
{ name = "assert_eq", brace = "(" },
{ name = "assert_ne", brace = "(" },
{ name = "debug_assert", brace = "(" },
{ name = "debug_assert_eq", brace = "(" },
{ name = "debug_assert_ne", brace = "(" },
{ name = "format", brace = "(" },
{ name = "format_args", brace = "(" },
{ name = "format_ident", brace = "(" },
{ name = "matches", brace = "(" },
{ name = "panic", brace = "(" },
{ name = "parse_quote", brace = "{" },
{ name = "print", brace = "(" },
{ name = "println", brace = "(" },
{ name = "quote", brace = "{" },
{ name = "quote_spanned", brace = "{" },
{ name = "vec", brace = "[" },
{ name = "write", brace = "(" },
{ name = "writeln", brace = "(" },
]