inherit_from: .rubocop_todo.yml
AllCops:
- RunRailsCops: true
+ Include:
+ - '**/*.gemspec'
+ - '**/*.podspec'
+ - '**/*.jbuilder'
+ - '**/*.rake'
+ - '**/*.opal'
+ - '**/config.ru'
+ - '**/Gemfile'
+ - '**/Rakefile'
+ - '**/Capfile'
+ - '**/Guardfile'
+ - '**/Podfile'
+ - '**/Thorfile'
+ - '**/Vagrantfile'
+ - '**/Berksfile'
+ - '**/Cheffile'
+ - '**/Vagabondfile'
+ - '**/Fastfile'
+ - '**/*.builder'
+
+Rails:
+ Enabled: true
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
- 'script/locale/reload-languages'
- 'script/update-spam-blocks'
+Style/IfInsideElse:
+ Enabled: false
+
Style/GlobalVars:
Exclude:
- 'lib/quad_tile/extconf.rb'
-
+
+Style/GuardClause:
+ Enabled: false
+
Style/HashSyntax:
EnforcedStyle: hash_rockets
Exclude:
Style/StringLiterals:
EnforcedStyle: double_quotes
+
+Rails/HttpPositionalArguments:
+ Enabled: false
+
+Rails/SkipsModelValidations:
+ Exclude:
+ - 'db/migrate/*.rb'
+ - 'app/controllers/user_controller.rb'