open-index/open-npm huggingface dataset:
npm package: @gideon/eslint-config-next
Description: My preferred eslint config for Next.js
Author: Gideon Spierings
Latest version: 0.0.3

# Gideon's Next.js eslint config

My personal React eslint setup for Next.js projects. Feel free to use it any way you like.

## Installation

```
yarn add -D @gideon/eslint-config-next
```

Install required `peerDependencies`:

```
yarn add -D eslint
```

Import in `package.json`:

```
"eslintConfig": {
  "extends": "@gideon/eslint-config-next"
},
```

Add lint commands to your `package.json`:

```
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'"
```

## Enable fix on save

Add the following to your `.vscode/settings.json` file:

```
"editor.codeActionsOnSave": {
  "source.fixAll": true
},
```

## Extend config

Instead of using `package.json`, you can also import this config in your `.eslintrc.js` file. Here you can add or override rules as follows:

```
module.exports = {
  extends: "@gideon/eslint-config-next",
  rules: {
    "simple-import-sort/exports": "off",
  },
};
```
npm package: @gideon/eslint-config-react
Description: My preferred eslint config for React projects
Author: Gideon Spierings
Latest version: 1.0.1

# Gideon's eslint config

My personal React eslint setup for React projects. Feel free to use it any way you like.

## Installation

```
yarn add -D @gideon/eslint-config-react
```

Install required `peerDependencies`:

```
yarn add -D eslint eslint-config-prettier eslint-config-standard-react eslint-plugin-import eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

Import in `package.json`:

```
"eslintConfig": {
  "extends": "@gideon/eslint-config-react"
},
```

Add lint commands to your `package.json`:

```
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'"
```

## Enable fix on save

Add the following to your `.vscode/settings.json` file:

```
"editor.codeActionsOnSave": {
  "source.fixAll": true
},
```

## Extend config

Instead of using `package.json`, you can also import this config in your `.eslintrc.js` file. Here you can add or override rules as follows:

```
module.exports = {
  extends: "@gideon/eslint-config-react",
  rules: {
    "simple-import-sort/exports": "off",
  },
};
```
npm package: @gideon/prettier-config
Description: My preferred prettier config for javascript projects
Author: Gideon Spierings
Latest version: 1.0.3

# Gideon's prettier config

My personal prettier setup for javascript projects. Feel free to use it any way you like.

## Installation

```
yarn add -D @gideon/prettier-config
```

Install required `peerDependencies`:

```
yarn add -D prettier
```

Import in `package.json`:

```
"prettier": "@gideon/prettier-config"
```

Add a format command to your `package.json`:

```
"format": "prettier --check 'src/**/*.{js,jsx,ts,tsx}'",
"format:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
```

## Enable format on save

Add the following to your `.vscode/settings.json` file:

```
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
```

## Add/override rules

Instead of using `package.json`, you can also import this config in your `.prettierrc.js` file. Here you can add or override rules as follows:

```
module.exports = {
  ...require("@gideon/prettier-config"),
  semi: false,
};
```