Setup ESLint in order to lint JavaScript #2375
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`.
|