### Required

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/main.ts#L56-L56)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/applyChartSettings.ts#L31-L31)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/main.ts#L62-L62)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderBarChart.ts#L49-L49)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderLineChart.ts#L23-L23)[\[3\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/validateChartRoles.ts#L17-L17)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderBarChart.ts#L84-L84)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderChartSettingsBlock.ts#L87-L87)[\[3\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderHeatmapChart.ts#L148-L148)[\[4\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderLineChart.ts#L82-L82)[\[5\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderPieChart.ts#L64-L64)[\[6\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/customColorscaleSetting.ts#L209-L209)[\[7\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-tab.ts#L91-L91)
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/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/renderers/renderChartSettingsBlock.ts#L80-L80)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L107-L107)[\[3\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/folderSetting.ts#L54-L54)
Unexpected `await` of a non-Promise (non-"Thenable") value.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/colorUtils.ts#L65-L69)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/colorUtils.ts#L71-L75)[\[3\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/helpers/dragDrop.ts#L44-L51)[\[4\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L67-L67)[\[5\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L82-L82)[\[6\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L83-L83)[\[7\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L84-L84)[\[8\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L85-L85)[\[9\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/chartTypeSetting.ts#L17-L18)[\[10\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/colorSettings.ts#L131-L135)[\[11\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/colorSettings.ts#L154-L161)[\[12\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/createRoleFieldRow.ts#L54-L77)[\[13\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/createRoleFieldRow.ts#L129-L135)[\[14\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/fontSettings.ts#L23-L30)[\[15\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/marginSetting.ts#L38-L42)[\[16\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-tab.ts#L55-L55)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/helpers/updateFieldsFromFolder.ts#L4-L4)
Async function 'updateFieldsFromFolder' has no 'await' expression.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/newChartModal.ts#L47-L125)
Promise-returning method provided where a void return was expected by extended/implemented type 'Modal'.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/applyChartSettings.ts#L5-L5)
Async function 'renderApplyChartSettings' has no 'await' expression.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/applyChartSettings.ts#L20-L20)[\[2\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/applyChartSettings.ts#L25-L25)[\[3\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/customColorscaleSetting.ts#L183-L183)[\[4\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/customColorscaleSetting.ts#L193-L193)[\[5\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/deleteChartSetting.ts#L12-L12)[\[6\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/folderSetting.ts#L48-L48)[\[7\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/limitEntriesSetting.ts#L13-L13)[\[8\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/limitEntriesSetting.ts#L16-L16)[\[9\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/sortOrderSettings.ts#L14-L14)[\[10\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/sortOrderSettings.ts#L15-L15)[\[11\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-tab.ts#L67-L67)
Use sentence case for UI text.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/colorSettings.ts#L125-L125)
Avoid setting styles directly via `element.style.backgroundImage`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-sections/customColorscaleSetting.ts#L234-L234)
Avoid setting styles directly via `element.style.background`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Scottua25/Frontmatter_Charts_plugin/blob/156678f34df0728ff58ffe0ef15024ff6124907f/src/settings-tab.ts#L35-L94)
Promise-returning method provided where a void return was expected by extended/implemented type 'PluginSettingTab'.



---

### Optional

