Sha256: 77491cc1957eec3b3f913efadc9d7188aa5e963fabd50c31e48597a7d837a7e2
Contents?: true
Size: 1.78 KB
Versions: 1
Compression:
Stored size: 1.78 KB
Contents
# Turn on RSpec cops require: rubocop-rspec AllCops: DisplayCopNames: true Include: - '**/Rakefile' - '**/config.ru' Exclude: - 'db/**/*' - 'script/**/*' - '.internal_test_app/**/*' - 'spec/test_app_templates/**/*' - 'vendor/**/*' # Turn on Rails cops Rails: Enabled: true # Cops with default values configured Metrics/AbcSize: Max: 20 Metrics/BlockNesting: Max: 4 Metrics/ClassLength: Max: 200 Metrics/LineLength: Max: 120 Metrics/MethodLength: Max: 25 Metrics/ModuleLength: Max: 200 Style/IfUnlessModifier: MaxLineLength: 120 Style/IndentationConsistency: EnforcedStyle: rails Style/WhileUntilModifier: MaxLineLength: 120 RSpec/ExampleWording: CustomTransform: be: is have: has not: does not NOT: does NOT IgnoredWords: - only # Cops that are turned off by default because we disagree about them Style/AlignHash: Enabled: false Style/AlignParameters: Enabled: false Style/AsciiComments: Enabled: false Style/BlockComments: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/Documentation: Enabled: false Style/EmptyLinesAroundClassBody: Enabled: false Style/EmptyLinesAroundModuleBody: Enabled: false Style/LeadingCommentSpace: Enabled: false Style/NegatedIf: Enabled: false Style/NegatedWhile: Enabled: false Style/RegexpLiteral: Enabled: false Style/SingleLineBlockParams: Enabled: false Style/SpaceAfterNot: Enabled: false Style/SpaceAroundEqualsInParameterDefault: Enabled: false Style/SpaceInsideBrackets: Enabled: false Style/StringLiterals: Enabled: false Style/TrailingBlankLines: Enabled: false Style/TrailingCommaInLiteral: Enabled: false Style/WordArray: Enabled: false RSpec/DescribeClass: Enabled: false RSpec/FilePath: Enabled: false
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dlss_cops-0.0.2 | config/rubocop.yml |