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