Setup ESLint in order to lint JavaScript #2375
Annotations
10 errors and 1 warning
Run RuboCop:
app/models/user.rb#L20
Rails/InverseOf: Specify an `:inverse_of` option.
|
Run RuboCop:
app/models/user.rb#L20
Rails/RedundantForeignKey: Specifying the default value for `foreign_key` is redundant.
|
Run RuboCop:
app/models/user.rb#L22
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Run RuboCop:
app/models/user.rb#L26
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Run RuboCop:
app/models/user.rb#L30
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Run RuboCop:
app/models/user.rb#L33
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
|
Run RuboCop:
app/models/user.rb#L33
Rails/InverseOf: Specify an `:inverse_of` option.
|
Run RuboCop:
app/models/user.rb#L33
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Run RuboCop:
app/models/user.rb#L33
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Run RuboCop:
app/models/user.rb#L37
Rails/InverseOf: Specify an `:inverse_of` option.
|
Run RuboCop:
app/models/user.rb#L652
Performance/Count: Use `count` instead of `select...size`.
|
The logs for this run have expired and are no longer available.
Loading