Skip to content

Setup ESLint in order to lint JavaScript #2375

Setup ESLint in order to lint JavaScript

Setup ESLint in order to lint JavaScript #2375

Triggered via pull request December 6, 2023 00:12
Status Failure
Total duration 1m 47s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
RuboCop: app/models/user.rb#L20
Rails/InverseOf: Specify an `:inverse_of` option.
RuboCop: app/models/user.rb#L20
Rails/RedundantForeignKey: Specifying the default value for `foreign_key` is redundant.
RuboCop: app/models/user.rb#L22
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
RuboCop: app/models/user.rb#L26
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
RuboCop: app/models/user.rb#L30
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
RuboCop: app/models/user.rb#L33
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
RuboCop: app/models/user.rb#L33
Rails/InverseOf: Specify an `:inverse_of` option.
RuboCop: app/models/user.rb#L33
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
RuboCop: app/models/user.rb#L33
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
RuboCop: app/models/user.rb#L37
Rails/InverseOf: Specify an `:inverse_of` option.
RuboCop: app/models/user.rb#L652
Performance/Count: Use `count` instead of `select...size`.