Skip to content

Instantly share code, notes, and snippets.

@zph
Created May 13, 2014 21:11
Show Gist options
  • Select an option

  • Save zph/58c99536a132c7183827 to your computer and use it in GitHub Desktop.

Select an option

Save zph/58c99536a132c7183827 to your computer and use it in GitHub Desktop.
[ { "path": "../../../tmp/rubocop20140513-46031-1gesyur/pr_test.rb", "offenses": [ { "severity": "convention", "message": "Extra empty line detected at body beginning.", "cop_name": "EmptyLinesAroundBody", "corrected": null, "location": { "line": 2, "column": 1, "length": 1 } }, { "severity": "convention", "message": "Missing top-level class documentation comment.", "cop_name": "Documentation", "corrected": null, "location": { "line": 3, "column": 3, "length": 5 } }, { "severity": "convention", "message": "Extra empty line detected at body beginning.", "cop_name": "EmptyLinesAroundBody", "corrected": null, "location": { "line": 4, "column": 1, "length": 1 } }, { "severity": "convention", "message": "Space inside parentheses detected.", "cop_name": "SpaceInsideParens", "corrected": null, "location": { "line": 5, "column": 29, "length": 2 } }, { "severity": "warning", "message": "Unused method argument - `args`. If it's necessary, use `_` or `_args` as an argument name to indicate that it won't be used. You can also write as `method_to_overwrite(*)` if you want the method to accept any arguments but don't care about them.", "cop_name": "UnusedMethodArgument", "corrected": null, "location": { "line": 5, "column": 31, "length": 4 } }, { "severity": "convention", "message": "Space inside parentheses detected.", "cop_name": "SpaceInsideParens", "corrected": null, "location": { "line": 5, "column": 35, "length": 1 } }, { "severity": "convention", "message": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "cop_name": "StringLiterals", "corrected": null, "location": { "line": 6, "column": 30, "length": 10 } }, { "severity": "convention", "message": "Space inside parentheses detected.", "cop_name": "SpaceInsideParens", "corrected": null, "location": { "line": 6, "column": 40, "length": 1 } } ] } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment