diff --git a/spinifex/services/spinifexui/frontend/oxlint.config.ts b/spinifex/services/spinifexui/frontend/oxlint.config.ts index a5f46d18f..0e1e5911f 100644 --- a/spinifex/services/spinifexui/frontend/oxlint.config.ts +++ b/spinifex/services/spinifexui/frontend/oxlint.config.ts @@ -45,6 +45,7 @@ export default defineConfig({ "error", { namedComponents: "function-declaration" }, ], + "react/no-array-index-key": "error", "react/jsx-handler-names": "off", "react/todo": "off", "react-you-might-not-need-an-effect/no-event-handler": "error", diff --git a/spinifex/services/spinifexui/frontend/src/components/cli-command-panel.tsx b/spinifex/services/spinifexui/frontend/src/components/cli-command-panel.tsx index 39fd673a7..897f9b6b6 100644 --- a/spinifex/services/spinifexui/frontend/src/components/cli-command-panel.tsx +++ b/spinifex/services/spinifexui/frontend/src/components/cli-command-panel.tsx @@ -127,6 +127,7 @@ export function CliCommandPanel({ commands }: CliCommandPanelProps) {
                   
                     {cmd.parts.map((part, j) => (
+                      // oxlint-disable-next-line no-array-index-key -- positional tokens of one command, never reordered
                       
                         {part.value}
                       
diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx
index cc55e4d1a..c1840a28f 100644
--- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx
+++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx
@@ -353,6 +353,7 @@ export function CreateLoadBalancerPage() {