Have Rider as External Script Editor with custom rider settings for each project

I’m having issues as I started working on multiple projects with multiple people using JetBrains Rider. In different projects we have different rules for alignment, naming etc. At the moment you have to switch settings in Rider manually but it would be great to have that set up just once for example for each Unity project.

EDIT: there is a way to manage code style settings in such way to have different settings for different solutions.

Rider has a concept called Layer settings.
This allows to layer different settings

you can reach it via the settings and then there is a button on the button of the settings window called “Manager Layers”.