# @youngjuning/eslint-config

> youngjuning's eslint config

Latest version **0.3.7** (published 2025-04-17) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 40/100 (D)** — status: stable.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.3.7 |
| Published | 2025-04-17 |
| First published | 2020-07-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Aaron Young |
| Maintainers | youngjuning |
| Keywords | youngjuning, eslint-config, javascript |

## Links

- npm: https://www.npmjs.com/package/@youngjuning/eslint-config
- Repository: https://github.com/youngjuning/youngjuning
- Homepage: https://github.com/youngjuning/youngjuning/tree/main/packages/eslint-config#readme
- Issues: https://github.com/youngjuning/youngjuning/issues
- npm.io page: https://npm.io/package/@youngjuning/eslint-config

## Dependencies (10)

- [jest](https://npm.io/package/jest.md) ^29.7.0
- [jiti](https://npm.io/package/jiti.md) ^2.4.2
- [eslint](https://npm.io/package/eslint.md) ^9.21.0
- [globals](https://npm.io/package/globals.md) ^16.0.0
- [prettier](https://npm.io/package/prettier.md) ^3.5.2
- [@eslint/js](https://npm.io/package/@eslint/js.md) ^9.21.0
- [typescript-eslint](https://npm.io/package/typescript-eslint.md) ^8.25.0
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^28.11.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^10.0.2
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.2.3

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.3.7 (latest) — 2025-04-17
- 0.3.6 — 2025-03-02
- 0.3.5 — 2025-03-02
- 0.3.4 — 2025-03-02
- 0.3.3 — 2025-03-02
- 0.3.2 — 2025-03-02
- 0.3.1 — 2025-03-02
- 0.3.0 — 2025-03-02
- 1.4.0 — 2020-12-04
- 1.3.0 — 2020-12-04
- 1.2.0 — 2020-11-26
- 1.1.0 — 2020-11-26
- 1.0.1 — 2020-11-26
- 1.0.0 — 2020-11-25
- 0.2.0 — 2020-07-23
- … 5 more at https://npm.io/package/@youngjuning/eslint-config/versions

## README

# @youngjuning/eslint-config

## Install

```sh
pnpm add -D eslint prettier @youngjuning/eslint-config @youngjuning/prettier-config lint-staged yorkie
```

## 手动配置

### eslint.config.js

> vscode extension: [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

```js
import youngjuning from '@youngjuning/eslint-config';

export default [...youngjuning];
```

### .prettierrc.js

```js
module.exports = require('@youngjuning/prettier-config');
```

### .editorconfig

> vscode extension: [editorconfig.editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)

```txt
# 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

[Makefile]
indent_style = tab
```

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