Last active
August 29, 2015 14:10
-
-
Save seratch/afb5f1701a8656994666 to your computer and use it in GitHub Desktop.
.rubocop.yml
This file contains hidden or 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
| AllCops: | |
| # Include gemspec and Rakefile | |
| Include: | |
| - '**/*.rb' | |
| Exclude: | |
| - 'bin/**/*' | |
| - 'config/**/*' | |
| - 'db/**/*' | |
| - 'app/views/**/*' | |
| - 'node_modules/**/*' | |
| - 'front/**/*' | |
| - 'vendor/**/*' | |
| - 'Guardfile' | |
| RunRailsCops: true | |
| AsciiComments: | |
| Enabled: false | |
| Metrics/ClassLength: | |
| Max: 200 | |
| Metrics/CyclomaticComplexity: | |
| Max: 5 | |
| Metrics/LineLength: | |
| Max: 120 | |
| Metrics/MethodLength: | |
| Max: 80 | |
| Style/AsciiComments: | |
| Enabled: false | |
| Style/Blocks: | |
| Enabled: false | |
| # Respect RubyMine formatter | |
| Style/CaseIndentation: | |
| Enabled: false | |
| Style/Documentation: | |
| Enabled: false | |
| Style/DotPosition: | |
| EnforcedStyle: trailing | |
| Style/EmptyLinesAroundBody: | |
| Enabled: false | |
| Style/GuardClause: | |
| Enabled: false | |
| Style/IfUnlessModifier: | |
| Enabled: false | |
| # Name reduce block params |a, e|. | |
| Style/SingleLineBlockParams: | |
| Enabled: false | |
| # Respect RubyMine formatter | |
| Style/SpaceInsideHashLiteralBraces: | |
| Enabled: false | |
| # Cannot deal with AR#eager_load | |
| Style/SymbolProc: | |
| Enabled: false | |
| # Final newline missing. | |
| Style/TrailingBlankLines: | |
| Enabled: false | |
| TrivialAccessors: | |
| Enabled: true | |
| ExactNameMatch: true | |
| Style/SpaceInsideBlockBraces: | |
| Enabled: false | |
| Style/MultilineBlockChain: | |
| Enabled: false | |
| Style/NumericLiterals: | |
| Enabled: false | |
| Style/AlignArray: | |
| Enabled: false | |
| # Do not prefix writer method names with set_ | |
| Style/AccessorMethodName: | |
| Enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment