Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

jordanmonier/eslint-config-airbnb-react-typescript-prettier

Repository files navigation

ESLint Configured with Airbnb, React, TypeScript & Prettier

How to install ?

  1. Install the configuration
npm i -D eslint-config-airbnb-react-typescript-prettier
  1. Install the peer dependencies of the config

If using npm >5

npx install-peerdeps --dev eslint-config-airbnb-react-typescript-prettier

If using npm <5

npm info "eslint-config-airbnb-react-typescript-prettier@latest" peerDependencies

And then you need to install each peer dependency manually

  1. Extends your eslint configuration with this one
{
  "extends": ["eslint-config-airbnb-react-typescript-prettier"]
}
  1. Don't forget to make your own .prettier (you can use the one we provide in the repo)
  2. Don't forget to also make your own tsconfig.json (you can also use the one we provide in the repo)
  3. Enjoy using our configuration !

About

ESLint Configured with Airbnb, React, TypeScript & Prettier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published