You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is only suitable once .editorconfig has everything ruleset files provide already:
IDE support, i.e. you don't have to manually add every rule but can just select what to do for each rule. This is now done with VS 2022. However, it only works for files under the solution, so you can't edit under the tools folder.
Perhaps we need to have use case-specific packages, e.g. `Lombiq.Analyzers.OrchardCore"?
Update docs. Search for ".editorconfig" and "ruleset".
Add docs on migration, including converting ruleset files.
Check if we need <developmentDependency>true</developmentDependency> in the nuspec template. The analyzer packages we use do this. Check the generated <PackageReference> after a new install and change the docs, including release notes, and consuming projects if necessary.
<GlobalAnalyzerConfigFiles> and <EditorConfigFiles> seem to be virtually equivalent. Even if you use the latter and name your files something.editorconfig, they'll actually be global AnalyzerConfig files and need is_global = true. GlobalAnalyzerConfigFiles is meant to be used by us.
While .editorconfig files work solely based on the folder structure, .globalconfigs can do this and also be referenced with <GlobalAnalyzerConfigFiles>.
We could leave the editor-specific config, like charset, guidelines, tabs, in .editorconfig, which would remain copied. Analyzer configs would be moved to .globalconfigs, and would be referenced instead of copied.
This is only suitable once .editorconfig has everything ruleset files provide already:
<EditorConfigFiles>
could help us, see this blog post. An alternative would be Define spec for NuGet packages providing .editorconfig defaults dotnet/roslyn#19028 (comment)..globalconfig
, but that's only for analyzer configs, not edit configuration like charset or guidelines. See Editorconfig vs Global analyzerconfig dotnet/roslyn#47707.Tasks:
<developmentDependency>true</developmentDependency>
in the nuspec template. The analyzer packages we use do this. Check the generated<PackageReference>
after a new install and change the docs, including release notes, and consuming projects if necessary.The text was updated successfully, but these errors were encountered: