0ad/binaries/data/mods/public/simulation/components
Ralph Sennhauser eb75835ce4
Fix eslint rule 'prefer-const' in components/G*
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
    binaries/data/mods/public/simulation/components/G*

Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-05-11 17:53:23 +02:00
..
interfaces Add a 'team population' gamesetting 2025-03-06 13:25:43 +01:00
tests Fix eslint rule 'prefer-const' in components/tests 2025-05-11 10:03:30 +02:00
AIInterface.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
AIProxy.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
AlertRaiser.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
Attack.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
AttackDetection.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
Auras.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
AutoBuildable.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
Barter.js Some cleaning in the Barter component. 2023-06-16 06:25:36 +00:00
BattleDetection.js Fix issues with the component documentation. 2023-05-10 15:55:51 +00:00
Builder.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
BuildingAI.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
BuildRestrictions.js Fix eslint rule 'prefer-const' in components/[A-B]* 2025-05-11 10:40:23 +02:00
Capturable.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
CeasefireManager.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
Cost.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
DeathDamage.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
DelayedDamage.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
Diplomacy.js Fix eslint rule 'semi' 2025-05-03 14:13:14 +02:00
EndGameManager.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
EntityLimits.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
Fogging.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
Formation.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
FormationAttack.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Foundation.js Fix eslint rule 'prefer-const' in components/[C-F]* 2025-05-11 14:27:12 +02:00
Garrisonable.js Fix eslint rule 'prefer-const' in components/G* 2025-05-11 17:53:23 +02:00
GarrisonHolder.js Fix eslint rule 'prefer-const' in components/G* 2025-05-11 17:53:23 +02:00
Gate.js Fix eslint rule 'prefer-const' in components/G* 2025-05-11 17:53:23 +02:00
Guard.js Fix eslint rule 'prefer-const' in components/G* 2025-05-11 17:53:23 +02:00
GuiInterface.js Fix eslint rule 'prefer-const' in components/G* 2025-05-11 17:53:23 +02:00
Heal.js Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
Health.js Handle phenotype in Transform, tweak SetPhenotype logic 2024-11-30 19:12:11 +01:00
Identity.js Fix eslint indent rule 2025-05-03 09:39:58 +02:00
Loot.js Allow loot to be modified by technologies and auras 2017-11-15 22:56:04 +00:00
Looter.js Add safeguards for all queryOwnerInterface calls 2020-09-19 17:55:34 +00:00
Market.js Move trader gain to cmpMarket. 2021-04-07 06:58:36 +00:00
Mirage.js Store components to be miraged in cmpFogging. 2021-03-20 16:14:35 +00:00
ModifiersManager.js Fix modifiersManager cache incorrectly storing values with player-wide modifier 2025-04-19 12:37:24 +02:00
MotionBall.js
Pack.js Make PACKING_INTERVAL a static class member. 2024-10-27 21:34:26 +01:00
Player.js Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
PlayerManager.js Add a 'team population' gamesetting 2025-03-06 13:25:43 +01:00
Population.js Move PopulationBonus from cmpCost to new cmpPopulation. 2020-12-14 18:17:59 +00:00
PopulationCapManager.js Add a 'team population' gamesetting 2025-03-06 13:25:43 +01:00
ProductionQueue.js Handle researching technologies in the TechnologyManager. 2022-01-26 07:42:36 +00:00
Promotion.js Fix duplicating promoting entities in XP trickling structures. 2021-05-15 05:40:13 +00:00
RallyPoint.js Use transform to finish construction. 2021-04-06 12:54:33 +00:00
RangeOverlayManager.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Repairable.js Mirage unrepairable in cmpRepairable. 2021-06-15 08:46:14 +00:00
Researcher.js Move GenericName, History and Icon from the civ-JSON to cmpIdentity. 2022-02-05 06:24:45 +00:00
Resistance.js Fix attacking miraged entities. 2021-09-11 04:47:25 +00:00
ResourceDropsite.js Commit resources at dropsite and add tests. 2021-01-11 11:59:07 +00:00
ResourceGatherer.js Cache resource gatherer max distance and range. 2024-11-18 10:36:45 +01:00
ResourceSupply.js Run the AI in the same Compartment as the simulation. Let the AI access Sim data. 2022-01-30 13:33:34 +00:00
ResourceTrickle.js Fix issues with the component documentation. 2023-05-10 15:55:51 +00:00
Settlement.js
SkirmishReplacer.js Move GenericName, History and Icon from the civ-JSON to cmpIdentity. 2022-02-05 06:24:45 +00:00
Sound.js Replace {gender} by {phenotype} and support this tag in VisualActor. 2019-08-01 19:14:40 +00:00
StatisticsTracker.js Pull Diplomacy out of cmpPlayer. 2023-06-19 06:33:33 +00:00
StatusBars.js cp => CapturePoints 2020-12-23 17:26:36 +00:00
StatusEffectsReceiver.js Rename Attacking.js-helper to Attack.js and its global to AttackHelper. 2021-04-16 06:55:23 +00:00
TechnologyManager.js Fix eslint rule 'semi' 2025-05-03 14:13:14 +02:00
TerritoryDecay.js Pull Diplomacy out of cmpPlayer. 2023-06-19 06:33:33 +00:00
TerritoryDecayManager.js Cache a list of TerritoryDecay components in the TerritoryDecayManager instead of retrieving it each time 2017-10-09 19:38:56 +00:00
Timer.js Speed up timer update by using Map.forEach 2023-06-13 15:57:18 +00:00
Trader.js Fix typo in CanTrade. 2023-06-23 12:58:14 +00:00
Trainer.js Workaround TriggerHelper.js not being able to spawn units correctly because of promotion. 2023-05-10 15:13:52 +00:00
TrainingRestrictions.js Fix issues with the component documentation. 2023-05-10 15:55:51 +00:00
Treasure.js Fix issues with the component documentation. 2023-05-10 15:55:51 +00:00
TreasureCollector.js TreasureCollecter -> TreasureCollector. 2021-05-18 16:51:44 +00:00
Trigger.js Add an "OnAttackDetected" trigger 2025-02-26 11:56:52 +01:00
TriggerPoint.js Allow registering custom data for triggers 2021-05-09 16:55:36 +00:00
Turretable.js Fix infinite loop when queuing a gather order after garrison. 2021-12-09 16:35:03 +00:00
TurretHolder.js Fix schema for TurretHolder 2025-05-03 09:39:58 +02:00
UnitAI.js Fix eslint rule 'no-trailing-spaces' 2025-05-03 17:31:47 +02:00
UnitMotionFlying.js Fix eslint rule 'operator-assignment' 2025-05-03 19:02:10 +02:00
Upgrade.js Add Requirements helper. 2022-11-24 11:20:11 +00:00
Upkeep.js Add Upkeep component. 2021-04-04 06:52:20 +00:00
ValueModificationManager.js Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Visibility.js Revert a wrongly committed WIP change. 2015-09-18 19:54:19 +00:00
VisionSharing.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
WallPiece.js Correct WallPiece schema help comments 2020-05-21 19:11:00 +00:00
WallSet.js Add help comments to WallPiece component schema 2020-05-21 04:34:13 +00:00
Wonder.js Fix documentation of non system component. 2017-03-24 07:09:28 +00:00