functions with arrow function body are ignored
See original GitHub issueHi,
we 're using ESLint ‘arrow-body-style’ in our JSX-files an the functions are completely ignored. if i remove the arrow it works nice…
`//bad - doe not work in esdoc foo = () => { return 0; };
//good foo () { return 0; }; `
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Expected result - GitHub
Recommended max-func-body-length rule ignores functions named /. ... "Max arrow function body length exceeded" error should be raised at the ...
Read more >arrow-body-style - ESLint - Pluggable JavaScript Linter
Arrow functions have two syntactic forms for their function bodies. They may be defined with a block body (denoted by curly braces) ()...
Read more >Why doesn't my arrow function return a value? - Stack Overflow
When you use the function body version of an arrow function (with {} ), there is no implied return . You have to...
Read more >JavaScript Arrow Functions: How, Why, When (and ... - ZenDev
Arrow functions have a single overarching structure, and then an number of ways they can be simplified in special cases. ... A list...
Read more >Arrow function expressions - JavaScript - MDN Web Docs
Arrow functions can have either a concise body or the usual block body. In a concise body, only a single expression is specified,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please check latest ESDoc version.
I re-open this issue if is problem.
ESDoc v0.5.0 supports arrow function exporting. Please check it.