mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Enabled @typescript-eslint/no-base-to-string eslint rule again
This commit is contained in:
parent
1fe76500e8
commit
ad0a889548
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue