Skip to content

This repo is a basic pre-built React app with Typescript configured with eslint, Prettier and best pratices of airbnb.

Notifications You must be signed in to change notification settings

juangduque/react-ts-template

Repository files navigation

React + TS + ESlint + Prettier initial template

This repo is a basic pre-built React app with Typescript configured with eslint, Prettier and best pratices of airbnb.

This project was created following the instructions of this Blog.

This other Blog was helpful.

Bolerplate overview:

Reason for existence of this repository

Those of us who have been working with React for a long time know that Typescript is a better option.

To ensure that the code written is of high quality, ESlint is installed to highlight style errors in the code of the .css, .ts and .tsx files mainly. Prettier for formatting styles and airbnb plugin which is one of the most popular rules plugin in the industry these days.

Considerations

ESlint Rules

The rules that I have set, was given by my own criteria or by my preference, but feel free to modify them to put the ones that best suit your projects.

I recommend this documentation about Typescript and ESlint rules.

Prettier

Like the ESLint rules, these also can also be modified to your preference. See for options in here.

Disclaimers

  • You can download the files or fork the repo to start a project with this initial setup.
  • If you clone the repository, you will not be able to push to this repository.
  • By the moment I don't accept PR's to change the basecode.

I hope you find it useful.

About

This repo is a basic pre-built React app with Typescript configured with eslint, Prettier and best pratices of airbnb.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •