swc/clippy.toml

27 lines
363 B
TOML

cognitive-complexity-threshold = 50
disallowed-names = [
"bool",
"char",
"str",
"f32",
"f64",
"i8",
"i16",
"i32",
"i64",
"u8",
"u16",
"u32",
"u64",
"isize",
"usize",
]
ignore-interior-mutability = [
"bytes::Bytes",
"swc_atoms::Atom",
"swc_atoms::JsWord",
"swc_ecma_ast::Id",
]
msrv = "1.71"
type-complexity-threshold = 25000