Sha256: e00108926b0af504d32fad37760ac4800fe44fb69a65ddd1a528a000a16106de
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
inherit_from: - ../conf/rubocop.yml inherit_mode: merge: - Exclude AllCops: TargetRailsVersion: 5.2 Exclude: - tmp/cache/**/* - '**/gemfiles/*.gemfile' Metrics/BlockLength: inherit_mode: merge: - Exclude Exclude: - "app/graphql/**/*.rb" - "/**/config/environments/*.rb" - "/**/lib/tasks/**/*.rake" Rails: Enabled: true # This conflicts with Strong Migrations, which can't check `change_table` Rails/BulkChangeTable: Enabled: false Rails/FilePath: Enabled: false Rails/HasAndBelongsToMany: Enabled: false Rails/RelativeDateConstant: # Auto-correct is broken for this cops in some cases. It replaces the # constant but does not update references to it. AutoCorrect: false Style/DoubleNegation: Enabled: false Style/MixinUsage: Exclude: - "bin/**/*" Rails/UnknownEnv: Environments: - development - test - staging - production Rails/SaveBang: Enabled: true AllowImplicitReturn: false AutoCorrect: False Ezcater/RailsTopLevelSqlExecute: Description: 'Use `execute` instead of `ActiveRecord::Base.connection.execute` in migrations.' Enabled: true Include: - "db/migrate/**/*" Ezcater/RailsEnv: Description: 'Enforce the use of `Rails.configuration.x.<foo>` instead of checking `Rails.env`.' Enabled: true Exclude: - "/**/config/**/*" - "/**/spec/rails_helper.rb" - "db/**/*" - "/**/lib/tasks/**/*" - "/**/spec/lib/tasks/**/*" Ezcater/DirectEnvCheck: Description: 'Enforce the use of `Rails.configuration.x.<foo>` instead of checking `ENV`.' Enabled: true Exclude: - "bin/**/*" - "/**/config/**/*" - "/**/spec/rails_helper.rb" - "db/**/*" - "/**/lib/tasks/**/*" - "/**/spec/lib/tasks/**/*"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ezcater_rubocop-8.0.0 | conf/rubocop_rails.yml |
ezcater_rubocop-7.1.2 | conf/rubocop_rails.yml |