diff --git a/.eslintrc b/.eslintrc index ce1b40c7..8555963a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -17,11 +17,10 @@ "rules": { "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/naming-convention": "off", - "@typescript-eslint/ban-types": "off", - "@typescript-eslint/no-base-to-string": "off", "no-nonoctal-decimal-escape": "off" } } diff --git a/src/utils/helpers/charts.ts b/src/utils/helpers/charts.ts index fcc6f1fb..e47d1b22 100644 --- a/src/utils/helpers/charts.ts +++ b/src/utils/helpers/charts.ts @@ -26,5 +26,5 @@ export const renderDoughnutChartLabel = ( && datasets?.[datasetIndex]?.data?.[index] || ''; - return `${datasetLabel}: ${prettify(Number(value))}`; + return `${datasetLabel}: ${prettify(Number(value))}`; // eslint-disable-line @typescript-eslint/no-base-to-string };