scottohara/eslint-config-oharagroup

space-infix-ops fails for mapped type declarations

Closed this issue · 1 comments

Tracking references:

  1. eslint/typescript-eslint-parser#449
  2. eslint/typescript-eslint-parser#486
  3. eslint/eslint#10922
  4. eslint/eslint#10923
  5. JamesHenry/typescript-estree#17

Affects the following types in https://github.com/scottohara/tvmanager:

  • global.d.ts: PublicInterface<T>
  • framework/spinningwheel/index.d.ts: SlotData<T>

Workaround is to add spaces (e.g. SlotData < T >).

@scottohara i think eslint/eslint#10935 was merged, and mapped type declarations are no longer report the error in eslint@5.7.0