X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8008dc9ccb1ca351a9e6c32606683b349a69e77b..c57d2b29fc1f4647b460b6b74d072c409932e3f2:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index f12f24a9f..477b2ab02 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,26 @@ inherit_from: .rubocop_todo.yml +AllCops: + Include: + - '**/*.gemspec' + - '**/*.podspec' + - '**/*.jbuilder' + - '**/*.rake' + - '**/*.opal' + - '**/config.ru' + - '**/Gemfile' + - '**/Rakefile' + - '**/Capfile' + - '**/Guardfile' + - '**/Podfile' + - '**/Thorfile' + - '**/Vagrantfile' + - '**/Berksfile' + - '**/Cheffile' + - '**/Vagabondfile' + - '**/Fastfile' + - '**/*.builder' + Rails: Enabled: true @@ -33,3 +54,11 @@ Style/HashSyntax: Style/StringLiterals: EnforcedStyle: double_quotes + +Rails/HttpPositionalArguments: + Enabled: false + +Rails/SkipsModelValidations: + Exclude: + - 'db/migrate/*.rb' + - 'app/controllers/user_controller.rb'