mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-18 20:46:19 +00:00
Enabled @typescript-eslint/no-base-to-string eslint rule again
This commit is contained in:
@@ -17,11 +17,10 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||||
|
"@typescript-eslint/ban-types": "off",
|
||||||
|
|
||||||
"@typescript-eslint/no-unsafe-return": "off",
|
"@typescript-eslint/no-unsafe-return": "off",
|
||||||
"@typescript-eslint/naming-convention": "off",
|
"@typescript-eslint/naming-convention": "off",
|
||||||
"@typescript-eslint/ban-types": "off",
|
|
||||||
"@typescript-eslint/no-base-to-string": "off",
|
|
||||||
"no-nonoctal-decimal-escape": "off"
|
"no-nonoctal-decimal-escape": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,5 +26,5 @@ export const renderDoughnutChartLabel = (
|
|||||||
&& datasets?.[datasetIndex]?.data?.[index]
|
&& datasets?.[datasetIndex]?.data?.[index]
|
||||||
|| '';
|
|| '';
|
||||||
|
|
||||||
return `${datasetLabel}: ${prettify(Number(value))}`;
|
return `${datasetLabel}: ${prettify(Number(value))}`; // eslint-disable-line @typescript-eslint/no-base-to-string
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user