-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement coffeelint to make code consistent in style
- Loading branch information
Tomasz Sobczak
committed
Dec 10, 2014
1 parent
4b3413f
commit fc48c8b
Showing
10 changed files
with
224 additions
and
122 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"arrow_spacing": { | ||
"level": "error" | ||
}, | ||
"camel_case_classes": { | ||
"level": "error" | ||
}, | ||
"coffeescript_error": { | ||
"level": "error" | ||
}, | ||
"colon_assignment_spacing": { | ||
"level": "ignore", | ||
"spacing": { | ||
"left": 0, | ||
"right": 0 | ||
} | ||
}, | ||
"cyclomatic_complexity": { | ||
"value": 10, | ||
"level": "ignore" | ||
}, | ||
"duplicate_key": { | ||
"level": "error" | ||
}, | ||
"empty_constructor_needs_parens": { | ||
"level": "ignore" | ||
}, | ||
"indentation": { | ||
"value": 2, | ||
"level": "error" | ||
}, | ||
"line_endings": { | ||
"level": "ignore", | ||
"value": "unix" | ||
}, | ||
"max_line_length": { | ||
"value": 80, | ||
"level": "ignore", | ||
"limitComments": true | ||
}, | ||
"missing_fat_arrows": { | ||
"level": "ignore" | ||
}, | ||
"newlines_after_classes": { | ||
"value": 3, | ||
"level": "ignore" | ||
}, | ||
"no_backticks": { | ||
"level": "warn" | ||
}, | ||
"no_debugger": { | ||
"level": "warn" | ||
}, | ||
"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": "warn" | ||
}, | ||
"no_plusplus": { | ||
"level": "ignore" | ||
}, | ||
"no_stand_alone_at": { | ||
"level": "error" | ||
}, | ||
"no_tabs": { | ||
"level": "error" | ||
}, | ||
"no_throwing_strings": { | ||
"level": "error" | ||
}, | ||
"no_trailing_semicolons": { | ||
"level": "error" | ||
}, | ||
"no_trailing_whitespace": { | ||
"level": "warn", | ||
"allowed_in_comments": false, | ||
"allowed_in_empty_lines": true | ||
}, | ||
"no_unnecessary_double_quotes": { | ||
"level": "warn" | ||
}, | ||
"no_unnecessary_fat_arrows": { | ||
"level": "warn" | ||
}, | ||
"non_empty_constructor_needs_parens": { | ||
"level": "ignore" | ||
}, | ||
"prefer_english_operator": { | ||
"level": "warn", | ||
"doubleNotLevel": "ignore" | ||
}, | ||
"space_operators": { | ||
"level": "error" | ||
} | ||
} |
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
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
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
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
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
Oops, something went wrong.