Skip to content

keremnalbant/react-typescript-eslint-prettier-boilerplate

Repository files navigation

Getting Started with React + Typescript + ESLint + Prettier Boilerplate

Yarn is used on this project, so I suggest you use yarn. You can install yarn as globally with: npm install --global yarn

After installing yarn run yarn install to install the dependencies.

Available Scripts

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.

yarn build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

yarn lint:fix

Runs the ESLint linter on the project and if possible fixes the lint errors according to your config in .eslintrc.json file.

yarn format

Runs the Prettier formatter on the project and format all the files according to your config in .prettierrc.json file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published