KEMBAR78
indented arguments weirdness · Issue #4 · clutchski/coffeelint · GitHub
Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

indented arguments weirdness #4

@ddlsmurf

Description

@ddlsmurf

I'm not sure this is a bug, it smells weird to me, thought I'd report

obj
  .method
    param: "val" # Line contains inconsistent indentation
obj.
  method
    param: "val" # Line contains inconsistent indentation
obj
  .method(
    param: "val" # Line contains inconsistent indentation
  )

obj
.method
  param: "val" # Line contains inconsistent indentation

obj.
method
  param: "val" # Line contains inconsistent indentation

obj
.method(
  param: "val" # Line contains inconsistent indentation
)

obj
  .method()
obj.
  method()
obj
.method()
obj.
method()

a = () ->
  obj # Line contains inconsistent indentation
  .method
    param: "val"
  obj
  .method
    param: "val"
a = () ->
  obj. # Line contains inconsistent indentation
  method
    param: "val"
  obj.
  method
    param: "val"
a = () ->
  obj # Line contains inconsistent indentation
  .method(
    param: "val"
  )
  obj
  .method(
    param: "val"
  )
a = () ->
  obj # Line contains inconsistent indentation
  .method(
    param: "val"
  )
  obj
  .method(
    param: "val"
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions