open-index/open-npm huggingface dataset:
npm package: @nozomiishii/commitlint-config
Description: Nozomi's Recommended commitlint config
Author: Nozomi Ishii
Latest version: 0.0.10

# @nozomiishii/commitlint-config

Nozomi's Recommended [commitlint](https://commitlint.js.org) config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/487L0pNZKONFN01oHO/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via Locaweb on GIPHY</small>
</div>
<br>

## Gist

### Run

```bash
pnpx @nozomiishii/commitlint-config@latest
```
npm package: @nozomiishii/cspell-config
Description: Nozomi's Recommended cspell config
Author: Nozomi Ishii
Latest version: 0.4.5

# @nozomiishii/cspell-config

Nozomi's Recommended [cspell](https://cspell.org/) config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/l1KuedaYKTLXDT11C/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via SpongeBob SquarePants on GIPHY</small>
</div>
<br>

## Gist

### Run

```sh
pnpx @nozomiishii/cspell-config "**"
```
npm package: @nozomiishii/eslint-config
Description: Nozomi's Recommended eslint config
Author: Nozomi Ishii
Latest version: 0.6.13

# @nozomiishii/eslint-config

Nozomi's Recommended [eslint](https://eslint.org/) Config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/FHEjBpiqMwSuA/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via GIPHY</small>
</div>
<br>

## Install

```bash
pnpx @nozomiishii/eslint-config@latest
```

## Manual

```bash
pnpm add -D eslint typescript @nozomiishii/eslint-config && touch eslint.config.ts
```

scriptの設定

```bash
pnpm pkg set scripts.eslint="eslint --max-warnings=0 --cache" \
pnpm pkg set scripts.lint="pnpm eslint" \
pnpm pkg set scripts.lint:fix="pnpm eslint --fix"
```

`package.json`

```json
{
  "scripts": {
    "eslint": "eslint --max-warnings=0 --cache",
    "lint": "pnpm eslint",
    "lint:fix": "pnpm eslint --fix"
  }
}
```

`eslint.config.ts`

```ts
export { default } from '@nozomiishii/eslint-config';
```

## References🙏

