Skip to content

Limit annotation line length to 80 characters #192

Closed
@ressu

Description

@ressu

Currently annotate doesn't really care about how long the annotated lines are. Since I'm a bit pedantic and like to keep running rubocop over my source files, I keep hitting a problem with certain models where annotations exceed the line length of 80 characters.

Since 80 characters is a common practice in many places it would be nice if annotate_models also had an option to limit the line length.

Also, it's worth mentioning that while there are ways to avoid this in models, the annotations in routes are pretty consistently over 80 characters. There is no real way of avoiding this, except not annotating routes.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions