cake-contrib / CakeContrib.Guidelines

Adds common guidelines to cake-contrib projects
https://cake-contrib.github.io/CakeContrib.Guidelines/
MIT License
2 stars 5 forks source link

Some opt-out settings clutter the project view #336

Open nils-a opened 4 months ago

nils-a commented 4 months ago

While settings in an ItemGroup work well for this project, when one starts using them, they really clutter the project view.

An example is the following opt-out section:

<ItemGroup>
  <CakeContribGuidelinesOmitRecommendedConfigFile Include="stylecop.json" />
  <CakeContribGuidelinesOmitRecommendedConfigFile Include=".editorconfig" />
  <CakeContribGuidelinesOmitRecommendedReference Include="StyleCop.Analyzers" />
</ItemGroup>

results in the following: image

nils-a commented 4 months ago

Obviously, one workaround would be to change the above ItemGroup like this:

<ItemGroup>
  <CakeContribGuidelinesOmitRecommendedConfigFile Include="stylecop.json" Visible="false"/>
  <CakeContribGuidelinesOmitRecommendedConfigFile Include=".editorconfig" Visible="false"/>
  <CakeContribGuidelinesOmitRecommendedReference Include="StyleCop.Analyzers" Visible="false"/>
</ItemGroup>