- Standard config
- Prettier
- Typescript plugin
- React plugin
- React Hooks plugin
- JSX A11y plugin
- Simple Import Sort plugin
- TailwindCSS plugin
npm i -D eslint@8 @ae-studio/eslint-config
If you're setting up a Next.js project, you also need to install the eslint-config-next package.
npm i -D eslint@8 @ae-studio/eslint-config eslint-config-next
Inside your .eslintrc.json
file, add the following configuration based on your project type:
{
"extends": "@ae-studio/eslint-config/node"
}
{
"extends": "@ae-studio/eslint-config/react"
}
{
"extends": [
"@ae-studio/eslint-config/react",
"@ae-studio/eslint-config/tailwind"
]
}
{
"extends": [
"next/core-web-vitals",
"@ae-studio/eslint-config/react"
]
}
{
"extends": [
"next/core-web-vitals",
"@ae-studio/eslint-config/react",
"@ae-studio/eslint-config/tailwind"
]
}
Built with 🧡 by AE Studio