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.

False positives for no_implicit_braces with @-prefixed class name #605

@provegard

Description

@provegard

I have the following code:

class @LinkedList
  constructor: ->
    @head = @tail = null

I lint with the following config:

{
  "no_implicit_braces": {
    "level": "warn"
  }
}

And I get:

#2: Implicit braces are forbidden.

I.e. on the line with constructor: ->

But there are no implicit braces in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions