-
Notifications
You must be signed in to change notification settings - Fork 71
/
.clippy.toml
40 lines (35 loc) · 1.17 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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 = [
"base64",
"clap",
"gherkin",
"syn",
"tracing",
"tracing_subscriber",
]
doc-valid-idents = ["JUnit"]
ignore-interior-mutability = ["cucumber::step::HashableRegex"]
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 = "(" },
]
type-complexity-threshold = 300