mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 08:59:23 +00:00
723f515b60
Rename unconventional -> nonstandard, add config field Add standard_macro_braces fields so users can specify macro names and brace combinations to lint for in the clippy.toml file. Fix errors caused by nonstandard_macro_braces in other lint tests Fix users ability to override the default nonstandard macro braces Add type position macros impl `check_ty`
6 lines
187 B
TOML
6 lines
187 B
TOML
standard-macro-braces = [
|
|
{ name = "quote", brace = "{" },
|
|
{ name = "quote::quote", brace = "{" },
|
|
{ name = "eprint", brace = "[" },
|
|
{ name = "type_pos", brace = "[" },
|
|
]
|