### Required

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L74-L74)[\[2\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L82-L82)[\[3\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L87-L87)[\[4\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L92-L92)
The command ID should not include the plugin ID.

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L75-L75)[\[2\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L104-L104)[\[3\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L391-L391)[\[4\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L407-L407)[\[5\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L411-L411)[\[6\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L436-L436)[\[7\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L441-L441)[\[8\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L480-L480)[\[9\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L481-L481)[\[10\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L490-L490)[\[11\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L492-L492)[\[12\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L497-L497)[\[13\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L516-L516)
Use sentence case for UI text.

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L78-L78)
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator.

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L391-L391)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L427-L430)[\[2\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L466-L469)[\[3\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L601-L607)[\[4\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L616-L622)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L588-L588)
Unexpected any. Specify a different type.



---

### Optional

[\[1\]](https://github.com/panAtGitHub/anki-helper/blob/5476b844c76dc3d1ac65a9e2ba0172f459533b1f/main.ts#L577-L577)
'scopeSetting' is assigned a value but never used.

