fixed suppressions/deprecatedSuppressionComment
This commit is contained in:
parent
e3c833a085
commit
ed1557d26b
@ -170,7 +170,7 @@ export class BotEquipmentModGenerator
|
|||||||
const compatibleModsPool = modPool[parentTemplate._id];
|
const compatibleModsPool = modPool[parentTemplate._id];
|
||||||
|
|
||||||
// Null guard against bad input weapon
|
// Null guard against bad input weapon
|
||||||
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
||||||
if (!parentTemplate._props.Slots.length
|
if (!parentTemplate._props.Slots.length
|
||||||
&& !parentTemplate._props.Cartridges?.length
|
&& !parentTemplate._props.Cartridges?.length
|
||||||
&& !parentTemplate._props.Chambers?.length)
|
&& !parentTemplate._props.Chambers?.length)
|
||||||
|
@ -1017,7 +1017,7 @@ export class RepeatableQuestGenerator
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Skip globally blacklisted items + boss items
|
// Skip globally blacklisted items + boss items
|
||||||
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
||||||
valid = !this.itemFilterService.isItemBlacklisted(tpl)
|
valid = !this.itemFilterService.isItemBlacklisted(tpl)
|
||||||
&& !this.itemFilterService.isBossItem(tpl);
|
&& !this.itemFilterService.isBossItem(tpl);
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
// rome-ignore lint/suspicious/noEmptyInterface: <explanation>
|
// biome-ignore lint/suspicious/noEmptyInterface: <explanation>
|
||||||
export interface IAcceptFriendRequestData extends IBaseFriendRequest
|
export interface IAcceptFriendRequestData extends IBaseFriendRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rome-ignore lint/suspicious/noEmptyInterface: <explanation>
|
// biome-ignore lint/suspicious/noEmptyInterface: <explanation>
|
||||||
export interface ICancelFriendRequestData extends IBaseFriendRequest
|
export interface ICancelFriendRequestData extends IBaseFriendRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ export class BotLootCacheService
|
|||||||
|
|
||||||
// Get loot items (excluding magazines, bullets, grenades and healing items)
|
// Get loot items (excluding magazines, bullets, grenades and healing items)
|
||||||
const backpackLootItems = backpackLootTemplates.filter(template =>
|
const backpackLootItems = backpackLootTemplates.filter(template =>
|
||||||
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
||||||
!this.isBulletOrGrenade(template._props)
|
!this.isBulletOrGrenade(template._props)
|
||||||
&& !this.isMagazine(template._props)
|
&& !this.isMagazine(template._props)
|
||||||
//&& !this.isMedicalItem(template._props) // Disabled for now as followSanitar has a lot of med items as loot
|
//&& !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
|
// Get pocket loot
|
||||||
const pocketLootItems = pocketLootTemplates.filter(template =>
|
const pocketLootItems = pocketLootTemplates.filter(template =>
|
||||||
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
||||||
!this.isBulletOrGrenade(template._props)
|
!this.isBulletOrGrenade(template._props)
|
||||||
&& !this.isMagazine(template._props)
|
&& !this.isMagazine(template._props)
|
||||||
&& !this.isMedicalItem(template._props)
|
&& !this.isMedicalItem(template._props)
|
||||||
@ -204,7 +204,7 @@ export class BotLootCacheService
|
|||||||
|
|
||||||
// Get vest loot items
|
// Get vest loot items
|
||||||
const vestLootItems = vestLootTemplates.filter(template =>
|
const vestLootItems = vestLootTemplates.filter(template =>
|
||||||
// rome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
// biome-ignore lint/complexity/useSimplifiedLogicExpression: <explanation>
|
||||||
!this.isBulletOrGrenade(template._props)
|
!this.isBulletOrGrenade(template._props)
|
||||||
&& !this.isMagazine(template._props)
|
&& !this.isMagazine(template._props)
|
||||||
&& !this.isMedicalItem(template._props)
|
&& !this.isMedicalItem(template._props)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user