Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cra-template-linter-ts

lucgauer3ISC1.0.0TypeScript support: included

create-react-app template, using airbnb code style linter and prettier formatter for typescript app bootstrap

readme

A create-react-app custom template with a preconfigured Airbnb code style linter and Prettier code formatter.

To boostrap your app with this template, just run:

npx create-react-app <your-app-name> --template linter-ts

If you are looking for a JavaScript alternative, please look at: https://www.npmjs.com/package/cra-template-linter

cra-template-linter-ts

This template make use of all familiar react-scripts setup.

Also by convenience, there is a git commit hook that runs jest and eslint at git staged files.