Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 427 Bytes

File metadata and controls

27 lines (18 loc) · 427 Bytes

@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"]
}