Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/algoan/eslint-config-react
- Owner: algoan
- Created: 2020-11-05T16:56:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T14:37:17.000Z (6 months ago)
- Last Synced: 2024-10-01T22:18:11.745Z (4 months ago)
- Topics: eslint, frontend, reactjs, typescript
- Language: JavaScript
- Homepage:
- Size: 509 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- 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}"
}
```