open-index/open-npm huggingface dataset:
npm package: @lzear/eslint-config
Description: ESLint shareable config
Author: lzear
Latest version: 3.0.1

# ESLint Config

[![Version](https://img.shields.io/npm/v/@lzear/eslint-config.svg?color=4a32c3&labelColor=26272b)](https://npmjs.com/package/@lzear/eslint-configt)
[![GitHub License](https://img.shields.io/badge/license-MIT-232428.svg?color=4a32c3&labelColor=26272b)](https://github.com/azat-io/eslint-config/blob/main/license.md)

My preferred ESLint configuration. Forked from [azat-io/eslint-config](https://github.com/azat-io/eslint-config), with some modifications including:

- Use recommended presets from the plugins instead of managing the rules manually.
- Changing rules to my personal preferences.

## Usage

1. Install package:

   ```sh
   yarn add --D eslint @lzear/eslint-config
   ```

2. Create ESLint configuration file `eslint.config.js`:

   ```js
   import eslintConfig from '@lzear/eslint-config'

   export default eslintConfig({
     perfectionist: true,
     typescript: true,
     react: true,
     node: true,
   })
   ```

3. Add script for `package.json`:

   ```json
   {
     "scripts": {
       "test:js": "eslint \"**/*.{js,ts,jsx,tsx,json}\""
     }
   }
   ```

## License

MIT &copy; [Azat S.](https://azat.io)
npm package: @lzear/eslint-config-react
Description: ESLint shareable config for React
Author: lzear
Latest version: 2.1.0

# @lzear/eslint-config-react

<img src="https://github-production-user-asset-6210df.s3.amazonaws.com/5698350/241426629-f7e3a5bf-50fe-49c1-ad76-98bd3914cd3e.svg" alt="ESLint" align="right" width="150" height="150" />

![Version](https://img.shields.io/npm/v/@lzear/eslint-config-react.svg?color=brightgreen)

Shareable ESLint config for React projects.

See [docs](https://github.com/lzear/eslint-config/blob/main/react/docs.md) for a
list of all rules.

## Installation

1. Install package:

```sh
yarn add --save-dev eslint @lzear/eslint-config-react @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-n eslint-plugin-node-import eslint-plugin-prefer-arrow eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-sonarjs eslint-plugin-testing-library eslint-plugin-unicorn
```

2. Create ESLint configuration file `eslint.config.js`:

```js
import eslintConfig from '@lzear/eslint-config-react'

export default eslintConfig
```

3. Add script for package.json:

```js
{
  "scripts": {
    "lint": "eslint .",
  }
}
```
npm package: @lzear/eslint-config-typescript
Description: ESLint shareable config for TypeScript
Author: lzear
Latest version: 2.1.0

# @lzear/eslint-config-typescript

<img src="https://github-production-user-asset-6210df.s3.amazonaws.com/5698350/241426629-f7e3a5bf-50fe-49c1-ad76-98bd3914cd3e.svg" alt="ESLint" align="right" width="150" height="150" />

![Version](https://img.shields.io/npm/v/@lzear/eslint-config-typescript.svg?color=brightgreen)

Shareable ESLint config for TypeScript projects.

See [docs](https://github.com/lzear/eslint-config/blob/main/typescript/docs.md)
for a list of all rules.

## Installation

1. Install package:

```sh
yarn add --save-dev eslint @lzear/eslint-config-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-n eslint-plugin-node-import eslint-plugin-prefer-arrow eslint-plugin-promise eslint-plugin-sonarjs eslint-plugin-unicorn
```

2. Create ESLint configuration file `eslint.config.js`:

```js
import eslintConfig from '@lzear/eslint-config-typescript'

export default eslintConfig
```

3. Add script for package.json:

```js
{
  "scripts": {
    "lint": "eslint .",
  }
}
```