AO3-6565 Move admin user search to Elasticsearch, add past emails and username search #914
reviewdog.yml
on: pull_request
Rubocop
59s
ERB Lint runner
1m 37s
Annotations
5 errors and 2 warnings
Rubocop
Process completed with exit code 1.
|
ERB Lint runner:
app/views/admin/admin_users/index.html.erb#L25
[] reported by reviewdog 🐶
I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Raw Output:
app/views/admin/admin_users/index.html.erb:25:35: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
|
ERB Lint runner:
app/views/admin/admin_users/index.html.erb#L33
[] reported by reviewdog 🐶
I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Raw Output:
app/views/admin/admin_users/index.html.erb:33:38: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
|
ERB Lint runner:
app/views/admin/admin_users/index.html.erb#L38
[] reported by reviewdog 🐶
I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Raw Output:
app/views/admin/admin_users/index.html.erb:38:45: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts`: the latter is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
|
ERB Lint runner
Process completed with exit code 1.
|
Rubocop:
app/models/pseud.rb#L89
[rubocop] reported by reviewdog 🐶
`after_destroy` is supposed to appear before `after_commit`.
Raw Output:
app/models/pseud.rb:89:3: C: Rails/ActiveRecordCallbacksOrder: `after_destroy` is supposed to appear before `after_commit`.
|
Rubocop:
app/models/search/user_indexer.rb#L43
[rubocop] reported by reviewdog 🐶
Use `%w` or `%W` for an array of words.
Raw Output:
app/models/search/user_indexer.rb:43:21: C: Style/WordArray: Use `%w` or `%W` for an array of words.
|