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

### Required

[[1](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L294)][[2](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L295)][[3](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L314)][[4](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L315)][[5](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L320)][[6](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/role-suggestion-dropdown.ts#L321)][[7](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/settings/task-roles-settings-tab.ts#L62)][[8](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/settings/task-roles-settings-tab.ts#L68)][[9](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L30)][[10](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L31)][[11](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L32)][[12](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L33)][[13](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L34)][[14](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L35)][[15](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L36)][[16](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L40)][[17](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L43)][[18](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L44)][[19](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L45)][[20](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L49)][[21](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L50)][[22](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L53)][[23](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L54)][[24](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L55)][[25](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L59)][[26](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L65)][[27](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L66)][[28](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L67)][[29](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L85)][[30](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L86)] and more :You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/modals/person-company-picker-modal.ts#L183)][[2](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/modals/person-company-picker-modal.ts#L206)][[3](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L18)][[4](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L46)][[5](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L47)][[6](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L48)][[7](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L49)][[8](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L53)][[9](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L114)][[10](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L115)][[11](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L122)][[12](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L123)][[13](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/cursor-positioning-wikilink-bug.test.ts#L124)][[14](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/role-suggestion-dropdown.test.ts#L402)][[15](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/smart-insertion-points.test.ts#L132)][[16](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/smart-insertion-points.test.ts#L133)][[17](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/smart-insertion-points.test.ts#L134)][[18](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/smart-insertion-points.test.ts#L135)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-roles.service.ts#L46)][[2](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-roles.service.ts#L73)][[3](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/services/task-query.service.ts#L14)][[4](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/components/task-card.ts#L234)][[5](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/src/main.ts#L270)][[6](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L116)][[7](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L133)][[8](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L159)][[9](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L183)][[10](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L207)][[11](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L239)][[12](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/compact-filters.test.ts#L265)][[13](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/default-roles-settings-ui.test.ts#L68)][[14](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L42-L45)][[15](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L55)][[16](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L56)][[17](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L83)][[18](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L84)][[19](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L115)][[20](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L116)][[21](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L145)][[22](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L149)][[23](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/inline-widget-setting.test.ts#L160-L163)][[24](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/role-suggestion-dropdown.test.ts#L149)][[25](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/role-suggestion-dropdown.test.ts#L860)][[26](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/settings-tab.test.ts#L31)][[27](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/task-query.service.test.ts#L24)][[28](https://github.com/lc0rp/obsidian-task-roles/blob/db972ccf25401ae7919c1f06263ce51c1b5231ec/tests/view-configuration.service.test.ts#L22)]: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.