style: fix prettier formatting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 21:59:16 -05:00
parent 672caec903
commit 1f110a2846
3 changed files with 7 additions and 27 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "polaris-headlamp-plugin",
"version": "0.0.3",
"version": "0.0.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "polaris-headlamp-plugin",
"version": "0.0.3",
"version": "0.0.5",
"devDependencies": {
"@kinvolk/headlamp-plugin": "^0.13.0"
}
Binary file not shown.
+5 -25
View File
@@ -32,11 +32,7 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
rows={[
{
name: 'Cluster Score',
value: (
<StatusLabel status={status}>
{score}%
</StatusLabel>
),
value: <StatusLabel status={status}>{score}%</StatusLabel>,
},
]}
/>
@@ -47,27 +43,15 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
{ name: 'Total Checks', value: String(props.counts.total) },
{
name: 'Pass',
value: (
<StatusLabel status="success">
{props.counts.pass}
</StatusLabel>
),
value: <StatusLabel status="success">{props.counts.pass}</StatusLabel>,
},
{
name: 'Warning',
value: (
<StatusLabel status="warning">
{props.counts.warning}
</StatusLabel>
),
value: <StatusLabel status="warning">{props.counts.warning}</StatusLabel>,
},
{
name: 'Danger',
value: (
<StatusLabel status="error">
{props.counts.danger}
</StatusLabel>
),
value: <StatusLabel status="error">{props.counts.danger}</StatusLabel>,
},
]}
/>
@@ -106,11 +90,7 @@ export default function PolarisView() {
rows={[
{
name: 'Status',
value: (
<StatusLabel status="error">
{error}
</StatusLabel>
),
value: <StatusLabel status="error">{error}</StatusLabel>,
},
]}
/>