Created
January 3, 2014 16:09
-
-
Save tsnow/8240529 to your computer and use it in GitHub Desktop.
Rubocop
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
rc> gem install rubocop | |
rc> rubocop --format offences -R lib | |
3073 StringLiterals | |
1573 HashSyntax | |
1303 LineLength | |
1118 TrailingWhitespace | |
246 MethodLength | |
240 SpaceAfterComma | |
201 Documentation | |
185 Encoding | |
168 SpaceInsideHashLiteralBraces | |
154 AndOr | |
139 EmptyLinesAroundBody | |
113 RedundantReturn | |
107 CyclomaticComplexity | |
101 SpaceAroundBlockBraces | |
94 SignalException | |
93 GlobalVars | |
93 IndentationWidth | |
86 RescueException | |
84 AssignmentInCondition | |
84 LeadingCommentSpace | |
76 SpaceAroundEqualsInParameterDefault | |
74 CaseIndentation | |
69 SpaceAroundOperators | |
61 PerlBackrefs | |
60 RedundantSelf | |
56 Tab | |
53 UselessAssignment | |
50 BracesAroundHashParameters | |
50 EmptyLines | |
47 SpaceInsideParens | |
36 SpaceInsideBrackets | |
34 Void | |
34 ClassVars | |
28 ClassLength | |
27 CollectionMethods | |
23 VariableName | |
23 FinalNewline | |
21 IfUnlessModifier | |
20 Semicolon | |
19 Blocks | |
19 AlignHash | |
18 ParenthesesAroundCondition | |
18 Output | |
18 AlignParameters | |
17 EndAlignment | |
16 RaiseArgs | |
16 EmptyLinesAroundAccessModifier | |
15 WordArray | |
15 TrailingBlankLines | |
14 MultilineIfThen | |
13 HashMethods | |
13 BlockNesting | |
11 FavorUnlessOverNegatedIf | |
10 UnlessElse | |
8 Not | |
7 AccessModifierIndentation | |
7 SpaceAfterControlKeyword | |
7 Alias | |
6 ParameterLists | |
6 ClassAndModuleCamelCase | |
5 NumericLiterals | |
5 TrivialAccessors | |
5 EndOfLine | |
4 MethodCallParentheses | |
4 EmptyLineBetweenDefs | |
3 AccessorMethodName | |
3 CommentAnnotation | |
3 RedundantBegin | |
3 NestedTernaryOperator | |
3 MultilineBlockChain | |
3 DefWithParentheses | |
3 AlignArray | |
2 BlockAlignment | |
2 FavorUntilOverNegatedWhile | |
2 Eval | |
2 PredicateName | |
2 ConstantName | |
2 ColonMethodCall | |
2 FavorSprintf | |
2 MultilineTernaryOperator | |
2 RegexpLiteral | |
2 BlockComments | |
2 ShadowingOuterLocalVariable | |
1 MethodDefParentheses | |
1 SpecialGlobalVars | |
1 DotPosition | |
1 SpaceAfterMethodName | |
1 UnreachableCode | |
1 CaseEquality | |
1 HandleExceptions | |
1 ClassMethods |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment