-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbrunch-config.coffee
More file actions
129 lines (122 loc) · 3.19 KB
/
brunch-config.coffee
File metadata and controls
129 lines (122 loc) · 3.19 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
module.exports =
sourceMaps: false
paths:
public: 'lib'
watched: ['src', 'test']
files:
javascripts:
joinTo:
'teamsnap.js': /^src\//
'test/js/test.js': /^test\//
modules:
nameCleaner: (path) ->
path.replace(/^src\//, '')
overrides:
production:
files:
javascripts:
joinTo:
'teamsnap.min.js': /^src\//
'test/js/test.min.js': /^test\//
server:
indexPath: 'test/index.html'
port: 8000
plugins:
on: ['library-brunch']
library:
main: 'teamsnap'
global: true
uglify:
mangle:
except: ['window', 'global']
coffeelint:
pattern: /^src\/.*\.coffee$/
options:
coffeescript_error:
level: "error"
arrow_spacing:
name: "arrow_spacing"
level: "warn"
no_tabs:
name: "no_tabs"
level: "error"
no_trailing_whitespace:
name: "no_trailing_whitespace"
level: "warn"
allowed_in_comments: false
allowed_in_empty_lines: true
max_line_length:
name: "max_line_length"
value: 80
level: "warn"
limitComments: true
line_endings:
name: "line_endings"
level: "ignore"
value: "unix"
no_trailing_semicolons:
name: "no_trailing_semicolons"
level: "error"
indentation:
name: "indentation"
value: 2
level: "error"
camel_case_classes:
name: "camel_case_classes"
level: "error"
colon_assignment_spacing:
name: "colon_assignment_spacing"
level: "warn"
spacing:
left: 0
right: 1
no_implicit_braces:
name: "no_implicit_braces"
level: "ignore"
strict: true
no_plusplus:
name: "no_plusplus"
level: "ignore"
no_throwing_strings:
name: "no_throwing_strings"
level: "error"
no_backticks:
name: "no_backticks"
level: "error"
no_implicit_parens:
name: "no_implicit_parens"
level: "ignore"
no_empty_param_list:
name: "no_empty_param_list"
level: "warn"
no_stand_alone_at:
name: "no_stand_alone_at"
level: "ignore"
space_operators:
name: "space_operators"
level: "warn"
duplicate_key:
name: "duplicate_key"
level: "error"
empty_constructor_needs_parens:
name: "empty_constructor_needs_parens"
level: "ignore"
cyclomatic_complexity:
name: "cyclomatic_complexity"
value: 10
level: "ignore"
newlines_after_classes:
name: "newlines_after_classes"
value: 3
level: "ignore"
no_unnecessary_fat_arrows:
name: "no_unnecessary_fat_arrows"
level: "warn"
missing_fat_arrows:
name: "missing_fat_arrows"
level: "ignore"
non_empty_constructor_needs_parens:
name: "non_empty_constructor_needs_parens"
level: "ignore"
npm:
enabled: false