bfc-lint 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bfc-lint/version.rb +1 -1
- data/linter_configurations/codeclimate.yml +39 -0
- data/linter_configurations/eslintignore +1 -0
- data/linter_configurations/eslintrc +213 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb7297851cfd008ee3599e64f49212fb3545dccf
|
4
|
+
data.tar.gz: 4a9dbf15bd94c8f8c8cfddc972f9b31bd20ce362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0369da3a2ab63391fd3a8b1b4d4010c972fcecbb28669d795e90342e5c9b9f003f9a3c61325e938e0bfd5631ccbd14d0aa6d6360811990e1c7e3169c425ec3c1
|
7
|
+
data.tar.gz: 34b005d7ed27bf87fd6797b3219aa404ca95fa4170504ee4fbd35bf514f63263bcdfef9fe1ced089919dc95174d3af07c335d5ecbdf991ff9a8fb9670be4cb2e
|
data/lib/bfc-lint/version.rb
CHANGED
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
engines:
|
3
|
+
brakeman:
|
4
|
+
enabled: true
|
5
|
+
bundler-audit:
|
6
|
+
enabled: true
|
7
|
+
duplication:
|
8
|
+
enabled: true
|
9
|
+
config:
|
10
|
+
languages:
|
11
|
+
- ruby
|
12
|
+
- javascript
|
13
|
+
- python
|
14
|
+
- php
|
15
|
+
eslint:
|
16
|
+
enabled: true
|
17
|
+
fixme:
|
18
|
+
enabled: true
|
19
|
+
rubocop:
|
20
|
+
enabled: true
|
21
|
+
ratings:
|
22
|
+
paths:
|
23
|
+
- Gemfile.lock
|
24
|
+
- "**.erb"
|
25
|
+
- "**.haml"
|
26
|
+
- "**.rb"
|
27
|
+
- "**.rhtml"
|
28
|
+
- "**.slim"
|
29
|
+
- "**.inc"
|
30
|
+
- "**.js"
|
31
|
+
- "**.jsx"
|
32
|
+
- "**.module"
|
33
|
+
- "**.php"
|
34
|
+
- "**.py"
|
35
|
+
exclude_paths:
|
36
|
+
- config/
|
37
|
+
- db/
|
38
|
+
- spec/
|
39
|
+
- vendor/
|
@@ -0,0 +1 @@
|
|
1
|
+
**/*{.,-}min.js
|
@@ -0,0 +1,213 @@
|
|
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/
|
13
|
+
rules:
|
14
|
+
# Possible Errors
|
15
|
+
comma-dangle: [2, never]
|
16
|
+
no-cond-assign: 2
|
17
|
+
no-console: 0
|
18
|
+
no-constant-condition: 2
|
19
|
+
no-control-regex: 2
|
20
|
+
no-debugger: 2
|
21
|
+
no-dupe-args: 2
|
22
|
+
no-dupe-keys: 2
|
23
|
+
no-duplicate-case: 2
|
24
|
+
no-empty: 2
|
25
|
+
no-empty-character-class: 2
|
26
|
+
no-ex-assign: 2
|
27
|
+
no-extra-boolean-cast: 2
|
28
|
+
no-extra-parens: 0
|
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, 6]
|
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
|
66
|
+
no-fallthrough: 2
|
67
|
+
no-floating-decimal: 0
|
68
|
+
no-implicit-coercion: 0
|
69
|
+
no-implied-eval: 2
|
70
|
+
no-invalid-this: 0
|
71
|
+
no-iterator: 2
|
72
|
+
no-labels: 0
|
73
|
+
no-lone-blocks: 2
|
74
|
+
no-loop-func: 2
|
75
|
+
no-magic-number: 0
|
76
|
+
no-multi-spaces: 0
|
77
|
+
no-multi-str: 0
|
78
|
+
no-native-reassign: 2
|
79
|
+
no-new-func: 2
|
80
|
+
no-new-wrappers: 2
|
81
|
+
no-new: 2
|
82
|
+
no-octal-escape: 2
|
83
|
+
no-octal: 2
|
84
|
+
no-proto: 2
|
85
|
+
no-redeclare: 2
|
86
|
+
no-return-assign: 2
|
87
|
+
no-script-url: 2
|
88
|
+
no-self-compare: 2
|
89
|
+
no-sequences: 0
|
90
|
+
no-throw-literal: 0
|
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
|
114
|
+
no-undefined: 0
|
115
|
+
no-unused-vars: 0
|
116
|
+
no-use-before-define: 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
|
133
|
+
camelcase: 0
|
134
|
+
comma-spacing: 0
|
135
|
+
comma-style: 0
|
136
|
+
computed-property-spacing: 0
|
137
|
+
consistent-this: 0
|
138
|
+
eol-last: 0
|
139
|
+
func-names: 0
|
140
|
+
func-style: 0
|
141
|
+
id-length: 0
|
142
|
+
id-match: 0
|
143
|
+
indent: 0
|
144
|
+
jsx-quotes: 0
|
145
|
+
key-spacing: 0
|
146
|
+
linebreak-style: 0
|
147
|
+
lines-around-comment: 0
|
148
|
+
max-depth: 0
|
149
|
+
max-len: 0
|
150
|
+
max-nested-callbacks: 0
|
151
|
+
max-params: 0
|
152
|
+
max-statements: [2, 30]
|
153
|
+
new-cap: 0
|
154
|
+
new-parens: 0
|
155
|
+
newline-after-var: 0
|
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
|
174
|
+
one-var: 0
|
175
|
+
operator-assignment: 0
|
176
|
+
operator-linebreak: 0
|
177
|
+
padded-blocks: 0
|
178
|
+
quote-props: 0
|
179
|
+
quotes: 0
|
180
|
+
require-jsdoc: 0
|
181
|
+
semi-spacing: 0
|
182
|
+
semi: 0
|
183
|
+
sort-vars: 0
|
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
|
189
|
+
space-infix-ops: 0
|
190
|
+
space-return-throw-case: 0
|
191
|
+
space-unary-ops: 0
|
192
|
+
spaced-comment: 0
|
193
|
+
wrap-regex: 0
|
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: bfc-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Berlinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -87,6 +87,9 @@ files:
|
|
87
87
|
- lib/bfc-lint.rb
|
88
88
|
- lib/bfc-lint/generator.rb
|
89
89
|
- lib/bfc-lint/version.rb
|
90
|
+
- linter_configurations/codeclimate.yml
|
91
|
+
- linter_configurations/eslintignore
|
92
|
+
- linter_configurations/eslintrc
|
90
93
|
- linter_configurations/hound.yml
|
91
94
|
- linter_configurations/rubocop.yml
|
92
95
|
homepage: http://www.barefootcoders.com/
|