0.0.2 • Published 4 years ago
@dking/eslint-config-base v0.0.2
EsLint-Config-Base
This configuration is a general configuration of eslint, 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-base
Configuration
// .eslintrc.js
module.exports = {
extends: [ '@dking/base' ],
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.