github / github/rubocop-github
Unify controller render cops?
Aperta
- Lingua principale
- Ruby
- Stelle
- 667
- Fork
- 164
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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"`?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.