fix: Missing space before function parentheses ?
See original GitHub issueEslint standard required:
Missing space before function parentheses
beautify result:
export default {
data() {
return {
input: ''
}
}
}
expected:
export default {
data () { // this row
return {
input: ''
}
}
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:11 (5 by maintainers)
Top Results From Across the Web
VS Code - space before function parentheses - Stack Overflow
Go to File -> Preferences -> Settings · Search for constructor · Add a check next to JavaScript › Format: Insert Space After...
Read more >space-before-function-parentheses - ESLint
This rule aims to enforce consistent spacing before function parentheses and as such, will warn whenever whitespace doesn't match the preferences specified.
Read more >space-before-function-paren - TypeScript ESLint
Enforce consistent spacing before function parenthesis.. Some problems reported by this rule are automatically fixable by the --fix ESLint command line ...
Read more >Prettier Function Parenthesis Spacing - Opinionated is Key
A quick search of my issue made it seem like this was because of a very specific ESLint rule: space-before-function-paren . Knowing this,...
Read more >Rule: space-before-function-paren - Palantir Open Source
Rule: space-before-function-paren. Require or disallow a space before function parenthesis. Notes: Has Fixer. Config. One argument which ...
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
it would definetly be nice to have this implemented
Fixed in #1425.