### Required

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/controllers/routes.controller.ts#L34-L34)
Async method 'addRoute' has no 'await' expression.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/controllers/routes.controller.ts#L45-L45)[\[2\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/controllers/routes.controller.ts#L50-L50)[\[3\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/controllers/routes.controller.ts#L56-L56)[\[4\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L44-L44)[\[5\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L121-L121)[\[6\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L124-L124)
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/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/main.ts#L41-L41)[\[2\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/main.ts#L66-L66)[\[3\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/modals/AlertModal.ts#L12-L12)[\[4\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/modals/ConfirmModal.ts#L11-L11)[\[5\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L26-L26)
Use sentence case for UI text.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/main.ts#L111-L122)
Promise-returning method provided where a void return was expected by extended/implemented type 'Plugin'.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/services/FileService.ts#L135-L135)
Unexpected use of 'app'. Avoid using the global app object. Instead use the reference provided by your plugin instance.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L26-L26)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L29-L29)
Async method 'cleanRoutes' has no 'await' expression.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L54-L54)[\[2\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L59-L59)
Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L58-L58)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L64-L64)
Async method 'initDirectoryList' has no 'await' expression.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L74-L74)
Async arrow function has no 'await' expression.



---

### Optional

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/controllers/routes.controller.ts#L2-L2)
'ISettings' is defined but never used.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/services/FileService.ts#L1-L1)
'View' is defined but never used.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L1-L1)
'App' is defined but never used.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L1-L1)
'Vault' is defined but never used.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L1-L1)
'TFolder' is defined but never used.

[\[1\]](https://github.com/steven-aj/static-press/blob/3a4a69ea2f749146a82eff2c05844e2030aecac3/src/views/SettingTab.ts#L5-L5)
'FolderSetting' is defined but never used.

