
> route-commerce-platform@2.0.0 lint
> eslint


/home/tyler/dev/routecomm/db/schema/brands.ts
  12:3  warning  'index' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/db/schema/customers.ts
  10:3  warning  'varchar' is defined but never used  @typescript-eslint/no-unused-vars
  11:3  warning  'bigint' is defined but never used   @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/db/schema/marketing.ts
  45:52  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/tyler/dev/routecomm/db/schema/water-log.ts
  27:3  warning  'check' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/playwright.config.ts
  2:8  warning  'path' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/ai-import.ts
  123:3  warning  'brandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/billing/stripe-checkout.ts
  65:9  warning  'recurring' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/communications/contacts.ts
  106:9  warning  'fullName' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/communications/import-contacts.ts
  5:21  warning  'withPlatformAdmin' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/import-orders.ts
  5:10  warning  'orders' is defined but never used      @typescript-eslint/no-unused-vars
  5:18  warning  'orderItems' is defined but never used  @typescript-eslint/no-unused-vars
  5:30  warning  'customers' is defined but never used   @typescript-eslint/no-unused-vars
  6:10  warning  'eq' is defined but never used          @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/integrations/credentials.ts
  171:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars
  201:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/route-trace/lots.ts
  202:58  warning  '_status' is defined but never used          @typescript-eslint/no-unused-vars
  208:46  warning  '_lotId' is defined but never used           @typescript-eslint/no-unused-vars
  234:3   warning  '_data' is defined but never used            @typescript-eslint/no-unused-vars
  242:3   warning  '_lotId' is defined but never used           @typescript-eslint/no-unused-vars
  243:3   warning  '_status' is defined but never used          @typescript-eslint/no-unused-vars
  244:3   warning  '_location' is defined but never used        @typescript-eslint/no-unused-vars
  245:3   warning  '_notes' is defined but never used           @typescript-eslint/no-unused-vars
  246:3   warning  '_binId' is defined but never used           @typescript-eslint/no-unused-vars
  270:58  warning  '_query' is defined but never used           @typescript-eslint/no-unused-vars
  276:37  warning  '_lotId' is defined but never used           @typescript-eslint/no-unused-vars
  294:36  warning  '_lotId' is defined but never used           @typescript-eslint/no-unused-vars
  316:3   warning  '_lotId' is defined but never used           @typescript-eslint/no-unused-vars
  317:3   warning  '_orderId' is defined but never used         @typescript-eslint/no-unused-vars
  318:3   warning  '_quantityToAdd' is defined but never used   @typescript-eslint/no-unused-vars
  319:3   warning  '_notes' is defined but never used           @typescript-eslint/no-unused-vars
  328:3   warning  '_limit' is assigned a value but never used  @typescript-eslint/no-unused-vars
  345:40  warning  '_lotNumber' is defined but never used       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/shipping.ts
  19:3  warning  '_orderId' is defined but never used         @typescript-eslint/no-unused-vars
  20:3  warning  '_status' is defined but never used          @typescript-eslint/no-unused-vars
  21:3  warning  '_trackingNumber' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/shipping/fedex-rates.ts
  111:3  warning  '_brandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/square-inventory.ts
   15:16  warning  'getSquareCatalogItemVariation' is defined but never used  @typescript-eslint/no-unused-vars
   35:16  warning  'batchUpdateSquareInventory' is defined but never used     @typescript-eslint/no-unused-vars
  132:11  warning  'updates' is assigned a value but never used               @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/tax.ts
  108:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/time-tracking/field.ts
   31:7   warning  'COOKIE_MAX_AGE' is assigned a value but never used  @typescript-eslint/no-unused-vars
   33:10  warning  'sessionCookie' is defined but never used            @typescript-eslint/no-unused-vars
   56:3   warning  '_brandId' is defined but never used                 @typescript-eslint/no-unused-vars
   57:3   warning  '_pin' is defined but never used                     @typescript-eslint/no-unused-vars
   69:3   warning  '_taskName' is assigned a value but never used       @typescript-eslint/no-unused-vars
   79:3   warning  '_lunchMinutes' is assigned a value but never used   @typescript-eslint/no-unused-vars
   80:3   warning  '_notes' is defined but never used                   @typescript-eslint/no-unused-vars
   90:3   warning  '_brandId' is defined but never used                 @typescript-eslint/no-unused-vars
  134:3   warning  '_activeOnly' is assigned a value but never used     @typescript-eslint/no-unused-vars
  174:3   warning  '_brandId' is defined but never used                 @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/time-tracking/index.ts
   66:46  warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
   74:3   warning  '_role' is assigned a value but never used        @typescript-eslint/no-unused-vars
   75:3   warning  '_lang' is assigned a value but never used        @typescript-eslint/no-unused-vars
   82:42  warning  '_workerId' is defined but never used             @typescript-eslint/no-unused-vars
   89:3   warning  '_workerId' is defined but never used             @typescript-eslint/no-unused-vars
   90:3   warning  '_name' is defined but never used                 @typescript-eslint/no-unused-vars
   91:3   warning  '_role' is defined but never used                 @typescript-eslint/no-unused-vars
   92:3   warning  '_lang' is defined but never used                 @typescript-eslint/no-unused-vars
   93:3   warning  '_active' is defined but never used               @typescript-eslint/no-unused-vars
  100:40  warning  '_workerId' is defined but never used             @typescript-eslint/no-unused-vars
  108:62  warning  '_activeOnly' is assigned a value but never used  @typescript-eslint/no-unused-vars
  115:3   warning  '_nameEs' is assigned a value but never used      @typescript-eslint/no-unused-vars
  116:3   warning  '_unit' is assigned a value but never used        @typescript-eslint/no-unused-vars
  117:3   warning  '_sortOrder' is assigned a value but never used   @typescript-eslint/no-unused-vars
  125:3   warning  '_taskId' is defined but never used               @typescript-eslint/no-unused-vars
  126:3   warning  '_name' is defined but never used                 @typescript-eslint/no-unused-vars
  127:3   warning  '_nameEs' is defined but never used               @typescript-eslint/no-unused-vars
  128:3   warning  '_unit' is defined but never used                 @typescript-eslint/no-unused-vars
  129:3   warning  '_active' is defined but never used               @typescript-eslint/no-unused-vars
  130:3   warning  '_sortOrder' is defined but never used            @typescript-eslint/no-unused-vars
  137:38  warning  '_taskId' is defined but never used               @typescript-eslint/no-unused-vars
  147:3   warning  '_options' is assigned a value but never used     @typescript-eslint/no-unused-vars
  160:3   warning  '_logId' is defined but never used                @typescript-eslint/no-unused-vars
  161:3   warning  '_taskName' is defined but never used             @typescript-eslint/no-unused-vars
  162:3   warning  '_clockIn' is defined but never used              @typescript-eslint/no-unused-vars
  163:3   warning  '_clockOut' is defined but never used             @typescript-eslint/no-unused-vars
  164:3   warning  '_lunchMinutes' is defined but never used         @typescript-eslint/no-unused-vars
  165:3   warning  '_notes' is defined but never used                @typescript-eslint/no-unused-vars
  172:43  warning  '_logId' is defined but never used                @typescript-eslint/no-unused-vars
  179:3   warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
  180:3   warning  '_start' is defined but never used                @typescript-eslint/no-unused-vars
  181:3   warning  '_end' is defined but never used                  @typescript-eslint/no-unused-vars
  207:47  warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
  213:3   warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
  214:3   warning  '_settings' is defined but never used             @typescript-eslint/no-unused-vars
  255:3   warning  '_limit' is assigned a value but never used       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/time-tracking/notifications.ts
  20:3  warning  '_brandId' is defined but never used      @typescript-eslint/no-unused-vars
  21:3  warning  '_workerId' is defined but never used     @typescript-eslint/no-unused-vars
  22:3  warning  '_workerName' is defined but never used   @typescript-eslint/no-unused-vars
  23:3  warning  '_dailyHours' is defined but never used   @typescript-eslint/no-unused-vars
  24:3  warning  '_weeklyHours' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/water-log/admin.ts
   20:25  warning  'gte' is defined but never used                                            @typescript-eslint/no-unused-vars
   20:30  warning  'lte' is defined but never used                                            @typescript-eslint/no-unused-vars
   20:40  warning  'SQL' is defined but never used                                            @typescript-eslint/no-unused-vars
  162:3   warning  Unused eslint-disable directive (no problems were reported from 'no-var')
  200:10  warning  'mapEntry' is defined but never used                                       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/water-log/field.ts
   22:15  warning  'desc' is defined but never used             @typescript-eslint/no-unused-vars
   22:25  warning  'gte' is defined but never used              @typescript-eslint/no-unused-vars
   22:30  warning  'sql' is defined but never used              @typescript-eslint/no-unused-vars
  178:3   warning  '_headgateLocked' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/wholesale-auth.ts
  33:44  warning  '_formData' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/wholesale-register.ts
  272:12  warning  '_' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/actions/wholesale/orders.ts
  5:10  warning  'getActiveBrandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/communications/abandoned-carts/page.tsx
  7:7  warning  'IRD_BRAND_ID' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/import/ImportCenterClient.tsx
  32:10  warning  'activeBrandName' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/launch-checklist/page.tsx
  3:32  warning  'ExternalLink' is defined but never used  @typescript-eslint/no-unused-vars
  3:46  warning  'AlertCircle' is defined but never used   @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/me/AdminMeClient.tsx
  17:27  warning  'setEmailChangeSent' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/me/page.tsx
  5:10  warning  'redirect' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/orders/[id]/page.tsx
  2:36  warning  'AdminOrder' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/sales/import/page.tsx
  26:9  warning  'SAMPLE_CSV' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/settings/ai/AIClient.tsx
     3:20  warning  'useEffect' is defined but never used                    @typescript-eslint/no-unused-vars
     4:8   warning  'Link' is defined but never used                         @typescript-eslint/no-unused-vars
    35:9   warning  'isReady' is assigned a value but never used             @typescript-eslint/no-unused-vars
   468:7   warning  'textareaFocusStyle' is assigned a value but never used  @typescript-eslint/no-unused-vars
  1802:3   warning  'customEndpoint' is defined but never used               @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/settings/billing/AddPaymentMethodButton.tsx
  4:10  warning  'createAddonCheckoutSession' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/settings/integrations/IntegrationsClient.tsx
  472:10  warning  'showCustomForm' is assigned a value but never used    @typescript-eslint/no-unused-vars
  474:25  warning  'setNewCustomType' is assigned a value but never used  @typescript-eslint/no-unused-vars
  501:27  warning  'app' is defined but never used                        @typescript-eslint/no-unused-vars
  506:12  warning  'handleAddCustom' is defined but never used            @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/settings/integrations/IntegrationsClientPage.tsx
   8:10  warning  'AdminToggle' is defined but never used                          @typescript-eslint/no-unused-vars
  34:7   warning  'COMMUNICATION_INTEGRATIONS' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/stops/[id]/page.tsx
  49:11  warning  'ProductStop' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/stops/new/page.tsx
   3:8   warning  'StopProductAssignment' is defined but never used  @typescript-eslint/no-unused-vars
  68:17  warning  'productRows' is assigned a value but never used   @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/stops/page.tsx
  21:9  warning  'params' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/v2/products/page.tsx
  187:21  warning  Unused eslint-disable directive (no problems were reported from '@next/next/no-img-element')
  192:21  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

