Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces arround the arrow of arrow function #57

Closed
ryuran opened this issue Sep 23, 2020 · 1 comment · Fixed by #60
Closed

Spaces arround the arrow of arrow function #57

ryuran opened this issue Sep 23, 2020 · 1 comment · Fixed by #60

Comments

@ryuran
Copy link
Member

ryuran commented Sep 23, 2020

OK:

() => true
() => {/**/}

KO:

()=>true
()=> true
() =>true
()=>{/**/}
()=> {/**/}
() =>{/**/}
()=> {/**/}
    'arrow-spacing': ['error', {
      before: true,
      after: true
    }]
@MrChocolatine
Copy link
Contributor

+1 to the proposition. Whitespace are good and not evil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants