dotnet / dotnet/roslyn

Configure BannedApiAnalyzer through .editorconfig

Open
#85,174 0 comments 0 reactions 0 assignees View on GitHub
Area-IDE Feature Request
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

**Brief description:**

Describe your **code style** rule here.
(The comment suggesting to add ` To propose a semantic/code quality analyzer, please follow the guidelines at https://github.com/dotnet/roslyn-analyzers/blob/main/GuidelinesForNewRules.md` is outdated since roslyn-analyzers is moved either here or to the SDK repo )

**Languages applicable:**

Is your analyzer C# only? VB Only? Or Both?
Not sure but I only care about C#

**Code example that the analyzer should report:**

Configuration in .editorconfig instead of a text file so we can consolidate analyzer configuration from there

**Additional information:**

N/A

**Documentation requirements:**

When this analyzer is implemented, it must be documented by following the steps at [Documentation for IDE CodeStyle analyzers](https://github.com/dotnet/roslyn/blob/main/docs/contributing/Documentation%20for%20IDE%20CodeStyle%20analyzers.md).

Contributor guide

Open the contributing guide

Research direction

Start by reviewing BannedApiAnalyzer's existing text-file configuration and the requested .editorconfig approach. Clarify the C# configuration behavior and follow the documented steps for IDE CodeStyle analyzer documentation; done means analyzer settings can be consolidated in .editorconfig and the required documentation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.