/home/tyler/dev/routecomm/src/app/admin/water-log/headgates/HeadgatesManager.tsx
  143:7   warning  Expected an assignment or function call and instead saw an expression                                                                                                                                                                                                                    @typescript-eslint/no-unused-expressions
  328:27  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
  462:9   warning  'qrUrl' is assigned a value but never used                                                                                                                                                                                                                                               @typescript-eslint/no-unused-vars
  521:15  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

/home/tyler/dev/routecomm/src/app/admin/water-log/headgates/page.tsx
  3:34  warning  'regenerateHeadgateToken' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/admin/water-log/page.tsx
  12:10  warning  'WaterLogLoadingSkeleton' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/campaign-writer/route.ts
  61:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/customer-insights/route.ts
  123:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/demand-forecast/route.ts
  79:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/pricing-advisor/route.ts
  79:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/product-writer/route.ts
  74:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/report-explainer/route.ts
  84:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/route-optimizer/route.ts
  83:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/ai/stop-blast-advisor/route.ts
  15:22  warning  'stopId' is assigned a value but never used  @typescript-eslint/no-unused-vars
  85:12  warning  'err' is defined but never used              @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/auth/sign-in/route.ts
  13:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/square/oauth/callback/route.ts
    3:10  warning  'cookies' is defined but never used  @typescript-eslint/no-unused-vars
   88:12  warning  'err' is defined but never used      @typescript-eslint/no-unused-vars
  116:12  warning  'err' is defined but never used      @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/square/oauth/complete/route.ts
    4:10  warning  'escapeAttr' is defined but never used  @typescript-eslint/no-unused-vars
  107:12  warning  'err' is defined but never used         @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/square/oauth/route.ts
  2:10  warning  'cookies' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/square/process-queue/route.ts
  61:9  warning  'lastError' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/stops/import/route.ts
   1:10  warning  'NextRequest' is defined but never used  @typescript-eslint/no-unused-vars
  16:42  warning  '_brandId' is defined but never used     @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/stripe/oauth/callback/route.ts
  96:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/stripe/oauth/complete/route.ts
  89:12  warning  'err' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/time-tracking/export/route.ts
   66:9   warning  'includeNotes' is assigned a value but never used     @typescript-eslint/no-unused-vars
  114:11  warning  'weeklyThreshold' is assigned a value but never used  @typescript-eslint/no-unused-vars
  128:36  warning  'i' is defined but never used                         @typescript-eslint/no-unused-vars
  129:13  warning  'worker' is assigned a value but never used           @typescript-eslint/no-unused-vars
  131:15  warning  'regularHours' is assigned a value but never used     @typescript-eslint/no-unused-vars
  238:15  warning  'regularHours' is assigned a value but never used     @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/time-tracking/notify/route.ts
  7:7  warning  'IRD_BRAND_ID' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/water-photo-upload/route.ts
  16:11  warning  'bucket' is assigned a value but never used  @typescript-eslint/no-unused-vars
  43:12  warning  'err' is defined but never used              @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/water-qr-label/route.ts
  1:10  warning  'NextResponse' is defined but never used  @typescript-eslint/no-unused-vars
  9:35  warning  'token' is defined but never used         @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/water-qr-sheet/route.ts
  1:10  warning  'NextResponse' is defined but never used  @typescript-eslint/no-unused-vars
  8:35  warning  'token' is defined but never used         @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/water-qr/route.ts
  1:10  warning  'NextResponse' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/wholesale/invoice/[orderId]/route.ts
  145:12  warning  'rightAlign' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/api/wholesale/manifest/route.ts
  27:9  warning  'effectiveBrandId' is assigned a value but never used  @typescript-eslint/no-unused-vars
  37:9  warning  'rows' is assigned a value but never used              @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/cart/CartClient.tsx
  86:6  warning  React Hook useCallback has a missing dependency: 'setSelectedStop'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/home/tyler/dev/routecomm/src/app/change-password/page.tsx
  6:10  warning  'getCurrentUserId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/checkout/CheckoutClient.tsx
    3:31  warning  'useRef' is defined but never used                                                                                   @typescript-eslint/no-unused-vars
   59:9   warning  'hasPickupItems' is assigned a value but never used                                                                  @typescript-eslint/no-unused-vars
  141:6   warning  React Hook useCallback has a missing dependency: 'idempotencyKey'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/home/tyler/dev/routecomm/src/app/error.tsx
  21:5  warning  Unused eslint-disable directive (no problems were reported from 'no-console')

