codeclimate 0.16.1 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/eslint/.eslintignore +1 -0
- data/config/eslint/.eslintrc +167 -207
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dab4a8171b3e0e7c4f17db5ed216cb6810baf13d
|
4
|
+
data.tar.gz: bb4ab25fc3844804fb93861030d87fe06d7ac25f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2be04a54ea44d62d1b12f909432c10d93c77526ea52ba57e2c03ddd9dcc727b391d65b5c1224d5de1d08d1761a854f8e43c638eebef1097f24690545b62b5f4e
|
7
|
+
data.tar.gz: 6e4ee783b61c85f2e67cc85e5cf121ad53ec385e0af22b85b34cace3654586727440c2ffc5b1bda6b29357b16ab6f77ffe42e11d842264338c054c0b0dc05722
|
@@ -0,0 +1 @@
|
|
1
|
+
**/*.min.js
|
data/config/eslint/.eslintrc
CHANGED
@@ -1,253 +1,213 @@
|
|
1
|
-
ecmaFeatures:
|
1
|
+
ecmaFeatures:
|
2
|
+
modules: true
|
3
|
+
jsx: true
|
4
|
+
|
5
|
+
env:
|
6
|
+
amd: true
|
7
|
+
browser: true
|
8
|
+
es6: true
|
9
|
+
jquery: true
|
10
|
+
node: true
|
11
|
+
|
12
|
+
# http://eslint.org/docs/rules/
|
2
13
|
rules:
|
3
|
-
|
4
|
-
|
5
|
-
no-bitwise: 0
|
6
|
-
no-caller: 0
|
7
|
-
no-catch-shadow: 0
|
8
|
-
no-class-assign: 0
|
14
|
+
# Possible Errors
|
15
|
+
comma-dangle: [2, never]
|
9
16
|
no-cond-assign: 2
|
10
|
-
no-console:
|
11
|
-
no-const-assign: 0
|
17
|
+
no-console: 0
|
12
18
|
no-constant-condition: 2
|
13
|
-
no-continue: 0
|
14
19
|
no-control-regex: 2
|
15
20
|
no-debugger: 2
|
16
|
-
no-delete-var: 2
|
17
|
-
no-div-regex: 0
|
18
|
-
no-dupe-keys: 2
|
19
21
|
no-dupe-args: 2
|
22
|
+
no-dupe-keys: 2
|
20
23
|
no-duplicate-case: 2
|
21
|
-
no-else-return: 0
|
22
24
|
no-empty: 2
|
23
25
|
no-empty-character-class: 2
|
24
|
-
no-empty-label: 0
|
25
|
-
no-eq-null: 0
|
26
|
-
no-eval: 0
|
27
26
|
no-ex-assign: 2
|
28
|
-
no-extend-native: 0
|
29
|
-
no-extra-bind: 0
|
30
27
|
no-extra-boolean-cast: 2
|
31
28
|
no-extra-parens: 0
|
32
29
|
no-extra-semi: 2
|
30
|
+
no-func-assign: 2
|
31
|
+
no-inner-declarations: [2, functions]
|
32
|
+
no-invalid-regexp: 2
|
33
|
+
no-irregular-whitespace: 2
|
34
|
+
no-negated-in-lhs: 2
|
35
|
+
no-obj-calls: 2
|
36
|
+
no-regex-spaces: 2
|
37
|
+
no-sparse-arrays: 2
|
38
|
+
no-unexpected-multiline: 2
|
39
|
+
no-unreachable: 2
|
40
|
+
use-isnan: 2
|
41
|
+
valid-jsdoc: 0
|
42
|
+
valid-typeof: 2
|
43
|
+
|
44
|
+
# Best Practices
|
45
|
+
accessor-pairs: 2
|
46
|
+
block-scoped-var: 0
|
47
|
+
complexity: [2, 11]
|
48
|
+
consistent-return: 0
|
49
|
+
curly: 0
|
50
|
+
default-case: 0
|
51
|
+
dot-location: 0
|
52
|
+
dot-notation: 0
|
53
|
+
eqeqeq: 2
|
54
|
+
guard-for-in: 2
|
55
|
+
no-alert: 2
|
56
|
+
no-caller: 2
|
57
|
+
no-case-declarations: 2
|
58
|
+
no-div-regex: 2
|
59
|
+
no-else-return: 0
|
60
|
+
no-empty-label: 2
|
61
|
+
no-empty-pattern: 2
|
62
|
+
no-eq-null: 2
|
63
|
+
no-eval: 2
|
64
|
+
no-extend-native: 2
|
65
|
+
no-extra-bind: 2
|
33
66
|
no-fallthrough: 2
|
34
67
|
no-floating-decimal: 0
|
35
|
-
no-func-assign: 2
|
36
68
|
no-implicit-coercion: 0
|
37
|
-
no-implied-eval:
|
38
|
-
no-inline-comments: 0
|
39
|
-
no-inner-declarations:
|
40
|
-
- 2
|
41
|
-
- functions
|
42
|
-
no-invalid-regexp: 2
|
69
|
+
no-implied-eval: 2
|
43
70
|
no-invalid-this: 0
|
44
|
-
no-
|
45
|
-
no-iterator: 0
|
46
|
-
no-label-var: 0
|
71
|
+
no-iterator: 2
|
47
72
|
no-labels: 0
|
48
|
-
no-lone-blocks:
|
49
|
-
no-
|
50
|
-
no-
|
51
|
-
no-mixed-requires:
|
52
|
-
- 0
|
53
|
-
- false
|
54
|
-
no-mixed-spaces-and-tabs:
|
55
|
-
- 2
|
56
|
-
- false
|
57
|
-
linebreak-style:
|
58
|
-
- 0
|
59
|
-
- unix
|
73
|
+
no-lone-blocks: 2
|
74
|
+
no-loop-func: 2
|
75
|
+
no-magic-number: 0
|
60
76
|
no-multi-spaces: 0
|
61
77
|
no-multi-str: 0
|
62
|
-
no-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
no-
|
66
|
-
no-
|
67
|
-
no-nested-ternary: 0
|
68
|
-
no-new: 0
|
69
|
-
no-new-func: 0
|
70
|
-
no-new-object: 0
|
71
|
-
no-new-require: 0
|
72
|
-
no-new-wrappers: 0
|
73
|
-
no-obj-calls: 2
|
78
|
+
no-native-reassign: 2
|
79
|
+
no-new-func: 2
|
80
|
+
no-new-wrappers: 2
|
81
|
+
no-new: 2
|
82
|
+
no-octal-escape: 2
|
74
83
|
no-octal: 2
|
75
|
-
no-
|
76
|
-
no-param-reassign: 0
|
77
|
-
no-path-concat: 0
|
78
|
-
no-plusplus: 0
|
79
|
-
no-process-env: 0
|
80
|
-
no-process-exit: 0
|
81
|
-
no-proto: 0
|
84
|
+
no-proto: 2
|
82
85
|
no-redeclare: 2
|
83
|
-
no-
|
84
|
-
no-
|
85
|
-
no-
|
86
|
-
no-return-assign: 0
|
87
|
-
no-script-url: 0
|
88
|
-
no-self-compare: 0
|
86
|
+
no-return-assign: 2
|
87
|
+
no-script-url: 2
|
88
|
+
no-self-compare: 2
|
89
89
|
no-sequences: 0
|
90
|
-
no-shadow: 0
|
91
|
-
no-shadow-restricted-names: 0
|
92
|
-
no-spaced-func: 0
|
93
|
-
no-sparse-arrays: 2
|
94
|
-
no-sync: 0
|
95
|
-
no-ternary: 0
|
96
|
-
no-trailing-spaces: 0
|
97
|
-
no-this-before-super: 0
|
98
90
|
no-throw-literal: 0
|
99
|
-
no-
|
100
|
-
no-
|
91
|
+
no-unused-expressions: 2
|
92
|
+
no-useless-call: 2
|
93
|
+
no-useless-concat: 2
|
94
|
+
no-void: 2
|
95
|
+
no-warning-comments: 0
|
96
|
+
no-with: 2
|
97
|
+
radix: 2
|
98
|
+
vars-on-top: 0
|
99
|
+
wrap-iife: 2
|
100
|
+
yoda: 0
|
101
|
+
|
102
|
+
# Strict
|
103
|
+
strict: 0
|
104
|
+
|
105
|
+
# Variables
|
106
|
+
init-declarations: 0
|
107
|
+
no-catch-shadow: 2
|
108
|
+
no-delete-var: 2
|
109
|
+
no-label-var: 2
|
110
|
+
no-shadow-restricted-names: 2
|
111
|
+
no-shadow: 0
|
112
|
+
no-undef-init: 2
|
113
|
+
no-undef: 0
|
101
114
|
no-undefined: 0
|
102
|
-
no-
|
103
|
-
no-underscore-dangle: 0
|
104
|
-
no-unneeded-ternary: 0
|
105
|
-
no-unreachable: 2
|
106
|
-
no-unused-expressions: 0
|
107
|
-
no-unused-vars:
|
108
|
-
- 2
|
109
|
-
- vars: all
|
110
|
-
args: after-used
|
115
|
+
no-unused-vars: 0
|
111
116
|
no-use-before-define: 0
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
no-
|
123
|
-
|
124
|
-
|
125
|
-
-
|
126
|
-
|
127
|
-
|
128
|
-
accessor-pairs: 0
|
129
|
-
block-scoped-var: 0
|
130
|
-
brace-style:
|
131
|
-
- 0
|
132
|
-
- 1tbs
|
133
|
-
callback-return: 0
|
117
|
+
|
118
|
+
# Node.js and CommonJS
|
119
|
+
callback-return: 2
|
120
|
+
global-require: 2
|
121
|
+
handle-callback-err: 2
|
122
|
+
no-mixed-requires: 0
|
123
|
+
no-new-require: 0
|
124
|
+
no-path-concat: 2
|
125
|
+
no-process-exit: 2
|
126
|
+
no-restricted-modules: 0
|
127
|
+
no-sync: 0
|
128
|
+
|
129
|
+
# Stylistic Issues
|
130
|
+
array-bracket-spacing: 0
|
131
|
+
block-spacing: 0
|
132
|
+
brace-style: 0
|
134
133
|
camelcase: 0
|
135
|
-
comma-dangle:
|
136
|
-
- 2
|
137
|
-
- never
|
138
134
|
comma-spacing: 0
|
139
135
|
comma-style: 0
|
140
|
-
|
141
|
-
-
|
142
|
-
- 11
|
143
|
-
computed-property-spacing:
|
144
|
-
- 0
|
145
|
-
- never
|
146
|
-
consistent-return: 0
|
147
|
-
consistent-this:
|
148
|
-
- 0
|
149
|
-
- that
|
150
|
-
constructor-super: 0
|
151
|
-
curly:
|
152
|
-
- 0
|
153
|
-
- all
|
154
|
-
default-case: 0
|
155
|
-
dot-location: 0
|
156
|
-
dot-notation:
|
157
|
-
- 0
|
158
|
-
- allowKeywords: true
|
136
|
+
computed-property-spacing: 0
|
137
|
+
consistent-this: 0
|
159
138
|
eol-last: 0
|
160
|
-
eqeqeq: 0
|
161
139
|
func-names: 0
|
162
|
-
func-style:
|
163
|
-
- 0
|
164
|
-
-
|
165
|
-
generator-star-spacing: 0
|
166
|
-
guard-for-in: 0
|
167
|
-
handle-callback-err: 0
|
140
|
+
func-style: 0
|
141
|
+
id-length: 0
|
142
|
+
id-match: 0
|
168
143
|
indent: 0
|
169
|
-
|
170
|
-
key-spacing:
|
171
|
-
- 0
|
172
|
-
- beforeColon: false
|
173
|
-
afterColon: true
|
144
|
+
jsx-quotes: 0
|
145
|
+
key-spacing: 0
|
146
|
+
linebreak-style: 0
|
174
147
|
lines-around-comment: 0
|
175
|
-
max-depth:
|
176
|
-
- 0
|
177
|
-
-
|
178
|
-
max-
|
179
|
-
- 0
|
180
|
-
- 80
|
181
|
-
- 4
|
182
|
-
max-nested-callbacks:
|
183
|
-
- 0
|
184
|
-
- 2
|
185
|
-
max-params:
|
186
|
-
- 0
|
187
|
-
- 3
|
188
|
-
max-statements:
|
189
|
-
- 0
|
190
|
-
- 10
|
148
|
+
max-depth: 0
|
149
|
+
max-len: 0
|
150
|
+
max-nested-callbacks: 0
|
151
|
+
max-params: 0
|
152
|
+
max-statements: 0
|
191
153
|
new-cap: 0
|
192
154
|
new-parens: 0
|
193
155
|
newline-after-var: 0
|
194
|
-
|
195
|
-
- 0
|
196
|
-
-
|
197
|
-
|
156
|
+
no-array-constructor: 0
|
157
|
+
no-bitwise: 0
|
158
|
+
no-continue: 0
|
159
|
+
no-inline-comments: 0
|
160
|
+
no-lonely-if: 0
|
161
|
+
no-mixed-spaces-and-tabs: 0
|
162
|
+
no-multiple-empty-lines: 0
|
163
|
+
no-negated-condition: 0
|
164
|
+
no-nested-ternary: 0
|
165
|
+
no-new-object: 0
|
166
|
+
no-plusplus: 0
|
167
|
+
no-restricted-syntax: 0
|
168
|
+
no-spaced-func: 0
|
169
|
+
no-ternary: 0
|
170
|
+
no-trailing-spaces: 0
|
171
|
+
no-underscore-dangle: 0
|
172
|
+
no-unneeded-ternary: 0
|
173
|
+
object-curly-spacing: 0
|
198
174
|
one-var: 0
|
199
|
-
operator-assignment:
|
200
|
-
- 0
|
201
|
-
- always
|
175
|
+
operator-assignment: 0
|
202
176
|
operator-linebreak: 0
|
203
177
|
padded-blocks: 0
|
204
|
-
prefer-const: 0
|
205
|
-
prefer-spread: 0
|
206
|
-
prefer-reflect: 0
|
207
178
|
quote-props: 0
|
208
|
-
quotes:
|
209
|
-
- 0
|
210
|
-
-
|
211
|
-
radix: 0
|
212
|
-
require-yield: 0
|
179
|
+
quotes: 0
|
180
|
+
require-jsdoc: 0
|
181
|
+
semi-spacing: 0
|
213
182
|
semi: 0
|
214
|
-
semi-spacing:
|
215
|
-
- 0
|
216
|
-
- before: false
|
217
|
-
after: true
|
218
183
|
sort-vars: 0
|
219
|
-
space-after-keywords:
|
220
|
-
- 0
|
221
|
-
-
|
222
|
-
space-before-
|
223
|
-
- 0
|
224
|
-
- always
|
225
|
-
space-before-function-paren:
|
226
|
-
- 0
|
227
|
-
- always
|
228
|
-
space-in-parens:
|
229
|
-
- 0
|
230
|
-
- never
|
184
|
+
space-after-keywords: 0
|
185
|
+
space-before-blocks: 0
|
186
|
+
space-before-function-paren: 0
|
187
|
+
space-before-keywords: 0
|
188
|
+
space-in-parens: 0
|
231
189
|
space-infix-ops: 0
|
232
190
|
space-return-throw-case: 0
|
233
|
-
space-unary-ops:
|
234
|
-
- 0
|
235
|
-
- words: true
|
236
|
-
nonwords: false
|
191
|
+
space-unary-ops: 0
|
237
192
|
spaced-comment: 0
|
238
|
-
strict: 0
|
239
|
-
use-isnan: 2
|
240
|
-
valid-jsdoc: 0
|
241
|
-
valid-typeof: 2
|
242
|
-
vars-on-top: 0
|
243
|
-
wrap-iife: 0
|
244
193
|
wrap-regex: 0
|
245
|
-
|
246
|
-
|
247
|
-
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
194
|
+
|
195
|
+
# ECMAScript 6
|
196
|
+
arrow-body-style: 0
|
197
|
+
arrow-parens: 0
|
198
|
+
arrow-spacing: 0
|
199
|
+
constructor-super: 0
|
200
|
+
generator-star-spacing: 0
|
201
|
+
no-arrow-condition: 0
|
202
|
+
no-class-assign: 0
|
203
|
+
no-const-assign: 0
|
204
|
+
no-dupe-class-members: 0
|
205
|
+
no-this-before-super: 0
|
206
|
+
no-var: 0
|
207
|
+
object-shorthand: 0
|
208
|
+
prefer-arrow-callback: 0
|
209
|
+
prefer-const: 0
|
210
|
+
prefer-reflect: 0
|
211
|
+
prefer-spread: 0
|
212
|
+
prefer-template: 0
|
213
|
+
require-yield: 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -196,6 +196,7 @@ files:
|
|
196
196
|
- config/coffeelint/coffeelint.json
|
197
197
|
- config/csslint/.csslintrc
|
198
198
|
- config/engines.yml
|
199
|
+
- config/eslint/.eslintignore
|
199
200
|
- config/eslint/.eslintrc
|
200
201
|
- config/rubocop/.rubocop.yml
|
201
202
|
- lib/cc/analyzer.rb
|