-
Notifications
You must be signed in to change notification settings - Fork 1
Fix error while migration #847
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| class DashboardEnum < Enumeration | ||
Check noticeCode scanning / Rubocop Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
||
| scope :default, -> {where(name: 'Default')} | ||
Check noticeCode scanning / Rubocop Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
Layout/SpaceInsideBlockBraces: Space missing inside {.
Check noticeCode scanning / Rubocop Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
Layout/SpaceInsideBlockBraces: Space missing inside }.
|
||
| OptionName = :enumeration_dashboard_type | ||
Check noticeCode scanning / Rubocop Constants should use SCREAMING_SNAKE_CASE.
Naming/ConstantName: Use SCREAMING_SNAKE_CASE for constants.
|
||
|
|
||
| def option_name | ||
| OptionName | ||
| end | ||
| end | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| class ReportEnum < Enumeration | ||
Check noticeCode scanning / Rubocop Document classes and non-namespace modules.
Style/Documentation: Missing top-level documentation comment for `class ReportEnum`.
Check noticeCode scanning / Rubocop Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
||
| scope :default, -> {where(name: 'Default')} | ||
Check noticeCode scanning / Rubocop Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
Layout/SpaceInsideBlockBraces: Space missing inside {.
Check noticeCode scanning / Rubocop Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
Layout/SpaceInsideBlockBraces: Space missing inside }.
|
||
| OptionName = :enumeration_report_type | ||
Check noticeCode scanning / Rubocop Constants should use SCREAMING_SNAKE_CASE.
Naming/ConstantName: Use SCREAMING_SNAKE_CASE for constants.
|
||
|
|
||
| def option_name | ||
| OptionName | ||
| end | ||
| end | ||
Check notice
Code scanning / Rubocop
Document classes and non-namespace modules.