Skip to content

Commit b1cfe3d

Browse files
committed
add coffeelint file
1 parent ec1c6b4 commit b1cfe3d

File tree

1 file changed

+159
-0
lines changed

1 file changed

+159
-0
lines changed

coffeelint.json

+159
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"arrow_spacing": {
3+
"level": "ignore"
4+
},
5+
"braces_spacing": {
6+
"level": "ignore",
7+
"spaces": 0,
8+
"empty_object_spaces": 0
9+
},
10+
"camel_case_classes": {
11+
"level": "error"
12+
},
13+
"coffeescript_error": {
14+
"level": "error"
15+
},
16+
"colon_assignment_spacing": {
17+
"level": "ignore",
18+
"spacing": {
19+
"left": 0,
20+
"right": 0
21+
}
22+
},
23+
"cyclomatic_complexity": {
24+
"level": "ignore",
25+
"value": 10
26+
},
27+
"duplicate_key": {
28+
"level": "error"
29+
},
30+
"empty_constructor_needs_parens": {
31+
"level": "ignore"
32+
},
33+
"ensure_comprehensions": {
34+
"level": "warn"
35+
},
36+
"eol_last": {
37+
"level": "ignore"
38+
},
39+
"indentation": {
40+
"value": 4,
41+
"level": "error"
42+
},
43+
"line_endings": {
44+
"level": "ignore",
45+
"value": "unix"
46+
},
47+
"max_line_length": {
48+
"value": 800,
49+
"level": "error",
50+
"limitComments": true
51+
},
52+
"missing_fat_arrows": {
53+
"level": "ignore",
54+
"is_strict": false
55+
},
56+
"newlines_after_classes": {
57+
"value": 3,
58+
"level": "ignore"
59+
},
60+
"no_backticks": {
61+
"level": "error"
62+
},
63+
"no_debugger": {
64+
"level": "warn",
65+
"console": false
66+
},
67+
"no_empty_functions": {
68+
"level": "ignore"
69+
},
70+
"no_empty_param_list": {
71+
"level": "ignore"
72+
},
73+
"no_implicit_braces": {
74+
"level": "ignore",
75+
"strict": true
76+
},
77+
"no_implicit_parens": {
78+
"level": "ignore",
79+
"strict": true
80+
},
81+
"no_interpolation_in_single_quotes": {
82+
"level": "ignore"
83+
},
84+
"no_nested_string_interpolation": {
85+
"level": "warn"
86+
},
87+
"no_plusplus": {
88+
"level": "ignore"
89+
},
90+
"no_private_function_fat_arrows": {
91+
"level": "warn"
92+
},
93+
"no_stand_alone_at": {
94+
"level": "ignore"
95+
},
96+
"no_tabs": {
97+
"level": "error"
98+
},
99+
"no_this": {
100+
"level": "ignore"
101+
},
102+
"no_throwing_strings": {
103+
"level": "error"
104+
},
105+
"no_trailing_semicolons": {
106+
"level": "error"
107+
},
108+
"no_trailing_whitespace": {
109+
"level": "error",
110+
"allowed_in_comments": false,
111+
"allowed_in_empty_lines": true
112+
},
113+
"no_unnecessary_double_quotes": {
114+
"level": "ignore"
115+
},
116+
"no_unnecessary_fat_arrows": {
117+
"level": "warn"
118+
},
119+
"non_empty_constructor_needs_parens": {
120+
"level": "ignore"
121+
},
122+
"prefer_english_operator": {
123+
"level": "ignore",
124+
"doubleNotLevel": "ignore"
125+
},
126+
"space_operators": {
127+
"level": "ignore"
128+
},
129+
"spacing_after_comma": {
130+
"level": "ignore"
131+
},
132+
"transform_messes_up_line_numbers": {
133+
"level": "warn"
134+
},
135+
"check_scope": {
136+
"module": "coffeescope2",
137+
"level": "warn",
138+
"environments": ["es5"],
139+
"globals": {
140+
"jQuery": true,
141+
"$": true,
142+
"console": true,
143+
"require": true,
144+
"module": true,
145+
"__dirname": true,
146+
"process": true
147+
},
148+
"overwrite": true,
149+
"shadow": true,
150+
"shadow_builtins": false,
151+
"shadow_exceptions": ["err", "next"],
152+
"undefined": true,
153+
"hoist_local": true,
154+
"hoist_parent": true,
155+
"unused_variables": false,
156+
"unused_arguments": false,
157+
"unused_classes": true
158+
}
159+
}

0 commit comments

Comments
 (0)