Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyzwezdin authored Jun 17, 2024
1 parent c40f22b commit dfb3928
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1 @@
# @relab/eslint-config

Shareable configuration for eslint

## Usage

1. Install packages `eslint` and `@relab/eslint-config`
```bash
npm install eslint --save-dev
npm install @relab/eslint-config --save-dev
```
2. Update `package.json`

**Node project:**
```json
{
"scripts": {
"lint": "eslint . --ext ts,tsx"
},
"eslintConfig": {
"extends": "@relab/eslint-config/node"
}
}
```

**Next project:**
```json
{
"scripts": {
"lint": "eslint . --ext ts,tsx"
},
"eslintConfig": {
"extends": "@relab/eslint-config/next"
}
}
```

## Available configurations

- Node: `@relab/eslint-config/node`
- Next: `@relab/eslint-config/next`

## License

Released under [MIT](/LICENSE) by [Sergey Zwezdin](https://github.com/sergeyzwezdin).
Moved to [relab-services/dev-kit](https://github.com/relab-services/dev-kit) monorepo.

0 comments on commit dfb3928

Please sign in to comment.