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
The Labs repo is using default settings for code styling and .editorconfig. We need to bring in the .editorconfig and other code styling analyzers from the main repo.
Activity
michael-hawker commentedon Mar 30, 2022
Reading more, looks like .editorconfig should handle most of our needs these days. It should be able to specify stuff in the IDE, but also in our CI.
Resources for CI enforcement:
https://docs.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2022#command-line-usage
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview#enable-on-build
Info on running XAML Styler on commit here as well: https://github.com/Xavalon/XamlStyler/wiki/Git-Hook
Looking at seeing if I can add this stuff in, so assigning to myself.
michael-hawker commentedon Mar 30, 2022
Investigated looking at a tools manifest to help us with things: https://docs.microsoft.com/en-us/dotnet/core/tools/local-tools-how-to-use
And of course the Git Hooks docs: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
michael-hawker commentedon Mar 30, 2022
Script integration info for XAML Styler: https://github.com/Xavalon/XamlStyler/wiki/Script-Integration
Though running into some issues getting it to run.
Jay-o-Way commentedon Nov 14, 2023
FYI: the nugget wasn't updated for a while, but v3.2311.2 has been published about two hours ago
Xavalon/XamlStyler#429 (comment)