/home/tyler/dev/routecomm/src/app/indian-river-direct/about/page.tsx
  116:21  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

/home/tyler/dev/routecomm/src/app/indian-river-direct/contact/ContactClientPage.tsx
  23:10  warning  'brandSettings' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/indian-river-direct/contact/layout.tsx
  42:52  warning  'children' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/indian-river-direct/faq/layout.tsx
  81:48  warning  'children' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/indian-river-direct/stops/[id]/page.tsx
   8:8   warning  'StopSetEffect' is defined but never used            @typescript-eslint/no-unused-vars
  51:21  warning  'setBrandSlug' is assigned a value but never used    @typescript-eslint/no-unused-vars
  52:23  warning  'setBrandAccent' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/login/LoginClient.tsx
  77:5  error  Error: This value cannot be modified

Modifying a variable defined outside a component or hook is not allowed. Consider using an effect.

/home/tyler/dev/routecomm/src/app/login/LoginClient.tsx:77:5
  75 |   function handleDevLogin(role: string) {
  76 |     // Set the dev_session cookie for local development bypass
> 77 |     document.cookie = `dev_session=${role}; path=/; max-age=86400`;
     |     ^^^^^^^^ value cannot be modified
  78 |     window.location.href = REDIRECT_URL;
  79 |   }
  80 |           react-hooks/immutability
  78:5  error  Error: This value cannot be modified

