File tree Expand file tree Collapse file tree 14 files changed +493
-115
lines changed Expand file tree Collapse file tree 14 files changed +493
-115
lines changed Original file line number Diff line number Diff line change 11engines :
22 fixme :
3+ enabled : false
4+ eslint :
35 enabled : true
6+ ratings :
7+ paths :
8+ - " **.js"
49exclude_paths :
510- " **/*.md"
611- " Dockerfile"
712- " bin/fixme"
8- - " index.js"
13+ - " tests/**"
14+ - " .codeclimate.yml"
Original file line number Diff line number Diff line change 1+ ecmaFeatures: {}
2+ rules:
3+ no-alert: 0
4+ no-array-constructor: 0
5+ no-bitwise: 0
6+ no-caller: 0
7+ no-catch-shadow: 0
8+ no-class-assign: 0
9+ no-cond-assign: 2
10+ no-console: 2
11+ no-const-assign: 0
12+ no-constant-condition: 2
13+ no-continue: 0
14+ no-control-regex: 2
15+ no-debugger: 2
16+ no-delete-var: 2
17+ no-div-regex: 0
18+ no-dupe-keys: 2
19+ no-dupe-args: 2
20+ no-duplicate-case: 2
21+ no-else-return: 0
22+ no-empty: 2
23+ no-empty-character-class: 2
24+ no-empty-label: 0
25+ no-eq-null: 0
26+ no-eval: 0
27+ no-ex-assign: 2
28+ no-extend-native: 0
29+ no-extra-bind: 0
30+ no-extra-boolean-cast: 2
31+ no-extra-parens: 0
32+ no-extra-semi: 2
33+ no-fallthrough: 2
34+ no-floating-decimal: 0
35+ no-func-assign: 2
36+ no-implicit-coercion: 0
37+ no-implied-eval: 0
38+ no-inline-comments: 0
39+ no-inner-declarations:
40+ - 2
41+ - functions
42+ no-invalid-regexp: 2
43+ no-invalid-this: 0
44+ no-irregular-whitespace: 2
45+ no-iterator: 0
46+ no-label-var: 0
47+ no-labels: 0
48+ no-lone-blocks: 0
49+ no-lonely-if: 0
50+ no-loop-func: 0
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
60+ no-multi-spaces: 0
61+ no-multi-str: 0
62+ no-multiple-empty-lines:
63+ - 0
64+ - max: 2
65+ no-native-reassign: 0
66+ no-negated-in-lhs: 2
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
74+ no-octal: 2
75+ no-octal-escape: 0
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
82+ no-redeclare: 2
83+ no-regex-spaces: 2
84+ no-reserved-keys: 0
85+ no-restricted-modules: 0
86+ no-return-assign: 0
87+ no-script-url: 0
88+ no-self-compare: 0
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+ no-throw-literal: 0
99+ no-undef: 2
100+ no-undef-init: 0
101+ no-undefined: 0
102+ no-unexpected-multiline: 0
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
111+ no-use-before-define: 0
112+ no-useless-call: 0
113+ no-void: 0
114+ no-var: 0
115+ no-warning-comments:
116+ - 0
117+ - terms:
118+ - todo
119+ - fixme
120+ - xxx
121+ location: start
122+ no-with: 0
123+ array-bracket-spacing:
124+ - 0
125+ - never
126+ arrow-parens: 0
127+ arrow-spacing: 0
128+ accessor-pairs: 0
129+ block-scoped-var: 0
130+ brace-style:
131+ - 0
132+ - 1tbs
133+ callback-return: 0
134+ camelcase: 0
135+ comma-dangle:
136+ - 2
137+ - never
138+ comma-spacing: 0
139+ comma-style: 0
140+ complexity:
141+ - 2
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
159+ eol-last: 0
160+ eqeqeq: 0
161+ func-names: 0
162+ func-style:
163+ - 0
164+ - declaration
165+ generator-star-spacing: 0
166+ guard-for-in: 0
167+ handle-callback-err: 0
168+ indent: 0
169+ init-declarations: 0
170+ key-spacing:
171+ - 0
172+ - beforeColon: false
173+ afterColon: true
174+ lines-around-comment: 0
175+ max-depth:
176+ - 0
177+ - 4
178+ max-len:
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
191+ new-cap: 0
192+ new-parens: 0
193+ newline-after-var: 0
194+ object-curly-spacing:
195+ - 0
196+ - never
197+ object-shorthand: 0
198+ one-var: 0
199+ operator-assignment:
200+ - 0
201+ - always
202+ operator-linebreak: 0
203+ padded-blocks: 0
204+ prefer-const: 0
205+ prefer-spread: 0
206+ prefer-reflect: 0
207+ quote-props: 0
208+ quotes:
209+ - 0
210+ - double
211+ radix: 0
212+ require-yield: 0
213+ semi: 0
214+ semi-spacing:
215+ - 0
216+ - before: false
217+ after: true
218+ sort-vars: 0
219+ space-after-keywords:
220+ - 0
221+ - always
222+ space-before-blocks:
223+ - 0
224+ - always
225+ space-before-function-paren:
226+ - 0
227+ - always
228+ space-in-parens:
229+ - 0
230+ - never
231+ space-infix-ops: 0
232+ space-return-throw-case: 0
233+ space-unary-ops:
234+ - 0
235+ - words: true
236+ nonwords: false
237+ 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+ wrap-regex: 0
245+ yoda:
246+ - 0
247+ - never
248+ env:
249+ browser: true
250+ node: true
251+ jquery: true
252+ amd: true
253+ commonjs: true
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ MAINTAINER Michael R. Bernstein
44
55RUN useradd -u 9000 -r -s /bin/false app
66
7- RUN npm install glob
7+ ENV NODE_ENV production
8+
9+ RUN npm install
810
911WORKDIR /code
1012COPY . /usr/src/app
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- var FixMe = require ( '../index ' ) ;
3+ var FixMe = require ( '../lib/fix-me ' ) ;
44var fixMe = new FixMe ( ) ;
55
66fixMe . runEngine ( ) ;
Original file line number Diff line number Diff line change @@ -8,9 +8,14 @@ machine:
88 CODECLIMATE_DOCKER_REGISTRY_USERNAME : circleci
99 CODECLIMATE_DOCKER_REGISTRY_EMAIL : ops@codeclimate.com
1010
11- test :
11+ dependencies :
1212 override :
1313 - docker build -t=$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM .
14+ - npm install
15+
16+ test :
17+ override :
18+ - npm test
1419
1520deployment :
1621 registry :
You can’t perform that action at this time.
0 commit comments