Albert Han

Results comments of Albert Han

I have this same issue, and I'm using ({ keyCode}) => keyCode === 186. I have to press it twice sometimes for it to create.

What's the fix for this then? I have `[2, "disallow-in-func"]` and it's giving me a ``` Configuration for rule "react/no-did-mount-set-state" is invalid: Value "allow-in-func" must be an enum value. ```

@ljharb It's an npm script where it just runs `eslint --fix ./myDir` (eslint isn't installed globally)

@ljharb Out of curiosity, what's wrong with keeping v2? Also, if I rember the parserOptions stuff, I still the same error.