Typescript: Specific config options for TSC

Created on 4 Jul 2017  ·  4Comments  ·  Source: microsoft/TypeScript

Hello guys!
Is there a way to specify things like "ident size", "new line at end of the file"<
Using webpack or tsconfig as itself?
Thanks adv.

All 4 comments

There is no option for "indent size" and "new line at end of the file" in TSC, but there are options for them in tslint and tsfmt.

These general type questions should be asked on Gitter or StackOverflow. This is the place for reporting suspected bugs with TypeScript.

Take a look at editorconfig. This is a responsibility of the editor or a linter, not of the compiler.

@ikatyang Oh, so configs in tslint will propagate in compiler process?! Thanks.

@kitsonk Sorry, my bad.

@leonadler This is really nice, thanks for this link! Saved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fwanicka picture fwanicka  ·  3Comments

bgrieder picture bgrieder  ·  3Comments

jbondc picture jbondc  ·  3Comments

kyasbal-1994 picture kyasbal-1994  ·  3Comments

Antony-Jones picture Antony-Jones  ·  3Comments