Sha256: 13e4fa347bad75c945099b5daa98fd2a4ba3e19e65aa4356c4f4b5d4097cb61b

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 Bytes

Contents

Security:
  Enabled: true

Security/IoMethods:
  Enabled: true

# Prefer &&/|| over and/or.
Style/AndOr:
  Enabled: true

Style/FrozenStringLiteralComment:
  Enabled: true

# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
Style/HashSyntax:
  Enabled: true

# Defining a method with parameters needs parentheses.
Style/MethodDefParentheses:
  Enabled: true

Style/SingleLineMethods:
  Enabled: true

Style/Semicolon:
  Enabled: true
  AllowAsExpressionSeparator: true

Style/RedundantReturn:
  Enabled: true

Style/GlobalVars:
  Enabled: true
  Severity: warning
  Exclude:
    - 'lib/tasks/**/*'
    - 'script/**/*'
    - 'spec/**/*.rb'
    - 'plugins/*/spec/**/*'

Lint/Debugger:
  Enabled: true

# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
Lint/RequireParentheses:
  Enabled: true

Lint/ShadowingOuterLocalVariable:
  Enabled: true

Bundler/OrderedGems:
  Enabled: false

Layout/LineLength:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-discourse-3.0.3 rubocop-core.yml