[email protected] break eslint check

Created on 2 Feb 2020  路  8Comments  路  Source: yannickcr/eslint-plugin-react

Hi, I just found v7.18.1 break my eslint check.
Below link there is error message, i revert the version back to 7.18.0 to fix my build.
https://github.com/im6/vp/actions
no sure if this only happen to me, but I tried cross multiple OS and both happening on NPM and Yarn.

Screen Shot 2020-02-01 at 6 21 22 PM

bug

Most helpful comment

cc @toshi-toma, from #2542.

I've got a fix ready; i'll publish a patch once tests pass.

All 8 comments

Thanks; any chance you know what code is causing the crash?

@ljharb seems every time when there is null in my code, then eslint got break. I tried to replace null in my code with {}, then it works fine and passes.

I've found the same problem. It seems to me that everywhere there's a null, it crashes.

Replacing by undefined works, as well as _something_, but sometimes we really need the null there.

Encountering the same issue

Found a temporary solution:
'react/jsx-indent': 0

cc @toshi-toma, from #2542.

I've got a fix ready; i'll publish a patch once tests pass.

v7.18.2 released.

I'm very so sorry...
This bug is caused by my mistake.

@ljharb Thank you for the fix.

Was this page helpful?
0 / 5 - 0 ratings