Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 848 Bytes

README.md

File metadata and controls

48 lines (35 loc) · 848 Bytes

PodCodar Eslint Configs

This projects create some eslint configuration shared across @PodCodar project's.

This uses Turborepo.

Published packages

@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
# with npm
npm init @eslint/config

# with yarn
yarn init @eslint/config

# with pnpm
pnpm create @eslint/config
  1. Install the desired podcodar config
npm install @podcodar/eslint-config-next
  1. extend configs by editing your .eslintrc file
// .eslintrc file
{
  "extends": [
    "@podcodar/eslint-config-next",
    // ...
  ]
}