Skip to content

Commit bcb01d1

Browse files
david-driscollkwonoj
authored andcommitted
chore(tsconfig): Added codeFormatOptions
This follows the spec defined by the typescript language services. https://github.com/Microsoft/TypeScript/blob/master/tests/cases/fourslash/fourslash.ts#L70-L87 This is used by atom-typescript to pass off formatting options to the compiler. I'm not aware of any other tools that use this, but extensions to tsconfig.json are not illegal unless they clash with the default properties.
1 parent 7dc98c3 commit bcb01d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
"declaration": true,
77
"target": "es6",
88
"outDir": "dist/es6"
9+
},
10+
"formatCodeOptions": {
11+
"indentSize": 2,
12+
"tabSize": 2
913
},
1014
"files": [
1115
"src/Rx.ts",
1216
"src/Rx.KitchenSink.ts"
1317
]
14-
}
18+
}

0 commit comments

Comments
 (0)