-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existspackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Repro
{
"rules": {
"@typescript-eslint/type-annotation-spacing": "error"
}
}
type Class = new (...args: any[]) => any;
Expected Result
Linting passes
Actual Result
Linting fails with error Unexpected space before the '=>' @typescript-eslint/type-annotation-spacing
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.22.0 |
@typescript-eslint/parser |
2.22.0 |
TypeScript |
3.8.3 |
ESLint |
6.8.0 |
node |
10.18.1 |
npm |
6.13.4 |
splincode and iippis
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existspackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin