Sha256: 671ff3dad1fa3ace4c3e7d2793b150885491e4067c129d763912e7b1414a0e17

Contents?: true

Size: 1.77 KB

Versions: 13

Compression:

Stored size: 1.77 KB

Contents

require: rubocop-rails

Rails:
  Enabled: true

Rails/ActionFilter:
  Include:
    - app/controllers/**/*.rb
    - decidim-*/app/controllers/**/*.rb

Rails/ContentTag:
  Enabled: false

Rails/CreateTableWithTimestamps:
  Enabled: false

Rails/EnumUniqueness:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/Exit:
  Include:
    - app/**/*.rb
    - config/**/*.rb
    - lib/**/*.rb
    - decidim-*/app/**/*.rb
    - decidim-*/config/**/*.rb
    - decidim-*/lib/**/*.rb
  Exclude:
    - lib/**/*.rake
    - decidim-*/lib/**/*.rake

Rails/FindBy:
  Include:
    - "**/*.rb"

Rails/FindEach:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/HasAndBelongsToMany:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/HasManyOrHasOneDependent:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/InverseOf:
  Enabled: false

Rails/LexicallyScopedActionFilter:
  Include:
    - app/controllers/**/*.rb
    - decidim-*/app/controllers/**/*.rb

Rails/NotNullColumn:
  Enabled: false

Rails/Output:
  Include:
    - app/**/*.rb
    - config/**/*.rb
    - db/**/*.rb
    - lib/**/*.rb
    - decidim-*/app/**/*.rb
    - decidim-*/config/**/*.rb
    - decidim-*/db/**/*.rb
    - decidim-*/lib/**/*.rb
  Exclude:
    - "**/db/seeds.rb"

Rails/OutputSafety:
  Enabled: false

Rails/Pluck:
  Enabled: false

Rails/RakeEnvironment:
  Enabled: false

Rails/ReadWriteAttribute:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/ReversibleMigration:
  Enabled: false

Rails/ScopeArgs:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Rails/SkipsModelValidations:
  Enabled: true

Rails/Validation:
  Include:
    - app/models/**/*.rb
    - decidim-*/app/models/**/*.rb

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-dev-0.29.1 config/rubocop/rails.yml
decidim-dev-0.28.4 config/rubocop/rails.yml
decidim-dev-0.29.0 config/rubocop/rails.yml
decidim-dev-0.28.3 config/rubocop/rails.yml
decidim-dev-0.29.0.rc4 config/rubocop/rails.yml
decidim-dev-0.29.0.rc3 config/rubocop/rails.yml
decidim-dev-0.29.0.rc2 config/rubocop/rails.yml
decidim-dev-0.29.0.rc1 config/rubocop/rails.yml
decidim-dev-0.28.2 config/rubocop/rails.yml
decidim-dev-0.28.1 config/rubocop/rails.yml
decidim-dev-0.28.0 config/rubocop/rails.yml
decidim-dev-0.28.0.rc5 config/rubocop/rails.yml
decidim-dev-0.28.0.rc4 config/rubocop/rails.yml