mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
84cec8766d
**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.
27 lines
363 B
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.58"
|
|
type-complexity-threshold = 25000
|