Add lint to the API repo

オープン
#3,450 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
ci-cd, tooling

調査の方向性

リポジトリのファイルも既存のチェックも指定されていません。まず PR 3426 とリンクされている istio.io の lint 失敗を確認し、次に istio/api で pull request のチェックがどのように設定されているかを追跡してください。完了の条件は、istio.io に到達する前に、PR のチェックが Unicode の曲がった引用符を確実に検出することです。

索引モデルが issue の本文から書いたものです。

説明

If you introduce curly unicode quotes (““ instead of ""), you will eventually break the linter on istio.io.

For example https://github.com/istio/api/pull/3426

// For text format, the output of the empty operator is changed from “-“ to an empty string.

leads to https://github.com/istio/istio.io/pull/16281 (prow)

./content/en/docs/reference/config/istio.mesh.v1alpha1/index.html:1707:For text format, the output of the empty operator is changed from “-“ to an empty string.
Ensure content only uses standard quotation marks and not “

Could we please introduce some light linting to PRs here for this use case, which has now happened at least enough times that i remember it?

主要言語
Go
スター
523
フォーク
623
平均マージ
5日 20時間
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

istio/api のほかの issue

istio/api の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。