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

Weird comma placement #41

Open
ccouzens opened this issue Jun 30, 2021 · 0 comments
Open

Weird comma placement #41

ccouzens opened this issue Jun 30, 2021 · 0 comments

Comments

@ccouzens
Copy link
Contributor

ccouzens commented Jun 30, 2021

The following weird comma placement is valid in our eslint config

export const x = {
  foo: {
    bar: 1

    ,

  }

  ,

};

We should probably not allow the new lines before a comma.

https://github.com/loveholidays/aurora/pull/1437/files#r661392533

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

No branches or pull requests

1 participant