Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

camelcase: false positive on interface properties #492

@bradzacher

Description

@bradzacher

What version of TypeScript are you using?
2.9.1

What version of typescript-eslint-parser are you using?
16.0.0

What code were you trying to parse?

/* eslint camelcase: ['error', { properties: 'never' }] */

interface Foo {
    bar_baz ?: string
}

What did you expect to happen?
the interface property passes fine

What happened?
[eslint] Identifier 'bar_baz' is not in camel case. (camelcase)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions