forked from dtaniwaki/koa-no-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_lintopts.coffee
72 lines (72 loc) · 1.43 KB
/
_lintopts.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module.exports =
arrow_spacing:
level: 'warn'
camel_case_classes:
level: 'error'
coffeescript_error:
level: 'error'
colon_assignment_spacing:
level: 'error'
spacing:
left: 0
right: 1
cyclomatic_complexity:
value: 20
level: 'warn'
duplicate_key:
level: 'error'
empty_constructor_needs_parens:
level: 'error'
indentation:
value: 2
level: 'error'
line_endings:
level: 'error'
value: 'unix'
max_line_length:
value: 150
level: 'warn'
limitComments: true
missing_fat_arrows:
level: 'ignore'
newlines_after_classes:
value: 3
level: 'error'
no_backticks:
level: 'error'
no_debugger:
level: 'warn'
no_empty_functions:
level: 'ignore'
no_empty_param_list:
level: 'error'
no_implicit_braces:
strict: true
level: 'ignore'
no_implicit_parens:
strict: true
level: 'ignore'
no_interpolation_in_single_quotes:
level: 'error'
no_plusplus:
level: 'error'
no_stand_alone_at:
level: 'ignore'
no_tabs:
level: 'error'
no_throwing_strings:
level: 'error'
no_trailing_semicolons:
level: 'error'
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: 'error'
non_empty_constructor_needs_parens:
level: 'error'
space_operators:
level: 'error'