github / github/rubocop-github
Unify controller render cops?
- Lenguaje dominante
- Ruby
- Estrellas
- 667
- Forks
- 164
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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"`?
Guía de contribución
Línea de trabajo
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"`.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ruby
- Área
- tooling
- Tipo de issue
- Refactorización
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100