question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fix: Missing space before function parentheses ?

See original GitHub issue

Eslint 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:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

17reactions
bahatroncommented, Jul 25, 2017

it would definetly be nice to have this implemented

0reactions
bitwisemancommented, Dec 7, 2018

Fixed in #1425.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found