Skip to content

Instantly share code, notes, and snippets.

@Koronen
Last active February 27, 2016 10:45
Show Gist options
  • Save Koronen/b196cc5037428cf47e6e to your computer and use it in GitHub Desktop.
Save Koronen/b196cc5037428cf47e6e to your computer and use it in GitHub Desktop.
CoffeeLint Hound
node_modules/

CoffeeLint Hound

A collection of CoffeeLint rules for use with Hound CI.

{
"arrow_spacing": {
"level": "ignore"
},
"camel_case_classes": {
"level": "error"
},
"coffeescript_error": {
"level": "ignore"
},
"colon_assignment_spacing": {
"level": "ignore",
"spacing": {
"left": 0,
"right": 0
}
},
"cyclomatic_complexity": {
"value": 10,
"level": "ignore"
},
"duplicate_key": {
"level": "ignore"
},
"empty_constructor_needs_parens": {
"level": "ignore"
},
"indentation": {
"value": 2,
"level": "error"
},
"line_endings": {
"level": "ignore",
"value": "unix"
},
"max_line_length": {
"value": 80,
"level": "error",
"limitComments": true
},
"missing_fat_arrows": {
"level": "ignore"
},
"newlines_after_classes": {
"value": 3,
"level": "ignore"
},
"no_backticks": {
"level": "ignore"
},
"no_debugger": {
"level": "ignore"
},
"no_empty_functions": {
"level": "ignore"
},
"no_empty_param_list": {
"level": "ignore"
},
"no_implicit_braces": {
"level": "ignore",
"strict": true
},
"no_implicit_parens": {
"strict": true,
"level": "ignore"
},
"no_interpolation_in_single_quotes": {
"level": "ignore"
},
"no_plusplus": {
"level": "ignore"
},
"no_stand_alone_at": {
"level": "ignore"
},
"no_tabs": {
"level": "error"
},
"no_throwing_strings": {
"level": "ignore"
},
"no_trailing_semicolons": {
"level": "ignore"
},
"no_trailing_whitespace": {
"level": "error",
"allowed_in_comments": false,
"allowed_in_empty_lines": true
},
"no_unnecessary_double_quotes": {
"level": "ignore"
},
"no_unnecessary_fat_arrows": {
"level": "ignore"
},
"non_empty_constructor_needs_parens": {
"level": "ignore"
},
"space_operators": {
"level": "ignore"
},
"conditional_modifiers": {
"package": "coffeelint-conditional-modifiers",
"level": "error"
}
}
number = -42 if opposite
letTheWildRumpusBegin() unless answer is no
{
"name": "coffeelint-hound",
"version": "0.0.1",
"description": "A collection of CoffeeLint rules for use with Hound CI.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"coffeelint",
"hound",
"houndci"
],
"author": "Victor Koronen <[email protected]>",
"license": "MIT",
"dependencies": {
"coffeelint": "~1.5.2",
"coffeelint-conditional-modifiers": "~0.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment