github / github/rubocop-github
Unify controller render cops?
- 主要言語
- Ruby
- スター
- 667
- フォーク
- 164
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It looks like there are several cops which implement various approaches to recommending:
```ruby
render "path/to/template", { ... options ... }
```
Why are these cops separate? Could they be unified?
For example, one cop replaces `render action: :edit` => `render action: "edit"`, but another replaces `render action: "edit"` => `render "edit"`. So, could we jump right from `render action: :edit"` => `render "edit"`?
コントリビューションガイド
調査の方向性
The issue does not name files or tests. Start by locating the controller render cops that handle symbol and string actions, then compare their recommendations and correction behavior. Done means determining whether the cops can be unified and defining a consistent direct correction from `render action: :edit` to `render "edit"`.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ruby
- 領域
- tooling
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100