Skip to content

Commit ab1ff1e

Browse files
committed
Merge pull request polarmobile#21 from mazerte/coffeelint
CoffeeLint configuration.
2 parents 316a384 + df8c5ab commit ab1ff1e

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

coffeelint.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"coffeescript_error": {
3+
"level": "error"
4+
},
5+
"arrow_spacing": {
6+
"name": "arrow_spacing",
7+
"level": "warn"
8+
},
9+
"no_tabs": {
10+
"name": "no_tabs",
11+
"level": "error"
12+
},
13+
"no_trailing_whitespace": {
14+
"name": "no_trailing_whitespace",
15+
"level": "warn",
16+
"allowed_in_comments": false,
17+
"allowed_in_empty_lines": true
18+
},
19+
"max_line_length": {
20+
"name": "max_line_length",
21+
"value": 80,
22+
"level": "warn",
23+
"limitComments": true
24+
},
25+
"line_endings": {
26+
"name": "line_endings",
27+
"level": "ignore",
28+
"value": "unix"
29+
},
30+
"no_trailing_semicolons": {
31+
"name": "no_trailing_semicolons",
32+
"level": "error"
33+
},
34+
"indentation": {
35+
"name": "indentation",
36+
"value": 2,
37+
"level": "error"
38+
},
39+
"camel_case_classes": {
40+
"name": "camel_case_classes",
41+
"level": "error"
42+
},
43+
"colon_assignment_spacing": {
44+
"name": "colon_assignment_spacing",
45+
"level": "warn",
46+
"spacing": {
47+
"left": 0,
48+
"right": 1
49+
}
50+
},
51+
"no_implicit_braces": {
52+
"name": "no_implicit_braces",
53+
"level": "ignore",
54+
"strict": true
55+
},
56+
"no_plusplus": {
57+
"name": "no_plusplus",
58+
"level": "ignore"
59+
},
60+
"no_throwing_strings": {
61+
"name": "no_throwing_strings",
62+
"level": "error"
63+
},
64+
"no_backticks": {
65+
"name": "no_backticks",
66+
"level": "error"
67+
},
68+
"no_implicit_parens": {
69+
"name": "no_implicit_parens",
70+
"level": "ignore"
71+
},
72+
"no_empty_param_list": {
73+
"name": "no_empty_param_list",
74+
"level": "warn"
75+
},
76+
"no_stand_alone_at": {
77+
"name": "no_stand_alone_at",
78+
"level": "ignore"
79+
},
80+
"space_operators": {
81+
"name": "space_operators",
82+
"level": "warn"
83+
},
84+
"duplicate_key": {
85+
"name": "duplicate_key",
86+
"level": "error"
87+
},
88+
"empty_constructor_needs_parens": {
89+
"name": "empty_constructor_needs_parens",
90+
"level": "ignore"
91+
},
92+
"cyclomatic_complexity": {
93+
"name": "cyclomatic_complexity",
94+
"value": 10,
95+
"level": "ignore"
96+
},
97+
"newlines_after_classes": {
98+
"name": "newlines_after_classes",
99+
"value": 3,
100+
"level": "ignore"
101+
},
102+
"no_unnecessary_fat_arrows": {
103+
"name": "no_unnecessary_fat_arrows",
104+
"level": "warn"
105+
},
106+
"missing_fat_arrows": {
107+
"name": "missing_fat_arrows",
108+
"level": "ignore"
109+
},
110+
"non_empty_constructor_needs_parens": {
111+
"name": "non_empty_constructor_needs_parens",
112+
"level": "ignore"
113+
}
114+
}

0 commit comments

Comments
 (0)