Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

ter-computed-property-spacing and newlines #326

Open
alecmev opened this issue Jun 10, 2018 · 0 comments
Open

ter-computed-property-spacing and newlines #326

alecmev opened this issue Jun 10, 2018 · 0 comments

Comments

@alecmev
Copy link

alecmev commented Jun 10, 2018

The following code is marked as invalid by the "never" mode of this rule:

const x = obj[
  123
];

However, I believe it is valid, as per ESLint's tests:

{
  valid: [
    { code: "obj[\nfoo]", options: ["never"] },
    { code: "obj[foo\n]", options: ["never"] }
  ]
}
@alecmev alecmev changed the title ter-computed-property-spacing ter-computed-property-spacing and newlines Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant