### Required

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/error-handler.ts#L45-L318)
ES2015 module syntax is preferred over namespaces.

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/error-handler.ts#L64-L64)[\[2\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L372-L372)[\[3\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L393-L393)[\[4\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/main.ts#L48-L48)[\[5\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/main.ts#L60-L60)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L371-L371)[\[2\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L390-L390)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/settings-tab.ts#L25-L25)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/settings-tab.ts#L25-L25)
Use sentence case for UI text.



---

### Optional

[\[1\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L150-L150)[\[2\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L162-L162)[\[3\]](https://github.com/atman-33/double-click-image-opener/blob/53db065b2b149972121fa883ad98896b6022cc37/src/lib/image-event-handler.ts#L209-L209)
'_decodeError' is defined but never used.

