open-index/open-npm huggingface dataset:
npm package: @pretty-cozy/eslint-config
Description: A pretty cozy collection of eslint configs
Author: Pretty Coffee
Latest version: 0.9.0

# @pretty-cozy/eslint-config

A pretty cozy collection of eslint rules.

## Available configs

| config name | description                                   |
|-------------|-----------------------------------------------|
| `baseJs`    | General config without a specific usage scope |
| `baseTs`    | Extends `baseJs` with typescript support      |
| `react`     | React specific rule set                       |
| `preact`     | Preact specific rule set                      |
| `prettier`  | Enables prettier for eslint.                  |
| `tailwind`  | Tailwind css specific rule set                |

## Setup

1. Install `eslint` and the package
    ```bash
    npm i -D eslint @pretty-cozy/eslint-config
    ```
2. Add an `eslint.config.mjs` file at the root directory of your project for configuration.
    ```js
    import prettyCozy from "@pretty-cozy/eslint-config"
    import { defineConfig } from "eslint/config"
    
    export default defineConfig(
      prettyCozy.baseTs,
      prettyCozy.react,
      {
        // your additional configuration
      },
      prettyCozy.prettier
    )
    ```
3. Add npm scripts to your `package.json`:
    ```json
    "scripts": {
      "lint": "eslint src",
      "lint:fix": "npx lint -- --fix"
    }
    ```
   
## Usage

You can use eslint by executing the created scripts:

```bash
# Lint your code and print the result
npm run lint 

# Autofix linter problems where possible
npm run lint:fix
```
npm package: @pretty-cozy/git-hooks
Description: A pretty cozy collection of git hooks
Author: Pretty Coffee
Latest version: 0.6.1

# @pretty-cozy/git-hooks

A pretty cozy collection of git hooks to verify commit messages and lint your code.

## Setup

1. Install the package
    ```bash
    npm i -D @pretty-cozy/git-hooks
    ```
2. Add a lint-staged config to your `package.json`, for example:
    ```json
    "lint-staged": {
      "*.{ts,tsx}": [
        "npm run lint:fix"
      ],
      "*.{json,md,html}": [
        "prettier --write"
      ]
    }
    ```
3. Add a `prepare` script to your `package.json` to auto install the hooks on `npm i`:
    ```json
    "scripts": {
      "prepare": "cozy-git-hooks install --quiet"
    }
    ```
npm package: @pretty-eslint/eslint-config
Description: Completely eslint and prettier configs to use in your Typescript and React projects.
Author: ogabrielrodrigues
Latest version: 1.0.5

<p align="center">
  <img src=".github/logo.png" />
</p>

### Completely eslint and prettier configs to use in your Node and React projects.

## **How to use:**
### Add in your `.eslintrc.json`:

### React
```json
  {
    "extends": ["@pretty-eslint/eslint-config/react"]
  }
```
### Node
```json
  {
    "extends": ["@pretty-eslint/eslint-config/node"]
  }
```
npm package: @pretty-fun-therapy/serverless-plugin-tag-cloud-watch-logs
Description: DEPRECATED - Serverless plugin to tag CloudWatchLogs
Latest version: 1.1.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# serverless-plugin-tag-cloud-watch-logs
Serverless plugin to tag CloudWatchLogs

## :warning: THIS PROJECT IS DEPRECATED

As an alternative with similar features, we suggest using [serverless-tag-cloud-watch-logs](https://github.com/gfragoso/serverless-tag-cloud-watch-logs).

## Installation
Install the plugin via <a href="https://docs.npmjs.com/cli/install">NPM</a>

```
npm install --save-dev @pretty-fun-therapy/serverless-plugin-tag-cloud-watch-logs
```

## Usage
In your serverless template :

```yaml
custom:
  cloudWatchLogsTags:
    TagName1: TagValue1
    TagName2: TagValue2

plugins:
  - '@pretty-fun-therapy/serverless-plugin-tag-cloud-watch-logs'
```

Or if you if you already have tags for your stack in another place :

```yaml
custom:
  cloudWatchLogsTags:${self:provider.<your_tags>}

plugins:
  - @pretty-fun-therapy/serverless-plugin-tag-cloud-watch-logs
```

This plugin also allow you to add tags retrieved from your lambda resources.  
To do so, you just have to add these lines into your serverless template :

```yaml
custom:
  addLambdaTagsOnLogGroups: true
  customTagsFromLambda:
    - "first_tag"
    - "second_tag"
    ...
```
npm package: @pretty-ts-errors/formatter
Description: Pretty TypeScript Errors Formatter
Author: yoavbls
Latest version: 0.1.7

# Pretty TypeScript Error formatter
The formatting package of [pretty-ts-errors](https://github.com/yoavbls/pretty-ts-errors)

# Usage
```typescript
import { formatDiagnosticMessage } from "@pretty-ts-errors/formatter";

function codeBlock(code: string, language?: string, multiLine?: boolean) {
  return `\`\`\`${language}
${code}
\`\`\`
`;
}

formatDiagnosticMessage(
  `Type 'string' is not assignable to type 'number'.`,
  codeBlock
);

```
npm package: @pretty-ui-org/cn
Description: To install dependencies:
Author: lucas manoguerra
Latest version: 0.0.0-alpha0.0.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# cn

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.4. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @pretty-ui-org/popover
Description: To install dependencies:
Latest version: 0.0.0-alpha0.0.20
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# popover

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @pretty-ui-org/styles
Description: To install dependencies:
Author: lucas manoguerra
Latest version: 0.0.0-alpha0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# styles

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.4. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @pretty-ui-org/theme
Description: To install dependencies:
Author: lucas manoguerra
Latest version: 0.0.0-alpha0.0.43
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# theme

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.4. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.