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

### Required

[[1](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L224)]:Do not detach leaves with your custom view in `onunload`, this is an antipattern, see: <https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Don't+detach+leaves+in+%60onunload%60>

[[1](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/services/DailyNoteService.ts#L119)][[2](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/services/TaskService.ts#L48)][[3](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L59)][[4](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L61)][[5](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L66)][[6](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L70)][[7](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L107)][[8](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L141)][[9](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L168)][[10](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L204)][[11](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/main.tsx#L221)][[12](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/views/GTDMainView.tsx#L59)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/services/FileService.ts#L178)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.

[[1](https://github.com/COHI3rd/obsidian-gtd-plugin/blob/6533e9b838777b128f60f69242d91c19eea3e16f/src/services/TaskService.ts#L171)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.