[55997] Add duration_format setting with hours_only by default #16017
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (31)
lib/api/v3/configuration/configuration_representer.rb|142 col 13| Consider replacing case-when
with a hash lookup.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|44 col 9| Use normalcase for symbol numbers.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|47 col 9| Use normalcase for symbol numbers.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|72 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|72 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|73 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|73 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|74 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|74 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|75 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|75 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|76 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|76 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|77 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|77 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|78 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|78 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|79 col 5| Do not define constants this way within a block.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|79 col 5| Stub constant instead of declaring explicitly.
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|81 col 5| Example has too many lines. [45/25]
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|81 col 5| Example has too many expectations [23/15].
modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb|148 col 131| Line is too long. [133/130]
spec/features/work_packages/edit_work_package_spec.rb|104 col 15| Use update
instead of update_attributes
.
spec/features/work_packages/edit_work_package_spec.rb|129 col 13| Use update
instead of update_attributes
.
spec/features/work_packages/edit_work_package_spec.rb|160 col 13| Use update
instead of update_attributes
.
spec/features/work_packages/edit_work_package_spec.rb|184 col 13| Use update
instead of update_attributes
.
spec/features/work_packages/edit_work_package_spec.rb|194 col 11| Context description should match /^and\b/, /^as\b/, /^even\b/, /^for\b/, /^given\b/, /^having\b/, /^if\b/, /^in\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
spec/features/work_packages/edit_work_package_spec.rb|240 col 13| Use update
instead of update_attributes
.
spec/features/work_packages/edit_work_package_spec.rb|259 col 11| Context description should match /^and\b/, /^as\b/, /^even\b/, /^for\b/, /^given\b/, /^having\b/, /^if\b/, /^in\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
spec/models/work_package/exporter/csv_integration_spec.rb|31 col 1| Spec path should end with work_package/exports/csv*_spec.rb
.
spec/models/work_packages/pdf_export/work_package_to_pdf_spec.rb|31 col 1| Spec path should end with work_package/pdf_export/work_package_to_pdf*_spec.rb
.