mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 07:03:50 +03:00
8 lines
166 B
YAML
8 lines
166 B
YAML
|
language: rust
|
||
|
id: use-into-instead-of-assign-target-pat
|
||
|
rule:
|
||
|
all:
|
||
|
- kind: call_expression
|
||
|
- pattern: "AssignTarget::Pat($ARG)"
|
||
|
fix: $ARG.into()
|