chore: Enforce a few house rules via eslint (#2539)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent 5572ec728e
commit 921d45e577
100 changed files with 479 additions and 295 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { z } from 'zod';
// A value that may be a single string or a list of strings — common across HA
// A value that may be a single string or a list of strings -- common across HA
// condition/trigger fields (e.g. `state`, `to`, `entity_id`).
export const stringOrArray = z.string().or(z.string().array());