# @liutsing/eslint-config-typescript

> > eslint config used by `TypeScript` app of MapleImage

Latest version **0.0.3** (published 2022-09-24) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @liutsing/eslint-config-typescript
pnpm add @liutsing/eslint-config-typescript
yarn add @liutsing/eslint-config-typescript
bun add @liutsing/eslint-config-typescript
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-09-24 |
| First published | 2022-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 23 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | liutsing-luo |

## Links

- npm: https://www.npmjs.com/package/@liutsing/eslint-config-typescript
- npm.io page: https://npm.io/package/@liutsing/eslint-config-typescript

## Dependencies (23)

- [eslint](https://npm.io/package/eslint.md) ^8.23.1
- [typescript](https://npm.io/package/typescript.md) ^4.8.3
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.18.5
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^15.2.5
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.18.2
- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^9.4.0
- [vue-eslint-parser](https://npm.io/package/vue-eslint-parser.md) ^9.1.0
- [eslint-plugin-node](https://npm.io/package/eslint-plugin-node.md) ^11.1.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.31.8
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.18.9
- [eslint-define-config](https://npm.io/package/eslint-define-config.md) ^1.7.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.26.0
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^6.0.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^17.0.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.2.1
- [@liutsing/prettier-config](https://npm.io/package/@liutsing/prettier-config.md) 0.0.3
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.37.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [eslint-config-standard-jsx](https://npm.io/package/eslint-config-standard-jsx.md) ^11.0.0
- [eslint-config-standard-react](https://npm.io/package/eslint-config-standard-react.md) ^11.0.1
- [@vue/eslint-config-typescript](https://npm.io/package/@vue/eslint-config-typescript.md) ^11.0.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.37.0

## Recent versions

- 0.0.3 (latest) — 2022-09-24
- 0.0.2 — 2022-09-24
- 0.0.1 — 2022-09-16

## README

# `@liutsing/eslint-config-typescript`

> eslint config used by `TypeScript` app of MapleImage

## Usage

```bash
npm install @liutsing/eslint-config-typescript -D
```
### TypeScript project
1. Create a `.eslintrc.js` configuration file in the root of your project with the following content:

```js
module.exports = {
  extends: '@liutsing/eslint-config-typescript',
}
```
2. Run eslint on all the ts files etc in your project:
```bash
npx eslint . --ext .ts
```
### Vue3 + TypeScript projects
1. Create a `.eslintrc.cjs` configuration file in the root of your project with the following content:

```js
module.exports = {
  extends: '@liutsing/eslint-config-typescript',
}
```
2. Run eslint on all the SCSS files etc in your project:
```bash
npx eslint . --ext .ts
```

---
_Source: https://npm.io/package/@liutsing/eslint-config-typescript · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
