@kilohealth/eslint-config-next
Version:
Kilo.Health ESLint config for Next.js
50 lines (33 loc) • 974 B
Markdown
# @kilohealth/eslint-config-next
Kilo.Health ESLint config for Next.js.
## Getting started
### Install dependencies
```bash
# yarn
yarn add -D eslint prettier @babel/core
# npm
npm install eslint prettier @babel/core --save-dev
```
### Install the package
```bash
# yarn
yarn add -D @kilohealth/eslint-config-next
# npm
npm install @kilohealth/eslint-config-next --save-dev
```
## Usage
Extend your ESLint config in your `.eslintrc`:
```json
{
"extends": ["@kilohealth/eslint-config-next"]
}
```
## See also
React ESLint config:
[@kilohealth/eslint-config-react](https://npm.im/@kilohealth/eslint-config-react)
Redux-Saga ESLint config:
[@kilohealth/eslint-config-redux-saga](https://npm.im/@kilohealth/eslint-config-redux-saga)
Node.js ESLint config:
[@kilohealth/eslint-config-node](https://npm.im/@kilohealth/eslint-config-node)
React Native ESLint config:
[@kilohealth/eslint-config-react-native](https://npm.im/@kilohealth/eslint-config-react-native)