From ece45f0788eeff98a4be5f9ff1152bd637aa0f4c Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 25 May 2024 15:53:49 +0100 Subject: [PATCH] Ignored various property naming lint issues --- project/src/models/eft/common/tables/ITemplateItem.ts | 2 ++ project/src/models/eft/dialog/IDeleteFriendRequest.ts | 1 + project/src/models/eft/game/IGameConfigResponse.ts | 1 + project/src/models/eft/game/IGameKeepAliveResponse.ts | 1 + project/src/models/eft/game/IGameStartResponse.ts | 1 + project/src/models/eft/inventory/IAddItemRequestData.ts | 1 + project/src/models/eft/trade/IProcessSellTradeRequestData.ts | 1 + project/src/models/eft/weather/IWeatherData.ts | 4 ++++ project/src/models/enums/WildSpawnTypeNumber.ts | 4 ++-- project/src/models/spt/fence/ICreateFenceAssortsResult.ts | 2 ++ 10 files changed, 16 insertions(+), 2 deletions(-) diff --git a/project/src/models/eft/common/tables/ITemplateItem.ts b/project/src/models/eft/common/tables/ITemplateItem.ts index fdd1c42e..41591ce2 100644 --- a/project/src/models/eft/common/tables/ITemplateItem.ts +++ b/project/src/models/eft/common/tables/ITemplateItem.ts @@ -294,7 +294,9 @@ export interface Props foodUseTime?: number foodEffectType?: string StimulatorBuffs?: string + // eslint-disable-next-line @typescript-eslint/naming-convention effects_health?: IHealthEffect[] | Record> + // eslint-disable-next-line @typescript-eslint/naming-convention effects_damage?: Record MaximumNumberOfUsage?: number knifeHitDelay?: number diff --git a/project/src/models/eft/dialog/IDeleteFriendRequest.ts b/project/src/models/eft/dialog/IDeleteFriendRequest.ts index 89115e11..78074dae 100644 --- a/project/src/models/eft/dialog/IDeleteFriendRequest.ts +++ b/project/src/models/eft/dialog/IDeleteFriendRequest.ts @@ -1,4 +1,5 @@ export interface IDeleteFriendRequest { + // eslint-disable-next-line @typescript-eslint/naming-convention friend_id: string } diff --git a/project/src/models/eft/game/IGameConfigResponse.ts b/project/src/models/eft/game/IGameConfigResponse.ts index 011306bd..383f066a 100644 --- a/project/src/models/eft/game/IGameConfigResponse.ts +++ b/project/src/models/eft/game/IGameConfigResponse.ts @@ -8,6 +8,7 @@ export interface IGameConfigResponse activeProfileId: string backend: Backend useProtobuf: boolean + // eslint-disable-next-line @typescript-eslint/naming-convention utc_time: number /** Total in game time */ totalInGame: number diff --git a/project/src/models/eft/game/IGameKeepAliveResponse.ts b/project/src/models/eft/game/IGameKeepAliveResponse.ts index c84b6d1f..fe64c747 100644 --- a/project/src/models/eft/game/IGameKeepAliveResponse.ts +++ b/project/src/models/eft/game/IGameKeepAliveResponse.ts @@ -1,5 +1,6 @@ export interface IGameKeepAliveResponse { msg: string + // eslint-disable-next-line @typescript-eslint/naming-convention utc_time: number } diff --git a/project/src/models/eft/game/IGameStartResponse.ts b/project/src/models/eft/game/IGameStartResponse.ts index f5c90f67..e765b0fc 100644 --- a/project/src/models/eft/game/IGameStartResponse.ts +++ b/project/src/models/eft/game/IGameStartResponse.ts @@ -1,4 +1,5 @@ export interface IGameStartResponse { + // eslint-disable-next-line @typescript-eslint/naming-convention utc_time: number } diff --git a/project/src/models/eft/inventory/IAddItemRequestData.ts b/project/src/models/eft/inventory/IAddItemRequestData.ts index 4652d1c3..f430ade9 100644 --- a/project/src/models/eft/inventory/IAddItemRequestData.ts +++ b/project/src/models/eft/inventory/IAddItemRequestData.ts @@ -9,5 +9,6 @@ export interface AddItem { count: number sptIsPreset?: boolean + // eslint-disable-next-line @typescript-eslint/naming-convention item_id: string } diff --git a/project/src/models/eft/trade/IProcessSellTradeRequestData.ts b/project/src/models/eft/trade/IProcessSellTradeRequestData.ts index 883b0fd0..bdba8703 100644 --- a/project/src/models/eft/trade/IProcessSellTradeRequestData.ts +++ b/project/src/models/eft/trade/IProcessSellTradeRequestData.ts @@ -13,5 +13,6 @@ export interface Item { id: string count: number + // eslint-disable-next-line @typescript-eslint/naming-convention scheme_id: number } diff --git a/project/src/models/eft/weather/IWeatherData.ts b/project/src/models/eft/weather/IWeatherData.ts index ac3b6c59..8856070e 100644 --- a/project/src/models/eft/weather/IWeatherData.ts +++ b/project/src/models/eft/weather/IWeatherData.ts @@ -15,10 +15,14 @@ export interface IWeather pressure: number temp: number fog: number + // eslint-disable-next-line @typescript-eslint/naming-convention rain_intensity: number rain: number + // eslint-disable-next-line @typescript-eslint/naming-convention wind_gustiness: number + // eslint-disable-next-line @typescript-eslint/naming-convention wind_direction: WindDirection + // eslint-disable-next-line @typescript-eslint/naming-convention wind_speed: number cloud: number time: string diff --git a/project/src/models/enums/WildSpawnTypeNumber.ts b/project/src/models/enums/WildSpawnTypeNumber.ts index 65e539d6..a37290f6 100644 --- a/project/src/models/enums/WildSpawnTypeNumber.ts +++ b/project/src/models/enums/WildSpawnTypeNumber.ts @@ -50,8 +50,8 @@ export enum WildSpawnTypeNumber SPIRITSPRING = 48, PMCBEAR = 49, PMCUSEC = 50, - skier = 51, - peacemaker = 52, + SKIER = 51, + PEACEMAKER = 52, SPTUSEC = 100, SPTBEAR = 101, } diff --git a/project/src/models/spt/fence/ICreateFenceAssortsResult.ts b/project/src/models/spt/fence/ICreateFenceAssortsResult.ts index 71c4239f..6ccfd608 100644 --- a/project/src/models/spt/fence/ICreateFenceAssortsResult.ts +++ b/project/src/models/spt/fence/ICreateFenceAssortsResult.ts @@ -4,6 +4,8 @@ import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][] + // eslint-disable-next-line @typescript-eslint/naming-convention barter_scheme: Record + // eslint-disable-next-line @typescript-eslint/naming-convention loyal_level_items: Record }