Commit 5d3da0c
committed
docs(claude): close unlinkSync loophole in Safe Deletion rule
The prior rule only named fs.rm/rmSync/rm -rf, which left
fs.unlink/unlinkSync as an unintentional escape hatch. Expand the
rule to cover every sync + async delete primitive, and surface
safeDeleteSync as the sync variant so contributors don't invent
their own direct-node-fs workarounds when the surrounding code is
sync.1 parent 89c1b43 commit 5d3da0c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments