Use git commit hash as part of the cache key #1
Annotations
10 errors and 1 warning
lint:
app/models/status.rb#L322
[Correctable] Rails/ActiveRecordCallbacksOrder: after_create is supposed to appear before before_destroy. (https://rails.rubystyle.guide/#callbacks-order)
|
lint:
app/models/status.rb#L425
Naming/PredicateName: Rename has_non_mention_links? to non_mention_links?. (https://rubystyle.guide#bool-methods-qmark)
|
lint:
app/services/fan_out_on_write_service.rb#L123
[Correctable] Style/NumericPredicate: Use @account.followers.local.count.zero? instead of @account.followers.local.count == 0. (https://rubystyle.guide#predicate-methods)
|
lint:
app/services/post_status_service.rb#L121
[Correctable] Layout/EmptyLines: Extra blank line detected. (https://rubystyle.guide#two-or-more-empty-lines)
|
lint:
config/environments/production.rb#L153
[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
lint:
config/environments/production.rb#L154
[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
lint:
config/environments/production.rb#L155
[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
lint:
config/environments/production.rb#L156
[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
lint:
config/environments/production.rb#L157
[Correctable] Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
lint:
config/initializers/cors.rb#L28
[Correctable] Layout/ArgumentAlignment: Align the arguments of a method call if they span more than one line. (https://rubystyle.guide#no-double-indent)
|
lint:
app/models/status.rb#L319
[Correctable] Lint/AmbiguousOperatorPrecedence: Wrap expressions with varying precedence with parentheses to avoid ambiguity.
|