Enabled @typescript-eslint/no-base-to-string eslint rule again

This commit is contained in:
Alejandro Celaya 2021-02-28 18:22:44 +01:00
parent 1fe76500e8
commit ad0a889548
2 changed files with 2 additions and 3 deletions

View file

@ -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"
}
}

View file

@ -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
};