Sha256: 26a5ac2b11a9098b02e1c891b413df478da7abad10819660ec256ef55921b0eb
Contents?: true
Size: 1.96 KB
Versions: 1
Compression:
Stored size: 1.96 KB
Contents
# Turn on RSpec cops require: rubocop-rspec AllCops: DisplayCopNames: true Include: - '**/Rakefile' - '**/config.ru' Exclude: - 'Gemfile.lock' - '**/*.md' - 'bin/*' - 'config/**/*.yml' - 'db/**/*' - 'script/**/*' - '.internal_test_app/**/*' - 'spec/fixtures/**/*' - 'spec/internal/**/*' - 'spec/test_app_templates/**/*' - 'vendor/**/*' # Turn on Rails cops Rails: Enabled: true # DLSS configuration changes for these cops enabled by default in Rubocop Layout/IndentationConsistency: EnforcedStyle: rails Metrics/AbcSize: Max: 20 Metrics/BlockNesting: Max: 4 Metrics/ClassLength: Max: 200 Metrics/LineLength: Max: 120 Metrics/MethodLength: Max: 25 Metrics/ModuleLength: Max: 200 RSpec/ExampleWording: CustomTransform: be: is have: has not: does not NOT: does NOT IgnoredWords: - only # DLSS explicitly disabling these cops enabled by default in Rubocop # (DLSS agrees they should be disabled, or we disagree about whether they should be enabled) Layout/AccessModifierIndentation: Enabled: false Layout/AlignHash: Enabled: false Layout/AlignParameters: Enabled: false Layout/EmptyLinesAroundClassBody: Enabled: false Layout/EmptyLinesAroundModuleBody: Enabled: false Layout/LeadingCommentSpace: Enabled: false Layout/SpaceAfterNot: Enabled: false Layout/SpaceAroundEqualsInParameterDefault: Enabled: false Layout/TrailingBlankLines: Enabled: false Style/AsciiComments: Enabled: false Style/BlockComments: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/Documentation: Enabled: false Style/NegatedIf: Enabled: false Style/NegatedWhile: Enabled: false Style/RegexpLiteral: Enabled: false Style/SingleLineBlockParams: Enabled: false Style/StringLiterals: 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.1.0 | config/dlss_baseline.yml |