You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(linter): false positive in eslint/curly on windows (#10671)
### TL;DR
Fixed a false positive in the `curly` eslint rule when running on windows (`CRLF` line endings)
### What changed?
since `\r\n` is two chars, `get_next_char_offset` was (incorrectly) returning a new line at the start of the string. Now, it checks for the `\r\n` pattern, to determine how many chars to skip (1 or 2)
fixes#9600
0 commit comments