Modifying a variable defined outside a component or hook is not allowed. Consider using an effect.

/home/tyler/dev/routecomm/src/app/login/LoginClient.tsx:78:5
  76 |     // Set the dev_session cookie for local development bypass
  77 |     document.cookie = `dev_session=${role}; path=/; max-age=86400`;
> 78 |     window.location.href = REDIRECT_URL;
     |     ^^^^^^^^^^^^^^^ value cannot be modified
  79 |   }
  80 |
  81 |   const displayError = error ?? localError;  react-hooks/immutability

/home/tyler/dev/routecomm/src/app/page.tsx
    1:25  warning  'Viewport' is defined but never used                                                @typescript-eslint/no-unused-vars
  125:9   warning  Unused eslint-disable directive (no problems were reported from 'react/no-danger')

/home/tyler/dev/routecomm/src/app/trace/[lotNumber]/page.tsx
  82:9  warning  'progressPercent' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/about/AboutClient.tsx
    3:26  warning  'useState' is defined but never used                                                                                                                                                                                                                                                     @typescript-eslint/no-unused-vars
  112:19  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

/home/tyler/dev/routecomm/src/app/tuxedo/contact/ContactClientPage.tsx
   4:8   warning  'Link' is defined but never used                    @typescript-eslint/no-unused-vars
  22:10  warning  'brandSettings' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/contact/layout.tsx
  42:47  warning  'children' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/faq/layout.tsx
  131:43  warning  'children' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/page.tsx
  396:10  warning  'SectionHeader' is defined but never used          @typescript-eslint/no-unused-vars
  435:10  warning  'heroImageUrl' is assigned a value but never used  @typescript-eslint/no-unused-vars
  500:12  warning  'scrollToProducts' is defined but never used       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/products/sweet-corn-box/page.tsx
  59:6  warning  'Brand' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/tuxedo/stops/[id]/page.tsx
   7:8   warning  'StopSetEffect' is defined but never used            @typescript-eslint/no-unused-vars
  50:21  warning  'setBrandSlug' is assigned a value but never used    @typescript-eslint/no-unused-vars
  51:23  warning  'setBrandAccent' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/water/admin/login/page.tsx
  1:10  warning  'redirect' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/wholesale/employee/page.tsx
   64:7   warning  'userId' is assigned a value but never used  @typescript-eslint/no-unused-vars
  252:47  warning  'd' is defined but never used                @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/wholesale/portal/page.tsx
    3:31   warning  'useCallback' is defined but never used               @typescript-eslint/no-unused-vars
    5:21   warning  'useSearchParams' is defined but never used           @typescript-eslint/no-unused-vars
    6:60   warning  'getWholesaleProducts' is defined but never used      @typescript-eslint/no-unused-vars
    6:218  warning  'WholesalePricingOverride' is defined but never used  @typescript-eslint/no-unused-vars
   33:10   warning  'CartSkeleton' is defined but never used              @typescript-eslint/no-unused-vars
   51:10   warning  'OrdersSkeleton' is defined but never used            @typescript-eslint/no-unused-vars
  239:10   warning  'products' is assigned a value but never used         @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/app/wholesale/register/page.tsx
  35:9  warning  'router' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdminHeader.tsx
  55:49  warning  'canManageUsers' is defined but never used   @typescript-eslint/no-unused-vars
  56:9   warning  'router' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdminOrdersPanel.tsx
  16:33  warning  'AdminCreateOrderItem' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdminSidebar.tsx
  239:5   error  Compilation Skipped: Existing memoization could not be preserved

