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

Whitespace rule should flag spaces around new #3568

Closed
JoshuaKGoldberg opened this issue Dec 11, 2017 · 1 comment
Closed

Whitespace rule should flag spaces around new #3568

JoshuaKGoldberg opened this issue Dec 11, 2017 · 1 comment

Comments

@JoshuaKGoldberg
Copy link
Contributor

const instance =    new      MyClass();

That feels morally wrong.

@ajafff
Copy link
Contributor

ajafff commented Dec 11, 2017

This is basically a duplicate of #3548 and probably many others.
I think you should rather use a formatter than a lint rule.

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

2 participants