Check Distributor property most of the details available there.
Transaction and history retention of replication object how long to store.
Publication Retention
Change each publication from 336 hours to never expire.
Transaction Retention Period
The first setting is the Transaction Retention Period. This is defined on the distribution database. It specifies how long the transaction information is kept in the distribution database. So that subscriber can read it.
History Retention setting
This defines how long information about the health of the replication setup is kept in the distribution database. This setting does not affect the subscribers.
Profile
Profile is much important to validate the data and pass throw the data etc.
https://www.mssqltips.com/sqlservertip/2630/understanding-retention-periods-for-sql-server-transactional-replication/
How to check snapshot folder configured?
In general you can configure Subscription expire retention
Article – You can add or drop objects. You can modify property of each article. Like copy non clustered index , constraints etc.
Filters – You can add filters
Snapshot – You can configure snapshot location for that particular publisher.
FTP snapshot – you can leave
Subscription options – you can modify the Subscription setting
Publication access list – You can add or drop who can access publication
Agent security – You can configure snapshot and log reader agent login account.
Subscription settings:
You can configure the distributor agent and other settings.