https://github.com/fellipeutaka/eslint-config
⚙️ ESLint configuration used by Fellipe Utaka
https://github.com/fellipeutaka/eslint-config
eslint eslint-config expo nextjs nodejs prettier-eslint react react-native typescript
Last synced: about 1 year ago
JSON representation
⚙️ ESLint configuration used by Fellipe Utaka
- Host: GitHub
- URL: https://github.com/fellipeutaka/eslint-config
- Owner: fellipeutaka
- License: mit
- Created: 2023-03-25T22:16:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T00:08:01.000Z (over 2 years ago)
- Last Synced: 2025-03-19T09:03:16.695Z (over 1 year ago)
- Topics: eslint, eslint-config, expo, nextjs, nodejs, prettier-eslint, react, react-native, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@fellipeutaka/eslint-config?activeTab=readme
- Size: 523 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fellipe Utaka ESLint config
## Whats included?
- Standard config base;
- React config base;
- Expo config base;
- Next.js config base;
- Node config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
## Setup
1. Install the dependencies
```bash
# If you are using NPM
$ npm i eslint @fellipeutaka/eslint-config -D
# If you are using Yarn
$ yarn add eslint @fellipeutaka/eslint-config -D
# If you are using PNPM
$ pnpm i eslint @fellipeutaka/eslint-config -D
```
2. Create a `.eslintrc.json` file extending the configuration you want to use:
```json
{
"extends": "@fellipeutaka/eslint-config/next"
// "extends": "@fellipeutaka/eslint-config/react"
// "extends": "@fellipeutaka/eslint-config/expo"
// "extends": "@fellipeutaka/eslint-config/node"
}
```
> You can also use a `.eslintrc.js` instead of JSON if you prefer.