ESLint
configurations for @straw-hat/prettier-config
integration.
It makes sure that ESLint
and Prettier
works together without issues.
Add the dependency.
yarn add -D @straw-hat/eslint-config-prettier
Make sure to install the peer dependencies.
npx install-peerdeps --dev @straw-hat/eslint-config-prettier
Extend your ESLint
configuration.
{
"extends": ["@straw-hat/eslint-config-prettier"]
}