React Compiler has skipped optimizing this component because the existing manual memoization could not be preserved. This value was memoized in source but not in compilation output.

/home/tyler/dev/routecomm/src/components/admin/AdminSidebar.tsx:239:5
  237 |   // Keyboard navigation for nav items (arrow up/down loops, enter/space activates)
  238 |   const handleNavKeyDown = useCallback(
> 239 |     (e: KeyboardEvent<HTMLAnchorElement>, href: string, index: number) => {
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 240 |       const total = visibleItems.length;
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 241 |       if (total === 0) return;
      …
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 261 |       }
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 262 |     },
      | ^^^^^^ Could not preserve existing memoization
  263 |     [router, mobileOpen, closeMobileMenu, visibleItems.length],
  264 |   );
  265 |  react-hooks/preserve-manual-memoization
  263:43  error  Compilation Skipped: Existing memoization could not be preserved

React Compiler has skipped optimizing this component because the existing manual memoization could not be preserved. This dependency may be mutated later, which could cause the value to change unexpectedly.

/home/tyler/dev/routecomm/src/components/admin/AdminSidebar.tsx:263:43
  261 |       }
  262 |     },
> 263 |     [router, mobileOpen, closeMobileMenu, visibleItems.length],
      |                                           ^^^^^^^^^^^^ This dependency may be modified later
  264 |   );
  265 |
  266 |   async function handleLogout() {                                                                                                                                                                                                                                                                                                                                                                                                                                                       react-hooks/preserve-manual-memoization

/home/tyler/dev/routecomm/src/components/admin/AdminStopsPanel.tsx
  55:10  warning  'showImport' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdvancedIntegrations.tsx
  58:57  warning  'brands' is defined but never used                       @typescript-eslint/no-unused-vars
  59:27  warning  'setSelectedBrandId' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdvancedPayments.tsx
  119:18  warning  'refreshStatus' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdvancedShipping.tsx
  46:44  warning  'brandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/AdvancedSquareSync.tsx
  32:46  warning  'brandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/CampaignListPanel.tsx
   10:26  warning  'deleteCampaign' is defined but never used             @typescript-eslint/no-unused-vars
   11:10  warning  'getCommunicationTemplates' is defined but never used  @typescript-eslint/no-unused-vars
  202:21  warning  'setCampaigns' is assigned a value but never used      @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/CardList.tsx
  23:57  warning  'as' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/CommandPalette.tsx
  190:5  error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/admin/CommandPalette.tsx:190:5
  188 |       return;
  189 |     }
