https://github.com/johnapache/eslint-config-typescript-react
eslint-config-typescript for hasaki-cli
https://github.com/johnapache/eslint-config-typescript-react
eslint eslint-config eslint-config-react eslint-config-typescript-react react typescript
Last synced: 10 months ago
JSON representation
eslint-config-typescript for hasaki-cli
- Host: GitHub
- URL: https://github.com/johnapache/eslint-config-typescript-react
- Owner: JohnApache
- License: mit
- Created: 2019-12-24T07:14:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T21:18:34.000Z (almost 4 years ago)
- Last Synced: 2025-02-23T10:39:39.071Z (11 months ago)
- Topics: eslint, eslint-config, eslint-config-react, eslint-config-typescript-react, react, typescript
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.en_US.md
- License: LICENSE
Awesome Lists containing this project
README
# EsLint-Config-Typescript-React
- [English](README.en_US.md)
- [简体中文](README.md)
> This configuration is the general configuration of eslint for **Typescript-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-typescript-react
```
## Configuration
```js
// .eslintrc.js
module.exports = {
extends: [ '@dking/typescript-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-typescript-react/issues).
## License
[MIT](LICENSE)