Include Roslynator.Analyzers and Roslynator.CodeFixes with more strict default severity levels
まだ誰も着手していません。
評価
調査の方向性
まず、リポジトリに既存の C# 標準と editorconfig の構成を確認し、次にそれらを一覧にある Roslynator のアナライザーおよびリファクタリングと比較します。Roslynator が含まれ、選択した RCS ルールに文書化されたデフォルトの重大度があり、必要に応じて C# 標準にも対応する追加が行われていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Introduce https://github.com/JosefPihrt/Roslynator, which has 500+ analyzers, and also a large number of refactorings.
Lists of each:
http://pihrt.net/Roslynator/Analyzers
http://pihrt.net/Roslynator/Refactorings
Here's a very preliminary set of some recommendations for default severities. This is by no means exhaustive and is only the set that I came up with upon looking at the Info level severity issues from a single project I'm working on at the moment.
For some of these that aren't already covered, corresponding rules should be added to the C# standards.
# RCS1001: Add braces (when expression spans over multiple lines).
dotnet_diagnostic.RCS1001.severity = error
# RCS1003: Add braces to if-else (when expression spans over multiple lines).
dotnet_diagnostic.RCS1003.severity = error
# RCS1007: Add braces
dotnet_diagnostic.RCS1007.severity = error
# RCS1044: Remove original exception from throw statement
dotnet_diagnostic.RCS1044.severity = error
# RCS1123: Add parentheses according to operator precedence.
dotnet_diagnostic.RCS1123.severity = error
# RCS1037: Remove trailing white-space.
dotnet_diagnostic.RCS1037.severity = none
# RCS1036: Remove redundant empty line.
dotnet_diagnostic.RCS1036.severity = none
# RCS1170: Use read-only auto-implemented property.
dotnet_diagnostic.RCS1170.severity = warning
# RCS1213: Remove unused member declaration.
dotnet_diagnostic.RCS1213.severity = warning
- 主要言語
- C#
- スター
- 12
- フォーク
- 16
- 平均マージ
- 2分
- マージ済み PR(30日)
- 10
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntelliTect/CodingGuidelines のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
IntelliTect/CodingGuidelines#290 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
IntelliTect/CodingGuidelines#253 ·
-
.editorconfig C# coding guidelines proposal
IntelliTect/CodingGuidelines#249 · コメント 6 件 · リアクション 1 件 · 担当者 2 名 ·
-
analyzer C# coding guidelines proposal
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
IntelliTect/CodingGuidelines#231 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
IntelliTect/CodingGuidelines#230 ·
IntelliTect/CodingGuidelines の issue をすべて見る
似ている issue
-
untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
dotnet/dotnet-api-docs#13095 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
newrelic/newrelic-dotnet-agent#3850 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
LuckyPennySoftware/AutoMapper#4660 ·