You can either utilize NuGet packages to make analyzers available to everyone else or you can use the extensions so that they're strictly enforced.
Keep in mind to narrow down the scope to the single document in Visual Studio. You can do this by going into the visual studio 2019 options and changing:
C#-> Advanced> Background analysis scope
- Code Metrices
- Sharpen Rocks
- Clr Heap Allocation Analyzer
- Security Code Scan
- Roslynator
- U2U analyzers
- SonarLint for Visual Studio 2019
- U2U Performance Code Analyzers
- Async Fixer
You can find more of them just by typing analyzer when searching for items in NuGet