microsoft / TypeScript-React-Starter

A starter template for TypeScript and React with a detailed README describing how to use the two together.
MIT License
11.09k stars 1.21k forks source link

Configure the TSLint formatter? #144

Open AndrewCraswell opened 6 years ago

AndrewCraswell commented 6 years ago

Is it possible to configure the formatter for TSLint? It seems like the linting is being executed via the ForkTsCheckerWebpackPlugin Webpack plugin, but I'm not seeing any way to determine which formatter is used. Is there a better way to specify the formatter?

hieu-nv commented 5 years ago

You can try to use https://www.npmjs.com/package/@hieunv/react-scripts. It support TypeScript (with ForkTsCheckerWebpackPlugin)

npx create-react-app my-app --scripts-version=@hieunv/react-scripts