Sha256: 9be3d61a5cf0ec14e6d80a721b4ce67b150cd977316cef0e3de76edd0c539dc3
Contents?: true
Size: 1.17 KB
Versions: 4
Compression:
Stored size: 1.17 KB
Contents
Security: Enabled: true Security/IoMethods: Enabled: true Security/CompoundHash: 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 EnforcedShorthandSyntax: either # 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/**/*' Style/InvertibleUnlessCondition: Enabled: true Style/NegatedUnless: Enabled: true Style/UnlessElse: Enabled: true Style/UnlessLogicalOperators: Enabled: true 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rubocop-discourse-3.4.1 | rubocop-core.yml |
rubocop-discourse-3.4.0 | rubocop-core.yml |
rubocop-discourse-3.3.0 | rubocop-core.yml |
rubocop-discourse-3.2.0 | rubocop-core.yml |