https://github.com/podcodar/eslint-config
Repository to share a common Eslint config to our community
https://github.com/podcodar/eslint-config
Last synced: about 1 year ago
JSON representation
Repository to share a common Eslint config to our community
- Host: GitHub
- URL: https://github.com/podcodar/eslint-config
- Owner: podcodar
- Created: 2023-04-17T21:49:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T22:02:05.000Z (about 3 years ago)
- Last Synced: 2025-03-31T10:42:28.453Z (about 1 year ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PodCodar Eslint Configs
This projects create some eslint configuration shared across @PodCodar project's.
This uses Turborepo.
## Published packages
```sh
@podcodar/eslint-config-base # base preset (with prettier)
@podcodar/eslint-config-react # react
@podcodar/eslint-config-next # next.js
@podcodar/eslint-config-turbo # turbo repo
@podcodar/eslint-config-typescript # typescript
```
## Using
1. Setup Eslint in your project
```sh
# with npm
npm init @eslint/config
# with yarn
yarn init @eslint/config
# with pnpm
pnpm create @eslint/config
```
2. Install the desired podcodar config
```sh
npm install @podcodar/eslint-config-next
```
3. extend configs by editing your `.eslintrc` file
```jsonc
// .eslintrc file
{
"extends": [
"@podcodar/eslint-config-next",
// ...
]
}
```