https://github.com/uphold/eslint-config-uphold-react
Uphold-flavored ESLint config for frontend
https://github.com/uphold/eslint-config-uphold-react
Last synced: about 2 months ago
JSON representation
Uphold-flavored ESLint config for frontend
- Host: GitHub
- URL: https://github.com/uphold/eslint-config-uphold-react
- Owner: uphold
- License: mit
- Created: 2019-04-11T16:21:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T03:07:57.000Z (about 2 months ago)
- Last Synced: 2025-03-28T03:27:47.865Z (about 2 months ago)
- Language: JavaScript
- Size: 485 KB
- Stars: 1
- Watchers: 53
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eslint-config-uphold-react
Uphold-flavored React ESLint config. Extends [`eslint-config-uphold`](https://github.com/uphold/eslint-config-uphold).
## Installation
```sh
$ npm install eslint eslint-config-uphold-react --save-dev
```## Usage
Create an `.eslintrc.yml` file with the following:
```yaml
extends: uphold-react
```Add the following `script` to your `package.json`:
```json
{
"scripts": {
"lint": "eslint ."
}
}
```and run the linter with:
```sh
$ npm run lint
```