swc/clippy.toml
Donny/강동윤 84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**Description:**

This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.



**Related issue:**

 - #4946.
2023-10-08 00:39:51 +00:00

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.58"
type-complexity-threshold = 25000