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

New rule for forbidding whitespaces in one-line brackets #1698

Closed
lmoe opened this issue Nov 8, 2016 · 2 comments
Closed

New rule for forbidding whitespaces in one-line brackets #1698

lmoe opened this issue Nov 8, 2016 · 2 comments

Comments

@lmoe
Copy link

lmoe commented Nov 8, 2016

  • TSLint version: 3.15.1
  • TypeScript version: 1.0.1.0
  • Running TSLint via: Visual Studio Code

TypeScript code being linted

import { Foo, Bar } from 'baz'

Expected behavior

I want to lint the brackets in a one-line to have no spaces at the beginning and at the end resulting in

import {Foo, Bar} from 'baz'

It does not seem like tslint has such a rule and I would like to see it in there.

@CarsonF
Copy link

CarsonF commented Dec 20, 2016

And I would like it for the opposite reason 👍

@adidahiya
Copy link
Contributor

looks like a duplicate of #1044

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants