X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f6695c9079f4eeeecaa796c879868f797f97cd55..f1397f47003f3b0c431b0fbf2503cc0d7e15e9bc:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 975457d95..a31adf03b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,6 +2,23 @@ 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: @@ -40,3 +57,13 @@ Style/StringLiterals: Rails/HttpPositionalArguments: Enabled: false + +Rails/SkipsModelValidations: + Exclude: + - 'db/migrate/*.rb' + - 'app/controllers/user_controller.rb' + +Lint/PercentStringArray: + Exclude: + - 'config/initializers/secure_headers.rb' + - 'app/controllers/site_controller.rb'