Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Require whitespace inside inline array literals #1045

Closed
thasner opened this issue Mar 18, 2016 · 3 comments
Closed

Require whitespace inside inline array literals #1045

thasner opened this issue Mar 18, 2016 · 3 comments
Labels
Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier P2 Resolution: Declined Type: Rule Suggestion

Comments

@thasner
Copy link

thasner commented Mar 18, 2016

good

const x = [ "one", "two" ];

bad

const x = ["one", "two"];
@thasner thasner changed the title Require whitespace inside inline object literals Require whitespace inside inline array literals Mar 18, 2016
@thasner
Copy link
Author

thasner commented Mar 18, 2016

similar to #1044

@buzinas
Copy link
Contributor

buzinas commented Apr 4, 2016

This rule was added to TSLint ESLint Rules v1.2.0

@adidahiya adidahiya added this to the TSLint v3.9 milestone Apr 24, 2016
@adidahiya adidahiya removed this from the TSLint v3.9 milestone May 3, 2016
@adidahiya adidahiya added the Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier label Feb 25, 2019
@adidahiya
Copy link
Contributor

Closing this with the same reason as #1044 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier P2 Resolution: Declined Type: Rule Suggestion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants