Space before function arguments (space-after-function) (space-after-named-function)
See original GitHub issueThere should be flag to force a space before the function arguments like this:
function foo (bar, baz) {
// …
}
maybe: {"space_before_arguments": true}
Issue Analytics
- State:
- Created 9 years ago
- Reactions:13
- Comments:16 (5 by maintainers)
Top Results From Across the Web
VS Code - space before function parentheses - Stack Overflow
In VS Code open File -> Preferences -> Settings; Add to your JSON config: "javascript.format.insertSpaceBeforeFunctionParenthesis": true.
Read more >space-after-function-name - ESLint - Pluggable JavaScript Linter
This rule aims to enforce a consistent spacing after function names. It takes one argument. If it is "always" then all function names...
Read more >js-beautify | Yarn - Package Manager
... doesn't work with anon async functions (#1034); Space before function arguments (space-after-function) (space-after-named-function) (#608) ...
Read more >website/node_modules/js-beautify/CHANGELOG.md - Rdrr.io
... doesn't work with anon async functions (#1034); Space before function arguments (space-after-function) (space-after-named-function) (#608) ...
Read more >Prettier Function Parenthesis Spacing - Opinionated is Key
Before ESLint + Prettier const myFunc = function() { //... } // After formatting const myFunc ... Space After Function – Prettier 2.0....
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 FreeTop 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
Top GitHub Comments
+1 i do really hope this gets some more attention as ‘javascript standard style’ is getting more popular.
--space-after-named-function
is a good name