porkbuns/shmile

View on GitHub

Showing 13 of 13 total issues

Line contains inconsistent indentation
Open

    State.image_src_list.push path
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      GEOMETRIES = [ IMAGE_GEOMETRY + "+" + IMAGE_PADDING + "+" + IMAGE_PADDING, IMAGE_GEOMETRY + "+" + (2 * IMAGE_PADDING + IMAGE_WIDTH) + "+" + IMAGE_PADDING, IMAGE_GEOMETRY + "+" + IMAGE_PADDING + "+" + (IMAGE_HEIGHT + 2 * IMAGE_PADDING), IMAGE_GEOMETRY + "+" + (2 * IMAGE_PADDING + IMAGE_WIDTH) + "+" + (2 * IMAGE_PADDING + IMAGE_HEIGHT) ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

ccKlass = if process.env['STUB_CAMERA'] is "true" then StubCameraControl else CameraControl
Severity: Minor
Found in app.coffee by coffeelint

Unnecessary fat arrow
Open

      doGenerateThumb = =>
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

      websocket.broadcast.emit "composited_image", PhotoFileUtils.photo_path_to_url(output_file_path)
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      websocket.broadcast.emit "generated_thumb", PhotoFileUtils.photo_path_to_url(thumb_path)
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

    path = (if (wantFullSize) then GENERATED_PHOTOS_PATH else GENERATED_THUMBS_PATH)
Severity: Minor
Found in lib/photo_file_utils.coffee by coffeelint

Line exceeds maximum allowed length
Open

      console.log "Finished compositing image. Output image is at ", output_file_path
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      convertArgs = [ "-size", TOTAL_WIDTH + "x" + TOTAL_HEIGHT, "canvas:white" ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

        exec "lpr -o #{process.env.PRINTER_IMAGE_ORIENTATION} -o media=\"#{process.env.PRINTER_MEDIA}\" #{output_file_path}"
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

        compositeArgs = [ "-gravity", "center", @opts.overlay_src, OUTPUT_PATH, "-geometry", TOTAL_WIDTH + "x" + TOTAL_HEIGHT, FINAL_OUTPUT_PATH ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

      resizeCompressArgs = [ "-size", "25%", "-quality", "20", FINAL_OUTPUT_PATH, FINAL_OUTPUT_THUMB_PATH ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

FIXME found
Open

# FIXME/ahao This global state is no bueno.
Severity: Minor
Found in app.coffee by fixme
Severity
Category
Status
Source
Language