This projects create some eslint configuration shared across @PodCodar project's.
This uses Turborepo.
@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
- Setup Eslint in your project
# with npm
npm init @eslint/config
# with yarn
yarn init @eslint/config
# with pnpm
pnpm create @eslint/config
- Install the desired podcodar config
npm install @podcodar/eslint-config-next
- extend configs by editing your
.eslintrc
file
// .eslintrc file
{
"extends": [
"@podcodar/eslint-config-next",
// ...
]
}