Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/algoan/eslint-config-react

ESLint configuration file for TypeScript and React projects
https://github.com/algoan/eslint-config-react

eslint frontend reactjs typescript

Last synced: 2 months ago
JSON representation

ESLint configuration file for TypeScript and React projects

Awesome Lists containing this project

README

        


Algoan Logo

# Algoan React ESLint config

Algoan [ESLint](https://eslint.org) configuration shared for [React](https://reactjs.org/) projects written in [TypeScript](https://www.typescriptlang.org/) and using [prettier](https://prettier.io/).

## Installation

First, install this module running:

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

Then, create a `.eslintrc.json` file:

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

## Usage

In your `package.json` file, add a script:

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