# @ahqrt/eslint-config-base

> > TODO: description

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

## Install

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

## 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.7.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 | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | ahqrt |
| Maintainers | ahqrt |

## Links

- npm: https://www.npmjs.com/package/@ahqrt/eslint-config-base
- 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-base

## Dependencies (6)

- [@ahqrt/eslint-rules](https://npm.io/package/@ahqrt/eslint-rules.md) ^1.7.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.25.3
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.1.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^15.0.0

## Recent versions

- 1.7.0 (latest) — 2021-12-30
- 1.6.0 — 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
- 1.1.0 — 2021-11-28
- 1.0.0 — 2021-11-28

## README

# `@ahqrt/eslint-config-base`

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

## 手动配置

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

```

### .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-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
