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

object-curly-spacing: comments should not trigger rule #12089

Closed
silverwind opened this issue Aug 12, 2019 · 3 comments
Closed

object-curly-spacing: comments should not trigger rule #12089

silverwind opened this issue Aug 12, 2019 · 3 comments
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion bug ESLint is working incorrectly triage An ESLint team member will look at this issue soon

Comments

@silverwind
Copy link
Contributor

silverwind commented Aug 12, 2019

Tell us about your environment

  • ESLint Version: 6.1.0
  • Node Version: 12.7.0
  • npm Version: 6.10.0

Please show your full configuration:

rules:
  - object-curly-spacing: [2, never]

What did you expect to happen?

This code to pass:

const a = { // comment
  a: 1,
};

What actually happened? Please include the actual, raw output from ESLint.

1:11  error  There should be no space after '{' object-curly-spacing

Maybe related to 67c08b6#diff-9da030a8c7c9a4eea24f42982a0391b0.

Are you willing to submit a pull request to fix this bug?

no

@silverwind silverwind added bug ESLint is working incorrectly triage An ESLint team member will look at this issue soon labels Aug 12, 2019
@mdjermanovic
Copy link
Member

This is same as #11902

@platinumazure
Copy link
Member

Closing this as a duplicate of #11902, please track that issue for resolution. Thanks!

@silverwind
Copy link
Contributor Author

Indeed, it is.

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 9, 2020
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion bug ESLint is working incorrectly triage An ESLint team member will look at this issue soon
Projects
None yet
Development

No branches or pull requests

3 participants