-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
This issue was initially reported here: eslint/typescript-eslint-parser#458
What version of TypeScript are you using?
2.7.1
What version of typescript-eslint-parser
are you using?
14.0.0
What code were you trying to parse?
const registration = (
state: RegistrationStoreState = initialState,
action: {
type: string;
data: Object;
error: Object;
}
) => {
...
}
What did you expect to happen?
To see clear worskpace without warning
What happened?
I see warning [eslint] Expected indentation of 2 spaces but found 4. (indent)
And only when I format this code in this way:
const registration = (
state: RegistrationStoreState = initialState,
action: {
type: string;
data: Object;
error: Object;
}
) => {
...
}
I don't see warnings.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin