### Required

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L2-L2)
'@codemirror/view' should be listed in the project's dependencies. Run 'npm i -S @codemirror/view' to add it

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L3-L3)
'@codemirror/state' should be listed in the project's dependencies. Run 'npm i -S @codemirror/state' to add it

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L143-L143)[\[2\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L435-L435)[\[3\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L532-L532)[\[4\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1099-L1099)[\[5\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1108-L1108)[\[6\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1232-L1232)[\[7\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1233-L1233)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L279-L279)[\[2\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L282-L282)[\[3\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L596-L596)[\[4\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L599-L599)
Avoid setting styles directly via `element.style.pointerEvents`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L310-L310)[\[2\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L792-L792)[\[3\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1282-L1300)
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/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L466-L466)
Avoid setting styles directly via `element.style.maxWidth`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L467-L467)
Avoid setting styles directly via `element.style.width`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1022-L1022)[\[2\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1026-L1026)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.



---

### Optional

[\[1\]](https://github.com/ReticentEclectic/checkbox-style-menu/blob/07dae288d9350be93990713a512198e9a12d1b67/main.ts#L1301-L1301)
'error' is defined but never used.