- [sxzz/eslint-config](https://github.com/sxzz/eslint-config)
- [antfu/eslint-config](https://github.com/antfu/eslint-config)
- [azat-io/eslint-config](https://github.com/azat-io/eslint-config)
- [EvgenyOrekhov/eslint-config-hardcore](https://github.com/EvgenyOrekhov/eslint-config-hardcore)
- [kazupon/eslint-config](https://github.com/kazupon/eslint-config)
- [AkaraChen/eslint-config](https://github.com/AkaraChen/eslint-config)
- [eslint-react/examples/next-app](https://github.com/Rel1cx/eslint-react/blob/2.0.0-next/examples/next-app/eslint.config.js)
- [vercel/style-guide](https://github.com/vercel/style-guide)
- [airbnb/javascript](https://github.com/airbnb/javascript)
npm package: @nozomiishii/lefthook-config
Description: Nozomi's Recommended lefthook config
Author: Nozomi Ishii
Latest version: 0.3.6

# @nozomiishii/lefthook-config

Nozomi's Recommended [lefthook](https://github.com/evilmartians/lefthook) config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/US7vLRTU5sAPcQcEHx/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via Danielle Chenette on GIPHY</small>
</div>
<br>

## Gist

```sh
pnpx @nozomiishii/lefthook-config@latest
```

## Manual

### Use as Dependency

```sh
pnpm add -D lefthook @nozomiishii/lefthook-config
```

lefthook.yaml

```yaml
extends:
  - ./node_modules/@nozomiishii/lefthook-config/index.yaml
```

```sh
npx lefthook install
```
npm package: @nozomiishii/markdownlint-cli2-config
Description: Nozomi's Recommended markdownlint-cli2 config
Author: Nozomi Ishii
Latest version: 0.3.5

# @nozomiishii/markdownlint-cli2-config

Nozomi's Recommended [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) Config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/SJJIVTh7YV9MtuRFTL/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via Jimmy Arca on GIPHY</small>
</div>
<br>

## Gist

```bash
pnpx @nozomiishii/markdownlint-cli2-config@latest
```
npm package: @nozomiishii/postinstall
Description: Nozomi's Recommended postinstall scripts
Author: Nozomi Ishii
Latest version: 0.0.7

# @nozomiishii/postinstall

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/z5pDjpG4FZZXDVNb9X/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via GIPHY</small>
</div>
<br>

## Install

```bash
pnpm add -D @nozomiishii/postinstall
```

## Usage

Add this package to your project's postinstall script using pnpm CLI

```bash
pnpm pkg set scripts.postinstall="postinstall"
```

Your package.json should contain this configuration

`package.json`

```json
{
  "postinstall": "postinstall"
}
```

Run install to trigger the postinstall script which sets up development tools

```bash
pnpm install
```
npm package: @nozomiishii/renovate
Description: 🦄 Reborn Renovate
Author: Nozomi Ishii
Latest version: 0.0.0

# Renovate

Nozomi's Recommended [Renovate](https://docs.renovatebot.com/) Config.

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/f7b9ltJ4FrhnsKjYx2/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via TLC Europe on GIPHY</small>
</div>
<br>
<!-- shields -->
<div align="center">
  <a target="_blank" href="https://badge.fury.io/js/@nozomiishii%2Frenovate">
    <img alt="npm version" src="https://badge.fury.io/js/@nozomiishii%2Frenovate.svg">
  </a>
  <a target="_blank" href="https://open.vscode.dev/nozomiishii/renovate">
    <img alt="Open in VSCode" src="https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20VSCode&labelColor=2c2c32&color=007acc&logoColor=007acc">
  </a>
  <a target="_blank" href="https://twitter.com/nozomiishii_dev">
    <img alt="twitter" src="https://img.shields.io/twitter/follow/nozomiishii_dev?style=social&label=Follow">
  </a>
</div>
<br>

## Gist

```bash
npx -y @nozomiishii/renovate@latest
```

## Manual

```bash
mkdir -p .github
```

```bash
echo '{ "extends": ["github>nozomiishii/renovate"] }' > .github/renovate.json
```

## Main

[default.json](./default.json)

## Preference

- `"$schema": "https://docs.renovatebot.com/renovate-schema.json"`

  - 補完出してくれる

- `extends`

  - デフォルトでついてくる`config:base`の必要部分を抽出

- `labels`

  - 自動で作られるPRにラベルがつく

- `"prConcurrentLimit": 0`

  - Limit系は0で設定すると無制限って意味になる

- `stabilityDays`

  - 安定猶予期間を設定。ここで指定した日数が経ってからオートマージされる

- `separateMultipleMajor`

  - メジャーバージョンのPRは個別に出す

- `rangeStrategy`
  - バージョンの上げ方。"pin"にすると^や~がつかない固定バージョンになる
npm package: @nozomiishii/tsconfig
Description: Nozomi's Recommended tsconfig
Author: Nozomi Ishii
Latest version: 0.0.7

# @nozomiishii/tsconfig

Nozomi's Recommended [tsconfig](https://www.typescriptlang.org/tsconfig)

<!-- Main Image -->
<br>
<div align="center">
  <img src="https://media.giphy.com/media/zWpm4CRynyYrC/giphy.gif" alt="Coding" width="480" />
</div>
<div align="right">
  <small>via GIPHY</small>
</div>
<br>

## Install

```bash
pnpm add -D @nozomiishii/tsconfig
```

## Usage

`tsconfig.json`

### tsup

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@nozomiishii/tsconfig",

  "compilerOptions": {
    // ----------------------------------------------------------------
    // Transpiling
    // ----------------------------------------------------------------
    "moduleResolution": "Bundler",
    "module": "ESNext",
    "noEmit": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}
```

### tsc

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@nozomiishii/tsconfig",
  "compilerOptions": {
    // ----------------------------------------------------------------
    // Transpiling
    // ----------------------------------------------------------------
    // TSCでTranspileする場合
    "moduleResolution": "NodeNext",
    "module": "NodeNext",
    "outDir": "dist",
    "sourceMap": true
  }
}
```

### nextjs

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@nozomiishii/tsconfig/tsconfig.nextjs.json",
  "compilerOptions": {
    "baseUrl": "."
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
  "exclude": ["node_modules"]
}
```

## References

- [The TSConfig Cheat Sheet](https://www.totaltypescript.com/tsconfig-cheat-sheet)
- [tsconfig/bases](https://github.com/tsconfig/bases)
- [sindresorhus/tsconfig](https://github.com/sindresorhus/tsconfig)
- [TypeScriptの設定の良し悪し](https://gist.github.com/azu/56a0411d69e2fc333d545bfe57933d07)