Server/project/src/services
Refringe ed8dbbd195 Adds Biome - Removes ESLint & Prettier (!383)
Boogidy, boogidy, boogidy. Let's go racing! 🏎️

Removes the over-complicated and super-slow setup we had with ESLint & Prettier in favour of Biome. The largest change with the formatting is moving from Allman braces to 1TBS braces. Other than that, it's *pretty much* the same. Ah, and that Biome runs formatting and linting on the entire project about x10 faster than the old system ran formatting on one file. Seriously, the guy who came up with that last solution should be fired. :runs:

I've kept all of the formatting and linting commands the same as before, with the main mamma-jamma being: `npm run format`, which applies formatting and linting changes to the entire project.

Formatting-on-save works (quickly!) by (1) ensuring that you're working within the VSC workspace (as you should be), and (2) have the recommended Biome VSC extension installed. The link to the Biome extension is in the README.

This limits our options on code formatting going forward; Biome, like prettier, is very opinionated with very few formatting options available. But I see this as a good thing. I'd rather spend my time arguing about which gun in Tarkov is the best, rather than coding brace styles...

...It's the TOZ, and it always will be. Don't DM me.

Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/383
Co-authored-by: Refringe <me@refringe.com>
Co-committed-by: Refringe <me@refringe.com>
2024-07-22 21:15:57 +00:00
..
cache primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
mod Initial implementation of an ItemTpl and Weapon enum generator (!364) 2024-06-16 08:33:01 +00:00
AirdropService.ts Refactored airdrop loot code 2024-07-06 13:39:56 +01:00
BotEquipmentFilterService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
BotEquipmentModPoolService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
BotGenerationCacheService.ts Added bot cache count when generating. Will only add more bots to cache when below desired amount 2024-07-06 16:42:47 +01:00
BotLootCacheService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
BotWeaponModLimitService.ts Initial implementation of an ItemTpl and Weapon enum generator (!364) 2024-06-16 08:33:01 +00:00
CustomLocationWaveService.ts Replaced various array.find() with array.some() 2024-06-13 13:41:29 +01:00
DatabaseService.ts Fixed bad description 2024-07-05 16:39:40 +01:00
FenceService.ts Protected randomiseArmorInsertsDurabilities() from missing mod errors 2024-07-11 11:11:09 +01:00
GiftService.ts Fixed prapor starting gift being sent 5 times 2024-06-17 22:00:38 +01:00
InsuranceService.ts Added guard against missing trader insuranceStart mesages inside sendInsuredItems() 2024-07-22 13:26:09 +01:00
ItemBaseClassService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-28 22:24:52 +01:00
ItemFilterService.ts Added new lootable item blacklist and added checks to bot and map loot generator code 2024-06-04 18:57:36 +01:00
LegacyLocationLifecycleService.ts Created new LocationLifecycleServiceservice. Moved raid start/end code into it. 2024-07-06 14:36:48 +01:00
LocaleService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
LocalisationService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
LocationLifecycleService.ts Enable Quest saving when leaving raid as pmc. Modify maxbotpve caps instead of maxbot cap 2024-07-09 14:52:35 +01:00
MailSendService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
MapMarkerService.ts Moved map marker logic out of InventoryController and into its own MapMarkerService 2024-06-12 19:32:27 +01:00
MatchBotDetailsCacheService.ts Fixed issue with PMC post-raid messages not being sent 2024-06-05 21:50:07 +01:00
MatchLocationService.ts Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
ModCompilerService.ts Adds Biome - Removes ESLint & Prettier (!383) 2024-07-22 21:15:57 +00:00
NotificationService.ts Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
OpenZoneService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
PaymentService.ts Added nullguards to giveProfileMoney() 2024-07-12 09:49:11 +01:00
PlayerService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
PmcChatResponseService.ts Fixed server build errors from previously merged PR 2024-07-11 09:29:16 +01:00
ProfileActivityService.ts ESLint Pass 2024-05-07 23:57:08 -04:00
ProfileFixerService.ts Add method for capping skill progress (!376) 2024-07-15 19:34:26 +00:00
ProfileSnapshotService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
RagfairCategoriesService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
RagfairLinkedItemService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
RagfairOfferService.ts Added check for stack count below 1 and resets to 1 when handling single items being passed into unstackOfferItems() 2024-07-18 09:19:44 +01:00
RagfairPriceService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
RagfairRequiredItemsService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00
RagfairTaxService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
RaidTimeAdjustmentService.ts Replaced uses of DatabaseServer with DatabaseService 2024-05-29 15:15:45 +01:00
RepairService.ts Replaced various magic strings with enum values 2024-06-13 10:53:07 +01:00
SeasonalEventService.ts Initial implementation of an ItemTpl and Weapon enum generator (!364) 2024-06-16 08:33:01 +00:00
TraderAssortService.ts Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
TraderPurchasePersisterService.ts primery-dependencies (!355) 2024-05-28 14:04:20 +00:00