microsoft / microsoft/OpenAPI.NET

avoid regressions for linting improvements

未關閉
#1,400 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
1.6k
分支
286
平均合併
6 小時 38 分鐘
30 天內合併 PR
35

描述

@simoncropp thank you for all the linting and other improvements pull requests (for other readers #1365 through #1398)

I'd like to make sure we don't introduce regressions on those improvements in the future. Hence this issue.

I think we should be able to get all those checked on every PR with:

  • editor config with a well configured csharp section
  • dotnet format --verify-no-changes
  • editing one of the existing GHA workflows to run this command.

Thoughts? Is this something you'd be willing to submit a PR for once the linting PRs are merged?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先檢查現有的 GitHub Actions 工作流程和儲存庫的編輯器設定,然後在本機執行 dotnet format --verify-no-changes。當相關的 editorconfig C# 設定與格式驗證執行在每個 pull request 上都成功且沒有回歸時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, github-actions
領域
build-system, ci-cd, developer-experience
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。