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: 3 months ago
JSON representation
ESLint configuration file for TypeScript and React projects
- Host: GitHub
- URL: https://github.com/algoan/eslint-config-react
- Owner: algoan
- Created: 2020-11-05T16:56:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T08:34:05.000Z (7 months ago)
- Last Synced: 2025-03-18T13:51:21.666Z (4 months ago)
- Topics: eslint, frontend, reactjs, typescript
- Language: JavaScript
- Homepage:
- Size: 886 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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}"
}
```