gajus / eslint-plugin-flowtype

Flow type linting rules for ESLint.
Other
1.08k stars 153 forks source link

fix: support CRLF line breaks in generic-spacing (#485) #486

Closed avi-moskoff closed 3 years ago

avi-moskoff commented 3 years ago

The generic-spacing rule doesn't support CRLF line breaks.

// Passes
type X =  Promise<\n    (foo),\n    bar,\n    (((baz)))\n>

// Doesn't pass
type X =  Promise<\r\n    (foo),\r\n    bar,\r\n    (((baz)))\r\n>
axosoft-avi commented 3 years ago

Closes #485

gajus commented 3 years ago

:tada: This PR is included in version 5.8.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: