- Install eslint
yarn add @typographist/eslint-config-base/eslint-config -D
- Install the correct versions of each package, which are listed by the command:
yarn info "@typographist/eslint-config-base/eslint-config" peerDependencies
- Install all dependecies:
npx install-peerdeps --dev @typographist/eslint-config-base/eslint-config
- Add next line to your
.eslintrc
or.eslintrc.js
or.eslint.config.js
:
{
"extends": "@typographist/eslint-config-base/eslint-config"
}