2019-07-03 22:04:50 +00:00
|
|
|
AllCops:
|
|
|
|
TargetRubyVersion: '2.5'
|
|
|
|
|
|
|
|
Style/AsciiComments:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-07-03 19:35:13 +00:00
|
|
|
Metrics/LineLength:
|
|
|
|
Exclude:
|
|
|
|
- 'db/schema.rb'
|
|
|
|
- 'db/migrate/*.rb'
|
2019-07-03 22:04:50 +00:00
|
|
|
- 'app/models/site.rb'
|
2019-07-03 19:35:13 +00:00
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Exclude:
|
|
|
|
- 'db/schema.rb'
|
|
|
|
- 'db/migrate/*.rb'
|
2019-07-03 22:04:50 +00:00
|
|
|
- 'app/models/site.rb'
|
2019-07-03 23:25:23 +00:00
|
|
|
- 'app/controllers/sites_controller.rb'
|
|
|
|
- 'app/controllers/posts_controller.rb'
|
|
|
|
- 'app/controllers/invitadxs_controller.rb'
|
2019-07-04 00:51:44 +00:00
|
|
|
- 'app/controllers/i18n_controller.rb'
|
2019-07-03 19:35:13 +00:00
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Exclude:
|
|
|
|
- 'db/schema.rb'
|
|
|
|
- 'db/migrate/*.rb'
|
2019-07-03 22:04:50 +00:00
|
|
|
- 'app/models/site.rb'
|
2019-07-03 23:25:23 +00:00
|
|
|
- 'app/controllers/sites_controller.rb'
|
|
|
|
- 'app/controllers/posts_controller.rb'
|
|
|
|
- 'app/controllers/invitadxs_controller.rb'
|
2019-07-04 00:51:44 +00:00
|
|
|
- 'app/controllers/i18n_controller.rb'
|
2019-07-03 19:57:16 +00:00
|
|
|
|
|
|
|
Metrics/BlockLength:
|
|
|
|
Exclude:
|
2019-07-03 23:25:23 +00:00
|
|
|
- 'config/environments/production.rb'
|
2019-07-03 19:57:16 +00:00
|
|
|
- 'config/initializers/devise.rb'
|
2019-07-03 22:04:50 +00:00
|
|
|
- 'db/schema.rb'
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/site.rb'
|
2019-07-03 23:25:23 +00:00
|
|
|
- 'app/controllers/posts_controller.rb'
|
2019-07-03 22:04:50 +00:00
|
|
|
|
|
|
|
Performance/TimesMap:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/site.rb'
|
2019-07-03 23:25:23 +00:00
|
|
|
|
|
|
|
Lint/HandleExceptions:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/posts_controller.rb'
|
|
|
|
|
|
|
|
Style/GuardClause:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/posts_controller.rb'
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/posts_controller.rb'
|
2019-07-03 23:40:24 +00:00
|
|
|
|
|
|
|
Lint/UnreachableCode:
|
|
|
|
Exclude:
|
|
|
|
- 'app/policies/post_policy.rb'
|