Skip to content

Instantly share code, notes, and snippets.

@othree
Created June 20, 2013 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save othree/5820021 to your computer and use it in GitHub Desktop.
Save othree/5820021 to your computer and use it in GitHub Desktop.
{
"no_tabs": {
"level": "error",
"message": "Line contains tab indentation"
},
"no_trailing_whitespace": {
"level": "ignore",
"message": "Line ends with trailing whitespace"
},
"max_line_length": {
"value": 120,
"level": "ignore",
"message": "Line exceeds maximum allowed length"
},
"camel_case_classes": {
"level": "error",
"message": "Class names should be camel cased"
},
"indentation": {
"value": 2,
"level": "error",
"message": "Line contains inconsistent indentation"
},
"no_implicit_braces": {
"level": "ignore",
"message": "Implicit braces are forbidden"
},
"no_trailing_semicolons": {
"level": "error",
"message": "Line contains a trailing semicolon"
},
"no_plusplus": {
"level": "ignore",
"message": "The increment and decrement operators are forbidden"
},
"no_throwing_strings": {
"level": "error",
"message": "Throwing strings is forbidden"
},
"cyclomatic_complexity": {
"value": 10,
"level": "ignore",
"message": "The cyclomatic complexity is too damn high"
},
"no_backticks": {
"level": "error",
"message": "Backticks are forbidden"
},
"line_endings": {
"level": "warn",
"value": "unix",
"message": "Line contains incorrect line endings"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment