X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..6f4f4b4d711d9534756e8d828710bcdef3c9be65:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 55be8141c..fc2b5cd85 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,26 +1,5 @@ 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 @@ -38,15 +17,24 @@ Naming/FileName: - 'script/locale/reload-languages' - 'script/update-spam-blocks' +Naming/UncommunicativeMethodParamName: + Enabled: false + Rails/ApplicationRecord: Enabled: false +Rails/CreateTableWithTimestamps: + Enabled: false + Rails/HasManyOrHasOneDependent: Enabled: false Rails/HttpPositionalArguments: Enabled: false +Rails/InverseOf: + Enabled: false + Rails/SkipsModelValidations: Exclude: - 'db/migrate/*.rb'