0.0.3 • Published 4 years ago
@dking/eslint-config-react v0.0.3
EsLint-Config-React
This configuration is the general configuration of eslint for React project, which is applicable to any basic configuration of the project, and provides a good automatic repair effect.
Install
$ npx install-peerdeps --dev @dking/eslint-config-react
Configuration
// .eslintrc.js
module.exports = {
extends: [ '@dking/react' ],
rules: {
}
}
TIPS
You can use different eslint config for different types of projects to get a better experience
- Only projects requiring basic configuration can use @dking/eslint-config-base
- Projects using Typescript can use @dking/eslint-config-typescript
- Projects that use React can use @dking/eslint-config-react
- Projects that use Typescript and React can use @dking/eslint-config-typescript-react
Questions
Please open an issue here.