Thank you for your submission, an automated scan of your plugin code's revealed the following issues:



---

### Optional

[[1](https://github.com/Sohil1926/obsidian-auto-delete-attachments/blob/7aa47fc3dc180d5c1d2db97d6a646d83f3b44b4b/main.ts#L149)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.



---



Do <b>NOT</b> open a new PR for re-validation.
