reinforced / Reinforced.Typings

Converts C# classes to TypeScript interfaces (and many more) within project build. 0-dependency, minimal, gluten-free

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature - Allow setting Typescript code style

dotnetjunky opened this issue · comments

In TypeScript, it is very common to emit the open brace { on the same line as the current statement:

if (good) {
}

However, currently Reinfornced.Typings generate code in C# style:

if (good)
{
}

This is causing prettier error in my code base. It'd be very helpful to allow changing this coding style via the global settings.

In codebases i work on, i always exclude linting on all generated typescript files using .eslintignore. dont have to worry about any opinionated style inconsistencies.