Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 821 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 821 Bytes

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}"
}