### Required

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L21-L21)[\[2\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L330-L330)[\[3\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L330-L330)[\[4\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L330-L330)[\[5\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L371-L371)[\[6\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L380-L380)[\[7\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L383-L383)[\[8\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L409-L409)[\[9\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L417-L417)[\[10\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L760-L760)[\[11\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L760-L760)[\[12\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L760-L760)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L92-L92)[\[2\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L101-L101)[\[3\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L110-L110)[\[4\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L119-L119)[\[5\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L275-L275)[\[6\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L283-L283)[\[7\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L295-L295)
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/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L156-L156)
Async method 'createJXAScripts' has no 'await' expression.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L232-L232)[\[2\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L251-L251)[\[3\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L422-L422)[\[4\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L773-L773)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L279-L279)
Async method 'refreshTasks' has no 'await' expression.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L320-L320)[\[2\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L325-L325)[\[3\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L563-L563)[\[4\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L868-L868)[\[5\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L869-L869)[\[6\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L871-L871)
Use sentence case for UI text.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L566-L566)[\[2\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L615-L643)
Promise returned in function argument where a void return was expected.



---

### Optional

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L10-L10)
'moment' is defined but never used.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L55-L55)
'TickTickTask' is defined but never used.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L569-L569)
'completedCount' is assigned a value but never used.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L570-L570)
'totalCount' is assigned a value but never used.

[\[1\]](https://github.com/wudanyang27/ticktick-today/blob/671c3605c965ddd329257579a0ab88b43f3ed7f1/main.ts#L826-L826)
'error' is defined but never used.

