[🚀 Feature]: Improve .NET formatting / linting
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia con dotnet/.editorconfig e esamina le violazioni diagnostiche elencate. Esegui dotnet format style --diagnostics IDEXXXX --severity info e i comandi di formattazione Bazel documentati per analizzare le regole candidate. Il lavoro è completo quando vengono selezionate regole utili, vengono corrette le violazioni pertinenti e vengono configurati esplicitamente gli avvisi desiderati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
#17019 created the scaffolding and #17020 added the execution for .NET linting and formatting.
The issue is to dig deeper into what things in the .NET codebase can be improved by explicit rules and consistency. Ideally it is obvious how to add good code in .NET based on the rules we have an enforce.
I'm honestly not sure how much we need or how much is enough, but I know there is more work that can be done.
Have you considered any alternatives or workarounds?
This is what I have in dotnet/.editorconfig right now for specific enforcement. The idea is to add anything that can be automatically fixed that we want to enforce as a warning, and anything that we want to enforce but can't be automatically fixed by bazel run //dotnet:format -- style / bazel run //dotnet:format -- whitespace
dotnet_diagnostic.IDE0044.severity = warning # Make field readonly
dotnet_diagnostic.IDE0076.severity = warning # Invalid suppression
dotnet_diagnostic.IDE1005.severity = warning # Delegate invocation
# TODO: Additional violations to investigate
# The following are the number of violations for each diagnostic;
# They currently fail at info, the goal is to fix and explicitly set to warning above
# Investigate with `dotnet format style --diagnostics IDEXXXX --severity info`
# 1183 IDE0090
# 633 IDE0028
# 252 IDE0290
# 169 IDE0077
# 66 IDE0130
# 65 IDE0300
# 57 IDE1005
# 42 IDE0017
# 39 IDE0039
# 36 IDE0063
# 33 IDE0306
# 31 IDE0083
# 30 IDE0016
# 30 IDE0059
# 26 IDE0305
# 18 IDE0031
# 12 IDE0270
# 11 IDE0057
# 11 IDE0054
# 9 IDE0350
# 9 IDE0074
# 7 IDE0060
# 3 IDE0150
# 2 IDE0038
# 1 IDE0056
# 1 IDE0034
# 1 IDE0018
# ? IDE1006
- Lingua principale
- Java
- Stelle
- 34.6k
- Fork
- 8.7k
- Merge medio
- 1g 16h
- PR unite (30g)
- 107
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SeleniumHQ/selenium
-
C-py I-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
SeleniumHQ/selenium#18438 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
SeleniumHQ/selenium#18323 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
B-build C-py I-enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
SeleniumHQ/selenium#18435 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-dotnet C-java C-nodejs C-py C-rb I-defect
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
SeleniumHQ/selenium#18428 ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-rust I-defect
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
SeleniumHQ/selenium#18427 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SeleniumHQ/selenium
Issue simili
-
area-integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
? - Needs Triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/cudf-spark-jni#5598 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
oracle/graalvm-reachability-metadata#12264 ·
I maintainer di solito rispondono entro 1 giorno
-
[source-facebook-pages] post stream never returns attachments.media_typeForse già presa @v-k-data l’ha presa oggi. Apertaarea/connectors needs-triage type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
floci-io/floci#10107 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno