open-index/open-npm huggingface dataset:
npm package: @instacart/eslint-config
Description: Instacart's ESLint configuration
Author: Nathan Marks
Latest version: 0.3.0

# @instacart/eslint-plugin
[![NPM version][npm-image]][npm-url]

Instacart's shared ESLint configuration.

## Installation

```bash
$ yarn add --dev @instacart/eslint-config
```

## Usage

To use all of the eslint rules, simply extend the package (`@instacart/eslint-config`). This includes rules for TypeScript and integration with Prettier.

```js
// .eslintrc.js
module.exports = {
  extends: ['@instacart/eslint-config'],
}
```

The package allows for selective use by exposing the following configs to extend:

- `@instacart/eslint-config/core` (required) - core eslint rules for all projects
- `@instacart/eslint-config/react` - rules from  [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react), [eslint-plugin-react-hooks](https://reactjs.org/docs/hooks-rules.html#eslint-plugin) and [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y)
- `@instacart/eslint-config/typescript` - sets up overrides for `.ts`/`.tsx` files using the parser and rules from [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint)
- `@instacart/eslint-config/prettier` - extends the prettier rule configurations to disable the appropriate eslint rules and adds the prettier plugin for integration with eslint [https://prettier.io/](https://prettier.io/)


[npm-url]: https://npmjs.org/package/@instacart/eslint-config
[npm-image]: http://img.shields.io/npm/v/@instacart/eslint-config.svg?style=shield
npm package: @instacart/prettier-config
Description: Instacart's shared prettier config
Author: Nathan Marks
Latest version: 0.1.1

# @instacart/prettier-config
[![NPM version][npm-image]][npm-url]

Instacart's shared Prettier configuration

## Installation

```bash
$ yarn add --dev @instacart/prettier-config
```

## Usage

```js
// prettier.config.js
module.exports = require('@instacart/prettier-config')
```


[npm-url]: https://npmjs.org/package/@instacart/prettier-config
[npm-image]: http://img.shields.io/npm/v/@instacart/prettier-config.svg?style=shield
npm package: @instacart/tsconfig
Description: Instacart's shared TypeScript config
Author: Nathan Marks
Latest version: 0.1.1

# @instacart/tsconfig
[![NPM version][npm-image]][npm-url]

Instacart's shared TypeScript configuration

## Installation

```bash
$ yarn add --dev @instacart/tsconfig
```

## Usage

By default the package provides 2 configurations to extend from.

- `@instacart/tsconfig` - The base configuration.

- `@instacart/tsconfig/babel` is used for our builds that use TypeScript in conjunction with Babel for the build process and defaults to `esnext` for the ECMAScript target version and module generation. It also preserves `jsx` for babel to take care of.

```json
// tsconfig.json
{
  "extends": "@instacart/tsconfig/babel",
  "compilerOptions": {
    "rootDir": "./",
    ...
  }
}
```


[npm-url]: https://npmjs.org/package/@instacart/tsconfig
[npm-image]: http://img.shields.io/npm/v/@instacart/tsconfig.svg?style=shield