![reactjs - Eslint Error - Unexpected block statement surrounding arrow body; move the returned value immediately after the => - Stack Overflow reactjs - Eslint Error - Unexpected block statement surrounding arrow body; move the returned value immediately after the => - Stack Overflow](https://i.stack.imgur.com/u6kem.png)
reactjs - Eslint Error - Unexpected block statement surrounding arrow body; move the returned value immediately after the => - Stack Overflow
arrow-body-style: [2, "as-needed"] should ignore function bodies that return another block/function · Issue #4353 · eslint/eslint · GitHub
![ESLint, why the hell am I wrong?. It's difficult to maintain a project… | by Thiago Nogueira | Medium ESLint, why the hell am I wrong?. It's difficult to maintain a project… | by Thiago Nogueira | Medium](https://miro.medium.com/v2/resize:fit:1400/1*e4iLGUZLBLAY-mfCAmOMAA.png)
ESLint, why the hell am I wrong?. It's difficult to maintain a project… | by Thiago Nogueira | Medium
![Gajus on X: "Comparison of 3 major #ESLint style guides: Google, Airbnb and Standard VS Canonical. https://t.co/OTNcYvjH1L https://t.co/0Nkcxyqebk" / X Gajus on X: "Comparison of 3 major #ESLint style guides: Google, Airbnb and Standard VS Canonical. https://t.co/OTNcYvjH1L https://t.co/0Nkcxyqebk" / X](https://pbs.twimg.com/media/DoWqCTMW0AAFvyC.jpg:large)