https://github.com/johnapache/eslint-config-react
eslint-config-react for hasaki-cli
https://github.com/johnapache/eslint-config-react
eslint eslint-config eslint-config-react eslint-config-react-hooks
Last synced: 3 months ago
JSON representation
eslint-config-react for hasaki-cli
- Host: GitHub
- URL: https://github.com/johnapache/eslint-config-react
- Owner: JohnApache
- License: mit
- Created: 2019-12-24T07:00:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T21:18:31.000Z (over 3 years ago)
- Last Synced: 2025-02-23T04:05:20.000Z (3 months ago)
- Topics: eslint, eslint-config, eslint-config-react, eslint-config-react-hooks
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.en_US.md
- License: LICENSE
Awesome Lists containing this project
README
# EsLint-Config-React
- [English](README.en_US.md)
- [简体中文](README.md)> 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](#install)
- [Configuration](#configuration)
- [TIPS](#tips)
- [Questions](#questions)
- [License](#license)## Install
```bash
$ npx install-peerdeps --dev @dking/eslint-config-react
```## Configuration
```js
// .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](https://github.com/JohnApache/eslint-config-base)
- Projects using **Typescript** can use [@dking/eslint-config-typescript](https://github.com/JohnApache/eslint-config-typescript)
- Projects that use **React** can use [@dking/eslint-config-react](https://github.com/JohnApache/eslint-config-react)
- Projects that use **Typescript** and **React** can use [@dking/eslint-config-typescript-react](https://github.com/JohnApache/eslint-config-typescript-react)## Questions
Please open an issue [here](https://github.com/JohnApache/eslint-config-react/issues).## License
[MIT](LICENSE)