tslint-consistent-codestyle icon indicating copy to clipboard operation
tslint-consistent-codestyle copied to clipboard

Lint isn't applied to interface members.

Open wildfunctions opened this issue 6 years ago • 0 comments

I noticed the linter was not catching errors with my interface's members, so I did a quick test with the following examples:

{ "type": "member", "format": "camelCase" }

Will correctly error with the class example below:

export class FooBar {
    foo_bar: string
}

But will not error with the interface example below:

export interface IFooBar {
    foo_bar: string
}

wildfunctions avatar Oct 23 '19 16:10 wildfunctions