open-index/open-npm huggingface dataset:
npm package: @patricktabar/eslint-config-base
Description: Shareable base ESLint flat config
Author: Patrick Tabarelli
Latest version: 2.0.0

# ESLint Base Configuration

Shareable base ESLint flat config for modern JavaScript projects.

## Requirements

- ESLint `^10.0.0`
- Node `^20.19.0 || ^22.13.0 || >=24.0.0`

## Installation

```shell
npm install --save-dev eslint @patricktabar/eslint-config-base
```

## Usage

Use the package from an `eslint.config.js` file:

```js
import configBase from '@patricktabar/eslint-config-base';

export default [...configBase];
```

## What it includes

- modern language options for ECMAScript modules
- `@stylistic/eslint-plugin` recommended rules
- base JavaScript rule sets from this package's `rules/` modules

## Customizing rules

Add your own config entries after the shared config so your overrides win:

```js
import configBase from '@patricktabar/eslint-config-base';

export default [
  ...configBase,
  {
    rules: {
      semi: ['error', 'always'],
    },
  },
];
```

## Migrating from 1.x

Version `2.x` is a breaking release.

- it targets ESLint `10`
- it exports flat config arrays instead of legacy `.eslintrc` config
- it requires a root `eslint.config.js` file

## Reference

- [ESLint configuration files](https://eslint.org/docs/latest/use/configure/configuration-files)
npm package: @patricktabar/eslint-config-react
Description: Shareable React ESLint flat config
Author: Patrick Tabarelli
Latest version: 2.0.0

# ESLint React Configuration

Shareable React ESLint flat config built on top of `@patricktabar/eslint-config-base`.

## Requirements

- ESLint `^10.0.0`
- Node `^20.19.0 || ^22.13.0 || >=24.0.0`

## Installation

```shell
npm install --save-dev eslint @patricktabar/eslint-config-react
```

## Usage

Use the package from an `eslint.config.js` file:

```js
import configReact from '@patricktabar/eslint-config-react';

export default [...configReact];
```

## What it includes

- everything from `@patricktabar/eslint-config-base`
- JSX language support for `*.js`, `*.mjs`, `*.cjs`, and `*.jsx` files
- `eslint-plugin-react-hooks` recommended flat config
- `eslint-plugin-jsx-a11y` recommended flat config
- React version detection settings

## Customizing rules

Add overrides after the shared config:

```js
import configReact from '@patricktabar/eslint-config-react';

export default [
  ...configReact,
  {
    rules: {
      'jsx-a11y/no-noninteractive-tabindex': 'off',
    },
  },
];
```

## Migrating from 1.x

Version `2.x` is a breaking release.

- it targets ESLint `10`
- it exports flat config arrays instead of legacy `.eslintrc` config
- it requires a root `eslint.config.js` file

## Reference

- [ESLint configuration files](https://eslint.org/docs/latest/use/configure/configuration-files)
npm package: @patricktabar/prettier-config
Description: A personal, shareable Prettier configuration
Author: Patrick Tabarelli
Latest version: 1.3.6

# prettier-config
A personal, shareable [Prettier](https://prettier.io/) configuration.

## Usage

Install the package using a package manager of your choice:

```sh
// npm
npm install --save-dev @patricktabar/prettier-config

// yarn
yarn add -D @patricktabar/prettier-config

// pnpm
pnpm add -D @patricktabar/prettier-config
```

Add the `prettier` key to your `package.json`

```diff
+  "prettier": "@patricktabar/prettier-config",
 ```
 
 or extend the `.prettierrc` file to override some properties from the shared configuration:

```js
import prettierConfig from "@patricktabar/prettier-config";

export default {
  ...prettierConfig,
  semi: false,
};
```

 [Check out the `prettier` documentation for more info on sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).