@straw-hat/eslint-config-react
ESLint
React configurations. Use this package in React projects.
Installation
Add the dependency.
yarn add -D @straw-hat/eslint-config-react
Make sure to install the peer dependencies.
npx install-peerdeps --dev @straw-hat/eslint-config-react
Configuration
Extend your ESLint
configuration.
{
"extends": ["@straw-hat/eslint-config-react"]
}