Update to improve GitHub Actions #3
Annotations
10 errors and 2 warnings
lint:
app/controllers/inquiries_controller.rb#L13
[Correctable] Layout/ExtraSpacing: Unnecessary spacing detected.
|
lint:
app/controllers/inquiries_controller.rb#L28
[Correctable] Rails/ActionOrder: Action show should appear before create.
|
lint:
app/controllers/inquiries_controller.rb#L36
[Correctable] Rails/RedundantActiveRecordAllMethod: Redundant all detected. (https://rails.rubystyle.guide/#redundant-all)
|
lint:
app/models/inquiry.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
lint:
app/models/inquiry.rb#L16
[Correctable] Rails/EnumHash: Enum defined as an array found in status enum declaration. Use hash syntax instead. (https://rails.rubystyle.guide#enums)
|
lint:
app/models/inquiry.rb#L17
[Correctable] Rails/EnumHash: Enum defined as an array found in action_type enum declaration. Use hash syntax instead. (https://rails.rubystyle.guide#enums)
|
lint:
db/migrate/20230709043109_create_inquiries.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
lint:
spec/fabricators/inquiry_fabricator.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
lint:
spec/fabricators/inquiry_fabricator.rb#L2
[Correctable] Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
|
lint:
spec/fabricators/inquiry_fabricator.rb#L6
[Correctable] Layout/TrailingEmptyLines: Final newline missing. (https://rubystyle.guide#newline-eof)
|
lint:
app/models/inquiry.rb#L16
[Correctable] Rails/EnumSyntax: Enum defined with keyword arguments in status enum declaration. Use positional arguments instead.
|
lint:
app/models/inquiry.rb#L17
[Correctable] Rails/EnumSyntax: Enum defined with keyword arguments in action_type enum declaration. Use positional arguments instead.
|