Explorar el Código

add Layout/RescueEnsureAlignment excluding files to .rubocop.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@20487 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA hace 3 años
padre
commit
139cd818d8
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      .rubocop.yml

+ 5
- 0
.rubocop.yml Ver fichero

@@ -40,6 +40,11 @@ Layout/EmptyLinesAroundAccessModifier:
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true

Layout/RescueEnsureAlignment:
Enabled: true
Exclude:
- 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'

Layout/SpaceAroundEqualsInParameterDefault:
Enabled: false


Cargando…
Cancelar
Guardar