> 190 |     setQuery("");
      |     ^^^^^^^^ Avoid calling setState() directly within an effect
  191 |     setSelected(0);
  192 |     document.body.style.overflow = "hidden";
  193 |     // Defer focus to next frame so the input is mounted and the modal                   react-hooks/set-state-in-effect
  220:5  error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/admin/CommandPalette.tsx:220:5
  218 |   // Reset selection on every query change so the top result is always active.
  219 |   useEffect(() => {
> 220 |     setSelected(0);
      |     ^^^^^^^^^^^ Avoid calling setState() directly within an effect
  221 |   }, [query]);
  222 |
  223 |   // Clamp selection to results length                 react-hooks/set-state-in-effect
  226:7  error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/admin/CommandPalette.tsx:226:7
  224 |   useEffect(() => {
  225 |     if (selected >= results.length && results.length > 0) {
> 226 |       setSelected(results.length - 1);
      |       ^^^^^^^^^^^ Avoid calling setState() directly within an effect
  227 |     } else if (results.length === 0) {
  228 |       setSelected(0);
  229 |     }  react-hooks/set-state-in-effect

/home/tyler/dev/routecomm/src/components/admin/ContactImportForm.tsx
   76:10  warning  'getStatColor' is defined but never used          @typescript-eslint/no-unused-vars
   82:10  warning  'getStatValueColor' is defined but never used     @typescript-eslint/no-unused-vars
   95:10  warning  'importing' is assigned a value but never used    @typescript-eslint/no-unused-vars
  101:10  warning  'useBucket' is assigned a value but never used    @typescript-eslint/no-unused-vars
  176:20  warning  'totalRows' is assigned a value but never used    @typescript-eslint/no-unused-vars
  219:11  warning  'emailColIdx' is assigned a value but never used  @typescript-eslint/no-unused-vars
  220:11  warning  'phoneColIdx' is assigned a value but never used  @typescript-eslint/no-unused-vars
  248:19  warning  'stripped' is assigned a value but never used     @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/CreateUserModal.tsx
  5:10  warning  'AdminInput' is defined but never used      @typescript-eslint/no-unused-vars
  5:22  warning  'AdminTextInput' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/DashboardClient.tsx
  3:25  warning  'ReactNode' is defined but never used  @typescript-eslint/no-unused-vars
  7:78  warning  'Calendar' is defined but never used   @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/HarvestReach/AnalyticsDashboard.tsx
  109:10  warning  'EngagementBadge' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/HarvestReach/CampaignComposerPage.tsx
    6:24  warning  'SegmentRuleV2' is defined but never used        @typescript-eslint/no-unused-vars
  147:15  warning  'isUpcoming' is assigned a value but never used  @typescript-eslint/no-unused-vars
  361:16  warning  'err' is defined but never used                  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/HarvestReach/MatchingCustomersPanel.tsx
  50:10  warning  'customerCount' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/HarvestReach/SegmentBuilderPage.tsx
  163:9  warning  'hasFilters' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/IntegrationsInner.tsx
  277:54  warning  'brands' is defined but never used                       @typescript-eslint/no-unused-vars
  278:27  warning  'setSelectedBrandId' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/LoadingState.tsx
  48:11  warning  Unused eslint-disable directive (no problems were reported from 'react/no-array-index-key')

/home/tyler/dev/routecomm/src/components/admin/MessageLogPanel.tsx
  242:6  warning  React Hook useEffect has a missing dependency: 'fetchLogs'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/home/tyler/dev/routecomm/src/components/admin/NewStopForm.tsx
  7:10  warning  'AdminInput' is defined but never used      @typescript-eslint/no-unused-vars
  7:22  warning  'AdminTextInput' is defined but never used  @typescript-eslint/no-unused-vars
  7:38  warning  'AdminSelect' is defined but never used     @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/OfflineBanner.tsx
  12:5   error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/admin/OfflineBanner.tsx:12:5
  10 |
  11 |   useEffect(() => {
> 12 |     setMounted(true);
     |     ^^^^^^^^^^ Avoid calling setState() directly within an effect
  13 |     setOnline(navigator.onLine);
  14 |     const onOnline = () => setOnline(true);
  15 |     const onOffline = () => setOnline(false);  react-hooks/set-state-in-effect
  46:14  error  `'` can be escaped with `&apos;`, `&lsquo;`, `&#39;`, `&rsquo;`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   react/no-unescaped-entities

/home/tyler/dev/routecomm/src/components/admin/OrderEditForm.tsx
   62:10  warning  'saved' is assigned a value but never used  @typescript-eslint/no-unused-vars
   89:9   warning  'total' is assigned a value but never used  @typescript-eslint/no-unused-vars
  192:14  warning  'err' is defined but never used             @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/OrderPaymentSection.tsx
  8:33  warning  'AdminInput' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/PaymentSettingsForm.tsx
   5:58  warning  'PaymentSettings' is defined but never used                   @typescript-eslint/no-unused-vars
  39:32  warning  'setStripePublishableKey' is assigned a value but never used  @typescript-eslint/no-unused-vars
  42:27  warning  'setStripeSecretKey' is assigned a value but never used       @typescript-eslint/no-unused-vars
  45:29  warning  'setSquareAccessToken' is assigned a value but never used     @typescript-eslint/no-unused-vars
  58:10  warning  'showSecretStripe' is assigned a value but never used         @typescript-eslint/no-unused-vars
  58:28  warning  'setShowSecretStripe' is assigned a value but never used      @typescript-eslint/no-unused-vars
  59:10  warning  'showSecretSquare' is assigned a value but never used         @typescript-eslint/no-unused-vars
  59:28  warning  'setShowSecretSquare' is assigned a value but never used      @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/ProductEditForm.tsx
  48:20  warning  'setDragOver' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/ProductFilterBar.tsx
   3:10  warning  'useState' is defined but never used  @typescript-eslint/no-unused-vars
  16:3   warning  'products' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/PullToRefresh.tsx
  38:5   error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/admin/PullToRefresh.tsx:38:5
  36 |   useEffect(() => {
  37 |     const mq = window.matchMedia("(prefers-reduced-motion: reduce)");
> 38 |     setPrefersReducedMotion(mq.matches);
     |     ^^^^^^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect
  39 |     const handler = (e: MediaQueryListEvent) => setPrefersReducedMotion(e.matches);
  40 |     mq.addEventListener("change", handler);
  41 |     return () => mq.removeEventListener("change", handler);  react-hooks/set-state-in-effect
  93:21  error  Error: Cannot access refs during render

React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected (https://react.dev/reference/react/useRef).

/home/tyler/dev/routecomm/src/components/admin/PullToRefresh.tsx:93:21
  91 |       style={{
  92 |         transform: `translateY(${offset}px)`,
> 93 |         transition: pulling.current || prefersReducedMotion ? "none" : "transform 200ms var(--ease-apple)",
     |                     ^^^^^^^^^^^^^^^ Cannot access ref value during render
  94 |         overscrollBehavior: "contain",
  95 |         position: "relative",
  96 |       }}                                                                                                                                                                                                                                                                                                                                                                                                                                            react-hooks/refs
  93:21  error  Error: Cannot access refs during render

React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected (https://react.dev/reference/react/useRef).

/home/tyler/dev/routecomm/src/components/admin/PullToRefresh.tsx:93:21
  91 |       style={{
  92 |         transform: `translateY(${offset}px)`,
> 93 |         transition: pulling.current || prefersReducedMotion ? "none" : "transform 200ms var(--ease-apple)",
     |                     ^^^^^^^^^^^^^^^ Cannot access ref value during render
  94 |         overscrollBehavior: "contain",
  95 |         position: "relative",
  96 |       }}                                                                                                                                                                                                                                                                                                                                                                                                                                            react-hooks/refs

/home/tyler/dev/routecomm/src/components/admin/ReportsDashboard.tsx
  103:3   warning  'label' is defined but never used             @typescript-eslint/no-unused-vars
  224:11  warning  'brandId' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/ScheduleImportModal.tsx
  3:41  warning  'useEffect' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/SettingsSections.tsx
  24:10  warning  'AdminInput' is defined but never used                @typescript-eslint/no-unused-vars
  24:22  warning  'AdminTextInput' is defined but never used            @typescript-eslint/no-unused-vars
  24:38  warning  'AdminSelect' is defined but never used               @typescript-eslint/no-unused-vars
  88:10  warning  'settings' is assigned a value but never used         @typescript-eslint/no-unused-vars
  89:10  warning  'notificationLog' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/SquareSyncWidget.tsx
  24:10  warning  'queueCount' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/StopEditForm.tsx
   6:22  warning  'AdminTextInput' is defined but never used  @typescript-eslint/no-unused-vars
  39:10  warning  'saved' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/StopMessagingForm.tsx
  29:10  warning  'customMessage' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/StopProductAssignment.tsx
  47:3  warning  'callerUid' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/StopTableClient.tsx
    4:75  warning  'useRef' is defined but never used              @typescript-eslint/no-unused-vars
   12:3   warning  'AdminIconButton' is defined but never used     @typescript-eslint/no-unused-vars
  259:9   warning  'SortIcon' is assigned a value but never used   @typescript-eslint/no-unused-vars
  608:3   warning  'isLoading' is defined but never used           @typescript-eslint/no-unused-vars
  705:3   warning  'onDelete' is defined but never used            @typescript-eslint/no-unused-vars
  977:40  warning  'showError' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/StopsHeaderActions.tsx
  22:33  warning  'count' is defined but never used   @typescript-eslint/no-unused-vars
  26:29  warning  'stopId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/TaxDashboard.tsx
   4:10  warning  'formatDate' is defined but never used  @typescript-eslint/no-unused-vars
  46:38  warning  'end' is defined but never used         @typescript-eslint/no-unused-vars
  77:22  warning  'label' is defined but never used       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/TemplateEditForm.tsx
  3:20  warning  'useCallback' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/TimeTrackingAdminPanel.tsx
  127:10  warning  'formatHours' is defined but never used  @typescript-eslint/no-unused-vars
  531:47  warning  'brandId' is defined but never used      @typescript-eslint/no-unused-vars
  531:56  warning  'onSave' is defined but never used       @typescript-eslint/no-unused-vars
  582:43  warning  'brandId' is defined but never used      @typescript-eslint/no-unused-vars
  582:52  warning  'onSave' is defined but never used       @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/TimeTrackingSettingsClient.tsx
   86:10  warning  'settings' is assigned a value but never used            @typescript-eslint/no-unused-vars
  132:23  warning  'setExportBrand' is assigned a value but never used      @typescript-eslint/no-unused-vars
  133:27  warning  'setIncludeOvertime' is assigned a value but never used  @typescript-eslint/no-unused-vars
  134:24  warning  'setIncludeNotes' is assigned a value but never used     @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/ToastContainer.tsx
  4:10  warning  'useEffect' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/UpgradePlanModal.tsx
  217:19  warning  'canUpgrade' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/UsersPage.tsx
    4:24  warning  'UpdateAdminUserInput' is defined but never used       @typescript-eslint/no-unused-vars
  126:10  warning  'resetLinkLoading' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/admin/design-system/AdminActionMenu.tsx
  19:52  warning  'triggerLabel' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/landing/LandingPageWrapper.tsx
  310:11  warning  'SectionProps' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/landing/TestimonialsAndCTA.tsx
  46:7  warning  'cardHoverVariants' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/notifications/InAppNotificationCenter.tsx
  21:55  warning  'userId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/notifications/ToastNotification.tsx
  73:9  warning  'colors' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/onboarding/OnboardingFlow.tsx
  90:43  warning  '_brandId' is defined but never used  @typescript-eslint/no-unused-vars
  90:61  warning  '_userId' is defined but never used   @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/AdminLookupPage.tsx
  9:10  warning  'getAgeStatus' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/FsmaReportModal.tsx
  184:6  warning  React Hook useEffect has a missing dependency: 'fetchComplianceData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/home/tyler/dev/routecomm/src/components/route-trace/LotDetailPanel.tsx
  206:10  warning  'CheckIcon' is defined but never used  @typescript-eslint/no-unused-vars
  216:3   warning  'brandId' is defined but never used    @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/LotListTable.tsx
  91:3  warning  'brandId' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/PublicTraceActions.tsx
  3:10  warning  'useState' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/QRScanModal.tsx
  179:6  warning  React Hook useEffect has a missing dependency: 'onScanResult'. Either include it or remove the dependency array. If 'onScanResult' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps

/home/tyler/dev/routecomm/src/components/route-trace/QuickNewLotModal.tsx
  3:35  warning  'useEffect' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/RouteTraceDashboard.tsx
  498:3  warning  'recentLots' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/RouteTracePage.tsx
  4:8  warning  'Link' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/route-trace/StickerPreviewModal.tsx
   68:14  warning  'e' is defined but never used                                                                                                                                                                                                                                                            @typescript-eslint/no-unused-vars
  249:21  warning  Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

/home/tyler/dev/routecomm/src/components/storefront/CinematicShowcase.tsx
   39:10  warning  '_index' is defined but never used                                                                    @typescript-eslint/no-unused-vars
   40:13  warning  '_isActive' is defined but never used                                                                 @typescript-eslint/no-unused-vars
   56:5   warning  Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-unused-vars')
  112:3   warning  'brandName' is assigned a value but never used                                                        @typescript-eslint/no-unused-vars
  159:13  warning  'productSwitchTrigger' is assigned a value but never used                                             @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/storefront/ProductCard.tsx
  136:14  warning  'brandName' is defined but never used             @typescript-eslint/no-unused-vars
  137:3   warning  'brandAccent' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/storefront/StorefrontHeader.tsx
  55:3  warning  'isAdmin' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/storefront/StripeExpressCheckout.tsx
  156:5  warning  React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked  react-hooks/exhaustive-deps
  299:3  warning  'items' is defined but never used                                                                                                         @typescript-eslint/no-unused-vars
  300:3  warning  'brandId' is defined but never used                                                                                                       @typescript-eslint/no-unused-vars
  304:3  warning  'selectedStop' is defined but never used                                                                                                  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/storefront/TuxedoVideoHero.tsx
  68:7  error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/components/storefront/TuxedoVideoHero.tsx:68:7
  66 |     const prefersReducedMotion = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches === true;
  67 |     if (prefersReducedMotion) {
> 68 |       setIsVisible(true);
     |       ^^^^^^^^^^^^ Avoid calling setState() directly within an effect
  69 |       return;
  70 |     }
  71 |  react-hooks/set-state-in-effect

/home/tyler/dev/routecomm/src/components/time-tracking/TimeTrackingFieldClient.tsx
   21:7  warning  'BRAND_ID' is assigned a value but never used                                                                     @typescript-eslint/no-unused-vars
   22:7  warning  'BRAND_NAME' is assigned a value but never used                                                                   @typescript-eslint/no-unused-vars
  167:3  warning  'brandAccent' is defined but never used                                                                           @typescript-eslint/no-unused-vars
  256:6  warning  React Hook useEffect has a missing dependency: 'loadPayPeriod'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
  496:9  warning  'dailyRemaining' is assigned a value but never used                                                               @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/ui/ScrollAnimations.tsx
  197:10  warning  '_speed' is assigned a value but never used  @typescript-eslint/no-unused-vars
  315:3   warning  'to' is defined but never used               @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/water/WaterAdminClient.tsx
  127:10  warning  'SummarySkeleton' is defined but never used   @typescript-eslint/no-unused-vars
  272:10  warning  'loading' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/wholesale/admin/CustomerPricingPanel.tsx
  23:18  warning  'setSaving' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/wholesale/admin/DashboardTab.tsx
  3:15  warning  'MsgFn' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/components/wholesale/admin/OrdersTab.tsx
   46:10  warning  'deleting' is assigned a value but never used                          @typescript-eslint/no-unused-vars
   60:52  warning  Expected an assignment or function call and instead saw an expression  @typescript-eslint/no-unused-expressions
  420:59  warning  'd' is defined but never used                                          @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/analytics.ts
    5:7   warning  'posthogHost' is assigned a value but never used  @typescript-eslint/no-unused-vars
   12:27  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars
   18:34  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars
   24:53  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars
   30:55  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars
   36:34  warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
   54:41  warning  '_reason' is defined but never used               @typescript-eslint/no-unused-vars
   84:51  warning  '_resourceId' is defined but never used           @typescript-eslint/no-unused-vars
  102:47  warning  '_context' is defined but never used              @typescript-eslint/no-unused-vars
  108:57  warning  '_category' is defined but never used             @typescript-eslint/no-unused-vars
  121:30  warning  '_userId' is defined but never used               @typescript-eslint/no-unused-vars
  121:47  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars
  127:30  warning  '_brandId' is defined but never used              @typescript-eslint/no-unused-vars
  127:48  warning  '_properties' is defined but never used           @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/billing.ts
  6:8  warning  'Stripe' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/offline/sync.ts
  2:10  warning  'enqueueAction' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/pwa.ts
  34:39  warning  '_registration' is defined but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/rate-limit.ts
   5:6  warning  'Duration' is defined but never used              @typescript-eslint/no-unused-vars
  39:9  warning  'windowStart' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/tyler/dev/routecomm/src/lib/use-media-query.ts
  16:5  error  Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/tyler/dev/routecomm/src/lib/use-media-query.ts:16:5
  14 |     const handler = (e: MediaQueryListEvent) => setMatches(e.matches);
  15 |     mq.addEventListener("change", handler);
> 16 |     setMatches(mq.matches);
     |     ^^^^^^^^^^ Avoid calling setState() directly within an effect
  17 |     return () => mq.removeEventListener("change", handler);
  18 |   }, [query]);
  19 |  react-hooks/set-state-in-effect

✖ 383 problems (14 errors, 369 warnings)
  0 errors and 6 warnings potentially fixable with the `--fix` option.

