mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 19:56:04 +01:00
27 lines
694 B
YAML
27 lines
694 B
YAML
---
|
|
Rails/FilePath:
|
|
EnforcedStyle: arguments
|
|
|
|
Rails/HttpStatus:
|
|
EnforcedStyle: numeric
|
|
|
|
Rails/LexicallyScopedActionFilter:
|
|
Exclude:
|
|
- app/controllers/auth/* # Conflicts with `Lint/UselessMethodDefinition` for inherited controller actions
|
|
|
|
Rails/NegateInclude:
|
|
Enabled: false
|
|
|
|
Rails/RakeEnvironment:
|
|
Exclude: # Tasks are doing local work which do not need full env loaded
|
|
- lib/tasks/auto_annotate_models.rake
|
|
- lib/tasks/emojis.rake
|
|
- lib/tasks/mastodon.rake
|
|
- lib/tasks/repo.rake
|
|
- lib/tasks/statistics.rake
|
|
|
|
Rails/SkipsModelValidations:
|
|
Enabled: false
|
|
|
|
Rails/UnusedIgnoredColumns:
|
|
Enabled: false # Preserve ability to migrate from arbitrary old versions
|