open-index/open-npm huggingface dataset:
npm package: @pisyukaev/prettier-config
Description: prettier-config
Author: Vitaliy Zakutniy
Latest version: 3.3.3

# `@pisyukaev/prettier-config`

> Here is my personal [Prettier](https://prettier.io) config.

## Install

```sh
npm install @pisyukaev/prettier-config -D
```

```sh
yarn add @pisyukaev/prettier-config -D
```

```sh
pnpm add @pisyukaev/prettier-config -D
```

## Usage

```js
// .prettierrc.cjs
module.exports = require('@pisyukaev/prettier-config')
```

### Copy the ignore file to your project folder

If you want to extend the ignore file, run the following command in the root of your project folder:

```bash
# unix
cp node_modules/@pisyukaev/prettier-config/.prettierignore .prettierignore

# windows
copy node_modules/@pisyukaev/prettier-config/.prettierignore .prettierignore
```

It will copy the `.prettierignore` from `@pisyukaev/prettier-config` to your project root folder.

### Scripts

Some commonly used scripts in `package.json`.

```json
{
  "scripts": {
    "format": "prettier --write '**/*.{js,ts,tsx,json}'",
  }
}
```

## Related

- [Prettier](https://github.com/prettier/prettier) - an opinionated code formatter.
- [Prettier - Sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations) - Document on sharing prettier configurations.
- [Prettier - Ignore Code](https://prettier.io/docs/en/ignore.html) - Use `.prettierignore` to ignore certain files and folders completely.
- [prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) - A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
- [prettier-plugin-multiline-arrays](https://github.com/electrovir/prettier-plugin-multiline-arrays) - Prettier plugin to force array elements to wrap onto new lines.
npm package: @pisyukaev/tsconfig
Description: TypeScript tsconfig.json
Author: Vitaliy Zakutniy
Latest version: 2.0.1

# `@pisyukaev/tsconfig`

> ✒ Here is my personal [TypeScript](https://www.typescriptlang.org) config.

## Install

```sh
npm install @pisyukaev/tsconfig -D
```

```sh
yarn add @pisyukaev/tsconfig -D
```

```sh
pnpm add @pisyukaev/tsconfig -D
```

## Usage

```json
// tsconfig.json
{
  "extends": "@pisyukaev/tsconfig",
  "compilerOptions": {
    "outDir": "dist"
  },
  "include": [
    "src"
  ]
}
```