# @trevortan/eslint-config

> ESLint config presets inspired by antfu

Latest version **0.0.3** (published 2023-11-08) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-11-08 |
| First published | 2023-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 32.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | niceless0416@gmail.com |
| Maintainers | trevortan |
| Keywords | eslint config |

## Links

- npm: https://www.npmjs.com/package/@trevortan/eslint-config
- Homepage: https://github.com/Pat1enceLos/eslint-config
- npm.io page: https://npm.io/package/@trevortan/eslint-config

## Dependencies (10)

- [tsup](https://npm.io/package/tsup.md) ^7.2.0
- [eslint-plugin-i](https://npm.io/package/eslint-plugin-i.md) ^2.29.0
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^16.2.5
- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^9.18.1
- [vue-eslint-parser](https://npm.io/package/vue-eslint-parser.md) ^9.3.2
- [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
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.9.1
- [eslint-plugin-eslint-comments](https://npm.io/package/eslint-plugin-eslint-comments.md) ^3.2.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.9.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2023-11-08
- 0.0.2 — 2023-11-08
- 0.0.1 — 2023-11-08

## README

## ESLint Config Presets

### Usage
---

#### Install
```bash
yarn add -D @trevortan/eslint-config
```

#### Config .eslintrc
```js
module.exports = {
  extends: '@trevortan'
}
```

#### Add script for package.json
```json
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
```

#### Config VS Code auto fix
- Install ESLint VS Code Plugin
- Create `.vscode/settings.json`
```json
{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
```

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