0.1.0 • Published 5 years ago
@bilue/eslint-config-react v0.1.0
@bilue/eslint-config-react
This package provides an opinionated ESLint preset for React projects using TypeScript, intended to be used for all of our React projects at Bilue.
Installation
# Yarn
yarn add --dev @bilue/eslint-config-react
# npm
npm save --dev @bilue/eslint-config-react
Usage
In your ESLint configuration, usually an .eslintrc
file at the root of your project, add the following:
{
"extends": "@bilue/react"
}
Features
- Support for linting TypeScript files
- Sensible default rules for linting React projects
- Rules to enforce proper accessibility annotations
- Rules to ensure common mistakes are avoided when using React hooks
- Integration with Prettier
0.1.0
5 years ago
0.1.0-alpha.4
5 years ago
0.1.0-alpha.3
5 years ago
0.1.0-alpha.1
5 years ago
0.1.0-alpha.0
5 years ago