-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
171 lines (95 loc) · 2.53 KB
/
.scrutinizer.yml
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# .scrutinizer.yml
tools:
eslint:
use_native_config: true
filter:
excluded_paths:
["dist/*", "examples/*", "test/*", "node_modules/*", "jspm_packages/*"]
checks:
javascript:
valid_jsdoc: true
valid_typeof: true
vars_on_top: true
space_return_throw_case: true
radix: true
one_var: true
no_wrap_func: true
no_with: true
no_var: true
no_void: true
no_use_before_define: true
no_unused_vars: true
no_unreachable: true
no_underscore_dangle: true
no_undefined: true
no_undef_init: true
no_undef: true
no_trailing_spaces: true
no_ternary: true
no_sync: true
no_sparse_arrays: true
no_space_before_semi: true
no_shadow_restricted_names: true
no_shadow: true
no_sequences: true
no_self_compare: true
no_script_url: true
no_return_assign: true
no_redeclare: true
no_reserved_keys: true
no_process_exit: true
no_process_env: false
no_plusplus: true
no_path_concat: true
block_scoped_var: false
camelcase: true
consistent_return: true
consistent_this: true
curly: true
default_case: true
dot_notation: true
eol_last: true
eqeqeq: true
func_names: true
no_alert: true
no_nested_ternary: true
no_negated_in_lhs: true
no_native_reassign: true
no_multi_str: true
no_mixed_spaces_and_tabs: true
no_loop_func: true
no_labels: true
no_inner_declarations: true
no_implied_eval: true
no_floating_decimal: true
no_fallthrough: true
no_extra_strict: true
no_extra_semi: true
no_extra_boolean_cast: true
no_extra_bind: true
no_extend_native: true
no_eval: true
no_caller: true
no_bitwise: true
new_parens: true
new_cap: true
max_len:
max_length: "150"
guard_for_in: true
comma_style:
style: "At the end of the line"
no_debugger: false
no_delete_var: true
build:
environment:
node: "v8.9.4"
tests:
override:
- npm test
- eslint-run "src/*"
nodes:
analysis:
tests:
override:
- js-scrutinizer-run
tests: true