enhancement: Detect polymorphic associations in generator #3896
Annotations
2 errors
standardrb:
lib/generators/avo/resource_generator.rb#L229
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
Raw Output:
lib/generators/avo/resource_generator.rb:229:47: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
field: "polymorphic", options: { types: "[] # Add class names here, e.g., [User, Post]" }
^
|
standardrb:
lib/generators/avo/resource_generator.rb#L229
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
Raw Output:
lib/generators/avo/resource_generator.rb:229:102: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
field: "polymorphic", options: { types: "[] # Add class names here, e.g., [User, Post]" }
^
|
Loading