From 2f3739098567c6a11d892db1da2423bf08eb05df Mon Sep 17 00:00:00 2001 From: Hunter Thornsberry Date: Tue, 25 Jun 2024 12:39:06 -0400 Subject: [PATCH] Linting --- src/components/PageComponents/ModuleConfig/MQTT.tsx | 5 ++++- src/validation/moduleConfig/mqtt.ts | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/PageComponents/ModuleConfig/MQTT.tsx b/src/components/PageComponents/ModuleConfig/MQTT.tsx index 281cf556..1dc324bb 100644 --- a/src/components/PageComponents/ModuleConfig/MQTT.tsx +++ b/src/components/PageComponents/ModuleConfig/MQTT.tsx @@ -13,7 +13,10 @@ export const MQTT = (): JSX.Element => { case: "mqtt", value: { ...data, - mapReportSettings: new Protobuf.ModuleConfig.ModuleConfig_MapReportSettings(data.mapReportSettings) + mapReportSettings: + new Protobuf.ModuleConfig.ModuleConfig_MapReportSettings( + data.mapReportSettings, + ), }, }, }), diff --git a/src/validation/moduleConfig/mqtt.ts b/src/validation/moduleConfig/mqtt.ts index d9876532..7a2c9170 100644 --- a/src/validation/moduleConfig/mqtt.ts +++ b/src/validation/moduleConfig/mqtt.ts @@ -1,6 +1,12 @@ import type { Message } from "@bufbuild/protobuf"; import type { Protobuf } from "@meshtastic/js"; -import { IsBoolean, IsNumber, IsOptional, IsString, Length } from "class-validator"; +import { + IsBoolean, + IsNumber, + IsOptional, + IsString, + Length, +} from "class-validator"; export class MqttValidation implements