### Required

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L75-L75)
Unnecessary escape character: \=.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L81-L81)
Unexpected control character(s) in regular expression: \x00, \x1f.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L551-L551)[\[2\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L560-L560)[\[3\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L574-L574)
The command ID should not include the plugin ID.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L612-L612)[\[2\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L633-L633)[\[3\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L655-L655)[\[4\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L680-L680)[\[5\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L710-L710)[\[6\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L719-L719)[\[7\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L732-L732)[\[8\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L780-L780)[\[9\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1438-L1438)[\[10\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1536-L1536)[\[11\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2043-L2043)[\[12\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2046-L2046)[\[13\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2176-L2176)[\[14\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2437-L2439)
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/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L668-L668)
`substr` is deprecated. A legacy feature for browser compatibility

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L798-L804)[\[2\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1697-L1697)[\[3\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1698-L1698)[\[4\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2062-L2062)[\[5\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2063-L2063)[\[6\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2064-L2064)[\[7\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2449-L2449)[\[8\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2482-L2487)[\[9\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2492-L2497)[\[10\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2502-L2507)[\[11\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2512-L2516)[\[12\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2521-L2526)[\[13\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2611-L2614)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1645-L1645)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2033-L2033)[\[2\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2034-L2034)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2232-L2232)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2811-L2811)
Use sentence case for UI text.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2924-L2924)
Async arrow function has no 'await' expression.



---

### Optional

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1710-L1710)[\[2\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2257-L2257)
'error' is defined but never used.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L1725-L1725)
'titleEl' is assigned a value but never used.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2530-L2530)
'saveButton' is assigned a value but never used.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2617-L2617)
'importButton' is assigned a value but never used.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2768-L2768)
'multilineSetting' is assigned a value but never used.

[\[1\]](https://github.com/tongtongsucho/regex-search/blob/725b9bdc5faec55c9321d8b1eff5ddf635a621fc/main.ts#L2782-L2782)
'helpTitle' is assigned a value but never used.

