-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle StyleCop.Analyzers and our custom Faithlife stylecop.ruleset into Faithlife.Analyzers #53
Comments
I do like the idea of publishing a single shared configuration, which is consistent with @bgrainger's stated goal of unifying our .net build tooling. However, I recommend that it should go in a separate package from this one, particularly as we have evidence that at least one organization other than Faithlife might be interested in using Faithlife.Analyzers. |
Having a standard ruleset seems reasonable, especially since |
See also #36. |
@david-mitchell Are you suggesting a new (say) "Faithlife.Guidelines" package that would pull in Faithlife.Analyzers, StyleCop w/ rules, Roslynator w/ rules, any other libraries we find useful? So (if this is technically possible), adding one dependency pulls in a large set of different rules from various providers? |
@bgrainger, that is my suggestion. Based on the NuGet documentation I've read, I believe that it's possible, but I have not tested it to verify my understanding. |
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/Configuration.md#sharing-configuration-among-solutions describes how to package a
stylecop.ruleset
file in order to share it among multiple solutions. This issue is to add StyleCop.Analyzers 1.0.2 (most recent at the time this issue was created) as a nuget dependency to Faithlife.Analyzers and bundle in a Faithlifestylecop.ruleset
with our styling guidelines.Concerns:
Here's a
stylecop.ruleset
file already in use at Faithlife that can serve as a discussion starter (currently used by multiple teams):The text was updated successfully, but these errors were encountered: