fixed suppressions/deprecatedSuppressionComment

This commit is contained in:
TheSparta 2023-10-31 23:57:28 +00:00
parent e3c833a085
commit ed1557d26b
4 changed files with 7 additions and 7 deletions

View File

@ -170,7 +170,7 @@ export class BotEquipmentModGenerator
const compatibleModsPool = modPool[parentTemplate._id];
// Null guard against bad input weapon
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
if (!parentTemplate._props.Slots.length
&& !parentTemplate._props.Cartridges?.length
&& !parentTemplate._props.Chambers?.length)

View File

@ -1017,7 +1017,7 @@ export class RepeatableQuestGenerator
}
// Skip globally blacklisted items + boss items
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
valid = !this.itemFilterService.isItemBlacklisted(tpl)
&& !this.itemFilterService.isBossItem(tpl);

View File

@ -1,10 +1,10 @@
// rome-ignore lint/suspicious/noEmptyInterface: <explanation>
// biome-ignore lint/suspicious/noEmptyInterface: <explanation>
export interface IAcceptFriendRequestData extends IBaseFriendRequest
{
}
// rome-ignore lint/suspicious/noEmptyInterface: <explanation>
// biome-ignore lint/suspicious/noEmptyInterface: <explanation>
export interface ICancelFriendRequestData extends IBaseFriendRequest
{

View File

@ -186,7 +186,7 @@ export class BotLootCacheService
// Get loot items (excluding magazines, bullets, grenades and healing items)
const backpackLootItems = backpackLootTemplates.filter(template =>
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
!this.isBulletOrGrenade(template._props)
&& !this.isMagazine(template._props)
//&& !this.isMedicalItem(template._props) // Disabled for now as followSanitar has a lot of med items as loot
@ -194,7 +194,7 @@ export class BotLootCacheService
// Get pocket loot
const pocketLootItems = pocketLootTemplates.filter(template =>
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
!this.isBulletOrGrenade(template._props)
&& !this.isMagazine(template._props)
&& !this.isMedicalItem(template._props)
@ -204,7 +204,7 @@ export class BotLootCacheService
// Get vest loot items
const vestLootItems = vestLootTemplates.filter(template =>
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
!this.isBulletOrGrenade(template._props)
&& !this.isMagazine(template._props)
&& !this.isMedicalItem(template._props)