Skip to content

tsconfig.json compiler option: indent #4042

@jednano

Description

@jednano

I would just love an indent option for the tsconfig.json file, not only for the obvious reason of preserving indentation, but also to prevent issues like the following, where I have TypeScript code with template strings compiling into an ES6 target:

ts-compiled

I would imagine as long as it supports 4 spaces, 2 spaces and tabs, that should fulfill most everyone's needs; however, flexibility would probably be best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionOut of ScopeThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions