open-index/open-npm huggingface dataset:
npm package: @inkohx/eslint-config-codestyle
Description: My Code Style
Author: InkoHX
Latest version: 3.0.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# parrot-style

My code style.

## Install

```bash
npm install -D @inkohx/eslint-config-codestyle
```

## JavaScript

### Edit .eslintrc.json

```json
{
  "extends": "@inkohx/eslint-config-codestyle"
}
```

## TypeScript

### Install plugins

```bash
npm install -D @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

### Edit .eslintrc.json

```json
{
  "extends": "@inkohx/eslint-config-codestyle/typescript",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
```

## React

### Install plugins

```bash
npm install -D eslint-plugin-react-hooks eslint-plugin-react eslint-plugin-jsx-a11y
```

### Edit .eslintrc.json

```json
{
  "extends": "@inkohx/eslint-config-codestyle/react"
}
```

### for TSX

#### Install plugins

```bash
npm install -D eslint-plugin-react-hooks eslint-plugin-react eslint-plugin-jsx-a11y @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

#### Edit .eslintrc.json

```json
{
  "extends": "@inkohx/eslint-config-codestyle/react",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
```