Last active
November 23, 2015 21:24
-
-
Save mjgiarlo/cffd914934b21a3673c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require: rubocop-rspec | |
AllCops: | |
RunRailsCops: true | |
DisplayCopNames: true | |
Include: | |
- '**/Rakefile' | |
- '**/config.ru' | |
Exclude: | |
- 'bin/**/*' | |
- 'db/**/*' | |
- 'script/**/*' | |
- 'vendor/**/*' | |
- 'spec/internal/**/*' | |
Metrics/LineLength: | |
Max: 120 | |
Style/BlockDelimiters: | |
Exclude: | |
- 'spec/**/*' | |
Style/BlockEndNewline: | |
Exclude: | |
- 'spec/**/*' | |
Style/MultilineBlockLayout: | |
Exclude: | |
- 'spec/**/*' | |
Style/IndentationConsistency: | |
EnforcedStyle: rails | |
Style/CollectionMethods: | |
PreferredMethods: | |
collect: 'map' | |
collect!: 'map!' | |
inject: 'reduce' | |
detect: 'find' | |
find_all: 'select' | |
Style/WordArray: | |
Enabled: false | |
Style/RegexpLiteral: | |
Enabled: false | |
Style/StringLiterals: | |
Enabled: true | |
EnforcedStyle: single_quotes | |
Style/ClassAndModuleChildren: | |
Enabled: false | |
Style/GlobalVars: | |
Exclude: | |
- 'spec/**/*' | |
Style/SingleLineBlockParams: | |
Enabled: false | |
Style/SignalException: | |
Enabled: false | |
RSpec/ExampleWording: | |
CustomTransform: | |
be: is | |
have: has | |
not: does not | |
NOT: does NOT | |
IgnoredWords: | |
- only | |
RSpec/InstanceVariable: | |
Enabled: false | |
Rails/Output: | |
Exclude: | |
- 'lib/generators/**/*' | |
Rails/Date: | |
Enabled: false | |
Rails/TimeZone: | |
Enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment