npm i -D eslint-config-k8
or if you prefer yarn
yarn add -D eslint-config-k8
or if you prefer pnpm
pnpm add -D eslint-config-k8
npx install-peerdeps -D eslint-config-k8
Ensure you have installed typescript
as dev dependency
and exists a tsconfig.json
file in your project.
Then add the following to your .eslintrc
file:
{
"extends": ["k8"]
}