Files
codeocean/.rubocop/rails.yml
kiragrammel 319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00

28 lines
449 B
YAML

# rails cop settings
Rails:
Enabled: true
#
# False positives:
# * On embedded models in migrations.
#
Rails/ApplicationRecord:
Exclude:
- "db/**/*"
Rails/UnknownEnv:
Environments:
- development
- staging
- production
- test
Rails/I18nLazyLookup:
Enabled: false
Rails/DynamicFindBy:
Whitelist:
- find_by_sql # Default value for this cop
- find_by_id_with_type # custom method defined in the `User` model