Skip to content

ESLint configuration file for TypeScript and React projects

Notifications You must be signed in to change notification settings

algoan/eslint-config-react

Repository files navigation

Algoan Logo

Algoan React ESLint config

Algoan ESLint configuration shared for React projects written in TypeScript and using prettier.

Installation

First, install this module running:

npm install @algoan/eslint-config-react --save-dev

Then, create a .eslintrc.json file:

{
  "extends": "@algoan/eslint-config-react"
}

Usage

In your package.json file, add a script:

{
  "lint": "eslint **/*.{js,jsx,ts,tsx}"
}