@z1digitalstudio/eslint-config
v1.0.5
Published
Default Eslint rules to configure new React/Next.js projects at [Z1](https://z1.digital).
Downloads
35
Readme
Z1 Digital Studio Eslint config
Default Eslint rules to configure new React/Next.js projects at Z1.
Simply, install this dependency:
pnpm install -D @z1digitalstudio/eslint-config
... and add it to the Eslint config (.eslintrc.json
):
- React projects:
{
"root": true,
"extends": ["@z1digitalstudio/eslint-config/react"]
}
- React projects with vite ( created with vite ts template > 5.4) :
{
"root": true,
"extends": ["@z1digitalstudio/eslint-config/react+vite"]
}
- Next.js projects:
{
"root": true,
"extends": ["@z1digitalstudio/eslint-config/next"]
}