# @ahqrt/eslint-config-typescript

> > TODO: description

Latest version **1.6.0** (published 2021-12-30) · ISC license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.0 |
| Published | 2021-12-30 |
| First published | 2021-11-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ahqrt |
| Maintainers | ahqrt |

## Links

- npm: https://www.npmjs.com/package/@ahqrt/eslint-config-typescript
- Repository: https://github.com/ahqrt/ahqrt-package
- Homepage: https://github.com/ahqrt/ahqrt-package#readme
- Issues: https://github.com/ahqrt/ahqrt-package/issues
- npm.io page: https://npm.io/package/@ahqrt/eslint-config-typescript

## Dependencies (6)

- [@ahqrt/eslint-rules](https://npm.io/package/@ahqrt/eslint-rules.md) ^1.7.0
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.1.0
- [@ahqrt/eslint-config-base](https://npm.io/package/@ahqrt/eslint-config-base.md) ^1.2.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.4.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.4.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^2.5.0

## Recent versions

- 1.6.0 (latest) — 2021-12-30
- 1.5.0 — 2021-12-30
- 1.4.0 — 2021-11-30
- 1.3.0 — 2021-11-28
- 1.2.0 — 2021-11-28

## README

# `@ahqrt/eslint-config-typescript`

> TODO: description
# Install
```sh
yarn add -D eslint prettier @ahqrt/eslint-config-typescript @ahqrt/prettier-config lint-staged yorkie
```

## 手动配置

### .eslintrc.js
```js
module.exports = {
  root: true,
  extends: ['@ahqrt/eslint-config-typescript'],
};

```

### .prettierrc.js
```js
module.exports = require('@ahqrt/prettier-config')
```
### .editorconfig
```
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
quote_type = single  # Fix Prettier "prettier.singleQuote" not working in 1.40 vs code
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

```

### pre-commit lint

####package.json
```json
{
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "**/*.{js,jsx,ts,tsx}": ["eslint --fix"],
    "**/*.{md,json}": ["prettier --write"]
  }
}
```

#### .vscode/settings.json

```js
{
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
}
```

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