Skip to content
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

Add a custom rule identifier. #10083

Open
YuliiaKovalova opened this issue Apr 29, 2024 · 0 comments
Open

Add a custom rule identifier. #10083

YuliiaKovalova opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@YuliiaKovalova
Copy link
Member

There is a need to understand if a rule belongs to custom category or is a build-in for .editorconfig purposes.
I suggest to create a child class CustomBuildAnalyzer.cs for custom analyzers from

/// <see cref="BuildAnalyzer"/> is a unit of build analysis execution, but it can contain multiple rules - each representing a distinct violation.

and restrict on this type during instantiation : https://github.com/dotnet/msbuild/blob/c305c6901b2bf74867efcb8b6c5f3083ef81c30b/src/Build/BuildCheck/Acquisition/BuildCheckAcquisitionModule.cs#L45C1-L46C1

@YuliiaKovalova YuliiaKovalova self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant