### Required

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L35-L35)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L59-L59)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L68-L68)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L77-L77)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L226-L226)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L250-L250)[\[7\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L22-L22)[\[8\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L32-L32)[\[9\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L42-L42)[\[10\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L52-L52)[\[11\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L70-L70)[\[12\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L79-L79)[\[13\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L323-L323)[\[14\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L802-L802)[\[15\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L806-L806)
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/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L38-L48)
Promise-returning method provided where a void return was expected by extended/implemented type 'Plugin'.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L38-L38)
Async method 'onunload' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L57-L57)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L66-L66)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L93-L93)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L148-L148)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L163-L163)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1703-L1703)[\[7\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L19-L19)[\[8\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L29-L29)[\[9\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L59-L59)[\[10\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L68-L68)[\[11\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L77-L77)[\[12\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L257-L257)[\[13\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L278-L278)[\[14\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L18-L18)[\[15\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L37-L37)[\[16\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L41-L41)[\[17\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L42-L42)[\[18\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L51-L51)[\[19\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L52-L52)[\[20\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L59-L59)[\[21\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L73-L73)[\[22\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L91-L91)[\[23\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L102-L102)[\[24\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L116-L116)[\[25\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L120-L120)[\[26\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L133-L133)[\[27\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L144-L144)[\[28\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L147-L147)[\[29\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L163-L163)[\[30\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L167-L167)[\[31\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L178-L178)[\[32\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L195-L195)[\[33\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L211-L211)[\[34\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L216-L216)[\[35\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L236-L236)[\[36\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L255-L255)[\[37\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L264-L264)[\[38\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L277-L277)[\[39\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L308-L308)[\[40\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L69-L69)
Use sentence case for UI text.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L265-L265)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L375-L375)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L544-L544)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L636-L636)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L637-L637)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L638-L638)[\[7\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L642-L642)[\[8\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L642-L642)[\[9\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L644-L644)[\[10\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L653-L653)[\[11\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L654-L654)[\[12\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L710-L710)[\[13\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L746-L746)[\[14\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L835-L835)[\[15\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L875-L875)[\[16\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L990-L990)[\[17\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1735-L1735)[\[18\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L259-L259)[\[19\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/types.ts#L60-L60)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L295-L295)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L366-L366)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L372-L372)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L382-L382)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L386-L386)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L393-L393)[\[7\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L414-L414)[\[8\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L423-L423)[\[9\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L442-L442)[\[10\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L453-L453)[\[11\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L465-L465)[\[12\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L472-L472)[\[13\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L475-L475)[\[14\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L490-L490)[\[15\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L528-L528)[\[16\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L590-L590)[\[17\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L637-L637)[\[18\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L683-L683)[\[19\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L693-L693)[\[20\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L727-L727)[\[21\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L768-L768)[\[22\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L774-L774)[\[23\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L795-L795)[\[24\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L799-L799)[\[25\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L807-L807)[\[26\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L883-L883)[\[27\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L887-L887)[\[28\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L902-L902)[\[29\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L920-L920)[\[30\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L939-L939)[\[31\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L986-L986)[\[32\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1000-L1000)[\[33\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1001-L1001)[\[34\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1005-L1005)[\[35\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1020-L1020)[\[36\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1037-L1037)[\[37\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1102-L1102)[\[38\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1134-L1134)[\[39\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1142-L1142)[\[40\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1150-L1150)[\[41\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1157-L1157)[\[42\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1159-L1159)[\[43\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1164-L1164)[\[44\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1179-L1179)[\[45\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1189-L1189)[\[46\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1206-L1206)[\[47\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1214-L1214)[\[48\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1226-L1226)[\[49\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1229-L1229)[\[50\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1249-L1249)[\[51\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1269-L1269)[\[52\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1270-L1270)[\[53\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1274-L1274)[\[54\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1279-L1279)[\[55\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1286-L1286)[\[56\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1291-L1291)[\[57\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1296-L1296)[\[58\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1320-L1320)[\[59\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1330-L1330)[\[60\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1339-L1339)[\[61\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1342-L1342)[\[62\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1344-L1344)[\[63\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1426-L1426)[\[64\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1497-L1497)[\[65\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1575-L1575)[\[66\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1634-L1634)[\[67\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1636-L1636)[\[68\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1639-L1639)[\[69\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1642-L1642)[\[70\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1750-L1750)[\[71\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1753-L1753)[\[72\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1756-L1756)[\[73\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1863-L1863)[\[74\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L25-L25)[\[75\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L36-L36)[\[76\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L42-L42)[\[77\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L49-L49)[\[78\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L57-L57)[\[79\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L75-L75)[\[80\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L85-L85)[\[81\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L102-L102)[\[82\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L149-L149)[\[83\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L154-L154)[\[84\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L161-L161)[\[85\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L168-L168)[\[86\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L177-L177)[\[87\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L185-L185)[\[88\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L191-L191)[\[89\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L197-L197)[\[90\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L203-L203)[\[91\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-manager.ts#L205-L205)[\[92\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L264-L264)[\[93\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L276-L276)[\[94\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L290-L290)[\[95\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L320-L320)[\[96\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L323-L323)[\[97\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L335-L335)[\[98\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L339-L339)[\[99\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L344-L344)[\[100\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L351-L351)[\[101\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L358-L358)[\[102\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L362-L362)[\[103\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L373-L373)[\[104\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L380-L380)[\[105\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L395-L395)[\[106\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L403-L403)[\[107\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L413-L413)[\[108\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L434-L434)[\[109\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L443-L443)[\[110\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L456-L456)[\[111\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L457-L457)[\[112\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L462-L462)[\[113\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L484-L484)[\[114\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L614-L614)[\[115\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L706-L706)[\[116\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L710-L710)[\[117\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L715-L715)[\[118\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L717-L717)[\[119\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L721-L721)[\[120\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L724-L724)[\[121\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L730-L730)[\[122\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L739-L739)[\[123\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L744-L744)[\[124\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L754-L754)[\[125\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L758-L758)[\[126\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L765-L765)[\[127\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L823-L823)[\[128\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L836-L836)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L377-L377)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L390-L390)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L502-L502)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L548-L548)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L550-L550)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L560-L560)[\[7\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L603-L603)[\[8\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L671-L671)[\[9\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L672-L672)[\[10\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L679-L679)[\[11\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L717-L717)[\[12\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L753-L753)[\[13\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L763-L763)[\[14\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L804-L804)[\[15\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L833-L833)[\[16\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L937-L937)[\[17\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1035-L1035)[\[18\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1083-L1083)[\[19\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1090-L1090)[\[20\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L339-L339)[\[21\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L340-L340)[\[22\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L341-L341)[\[23\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L242-L242)[\[24\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L282-L282)[\[25\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L299-L299)[\[26\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L299-L299)[\[27\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L370-L370)
A `require()` style import is forbidden.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L632-L632)
Async method 'getRealFilePath' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L831-L831)
Async method 'getPossibleFilePaths' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1176-L1176)
Async method 'replaceImageLinkInDocument' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1242-L1242)
Async method 'replaceAllImageLinksInDocument' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1551-L1551)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L95-L95)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L182-L182)
Unnecessary escape character: \).

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1781-L1781)
Async method 'selectAndUploadLocalImage' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L286-L286)
Async method 'uploadFileDialog' has no 'await' expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L18-L18)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L37-L37)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L116-L116)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L163-L163)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L211-L211)[\[6\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L216-L216)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L67-L67)
Avoid setting styles directly via `element.style.marginBottom`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L68-L68)
Avoid setting styles directly via `element.style.padding`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L69-L69)
Avoid setting styles directly via `element.style.backgroundColor`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L70-L70)
Avoid setting styles directly via `element.style.borderRadius`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L71-L71)
Avoid setting styles directly via `element.style.fontSize`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L75-L75)
Avoid setting styles directly via `element.style.margin`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L76-L76)
Avoid setting styles directly via `element.style.paddingLeft`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L290-L290)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L462-L462)
Invalid type "unknown" of template literal expression.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L526-L526)
This assertion is unnecessary since it does not change the type of the expression.



---

### Optional

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L687-L687)
'e' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L720-L720)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L766-L766)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L379-L379)
'accessError' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1097-L1097)[\[2\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L270-L270)[\[3\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L521-L521)[\[4\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L538-L538)[\[5\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L660-L660)
'error' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/main.ts#L1559-L1559)
'fullMatch' is assigned a value but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L1-L1)
'Plugin' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L1-L1)
'TFile' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/commands.ts#L3-L3)
'UploadResult' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L3-L3)
'PluginSettings' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/settings-tab.ts#L3-L3)
'DEFAULT_SETTINGS' is defined but never used.

[\[1\]](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/f248abb8f9059bceb4469b830bc239013f4b434f/src/upic-uploader.ts#L419-L419)
'errorMessage' is assigned a value but never used.

