blakeembrey / tslint-config-standard

A TSLint config for JavaScript Standard Style
Other
358 stars 43 forks source link

use ter-indent for better indentation rules #15

Closed jmlopez-rod closed 7 years ago

jmlopez-rod commented 7 years ago

Just noticed the configuration points to the one provided by tslint. If you have some rules about indentation you can try the one in the tslint-eslint-rules project: https://github.com/buzinas/tslint-eslint-rules/blob/master/src/docs/rules/terIndentRule.md

It is a port of the one from eslint so I would look at their docs to see the examples of usage.

blakeembrey commented 7 years ago

Thanks for the notice, I've adopted it now.

unional commented 7 years ago

Just notice there is an issue related to this: https://github.com/palantir/tslint/issues/3027

Currently, I got one repo have the issue mentioned in the link.

EDIT: actually related but not the same, as we are using space... image

It works elsewhere. Don't know what's special with this one.

jmlopez-rod commented 7 years ago

Woah, that's bad... ter-indent is from https://github.com/buzinas/tslint-eslint-rules what versions of tslint and tslint-eslint-rules are you using?

rohmanhm commented 7 years ago

I have some problem too @unional We need to disable ter-indent