# eslint-plugin-hydrogen-matt

> Eslint rules for hydrogen

Latest version **0.4.1** (published 2021-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-hydrogen-matt
pnpm add eslint-plugin-hydrogen-matt
yarn add eslint-plugin-hydrogen-matt
bun add eslint-plugin-hydrogen-matt
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2021-10-29 |
| First published | 2021-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 751.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2146 |
| Maintainers | cartogram |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-hydrogen-matt
- Repository: https://github.com/Shopify/hydrogen
- Homepage: https://github.com/Shopify/hydrogen#readme
- Issues: https://github.com/Shopify/hydrogen/issues
- npm.io page: https://npm.io/package/eslint-plugin-hydrogen-matt

## Dependencies (12)

- [eslint](https://npm.io/package/eslint.md) ^7.27.0
- [prettier](https://npm.io/package/prettier.md) ^2.0.0
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^24.3.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.24.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.4.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.4.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^4.26.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.2.0
- [eslint-plugin-eslint-comments](https://npm.io/package/eslint-plugin-eslint-comments.md) ^3.2.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^4.26.0
- [@typescript-eslint/experimental-utils](https://npm.io/package/@typescript-eslint/experimental-utils.md) ^4.0.1

## Recent versions

- 0.4.1 (latest) — 2021-10-29
- 0.4.0 — 2021-10-29

## README

<!-- This file is generated from the source code. Edit the files in /Users/matt/src/github.com/Shopify/hydrogen/packages/eslint-plugin and run 'yarn generate-docs' at the root of this repo. -->

# `eslint-plugin-hydrogen`

Hydrogen provides an ESLint plugin to enforce Shopify’s javascript best practices and catch common issues when using React Server components in Hydrogen apps.


## Configurations

### Recommended

This plugin exports a recommended configuration.

To enable this configuration use the `extends` property in your `.eslintrc.js`
config file:

```ts
{
  extends: 'plugin:hydrogen/recommended',
}
```


## Contributing

If you've come here to help contribute – Thank you ❤️ Take a look at the [contributing docs](./.github/contributing.md to get getting started.


## Installation

You'll first need to install [ESLint](http://eslint.org) in addition to this module.

```bash
yarn add --dev eslint eslint-plugin-hydrogen
```




## Usage

Hydrogen’s ESLint configurations come bundled in this package. To use them you must extend the relevant configuration in your project’s `.eslintrc.js`.

---
_Source: https://npm.io/package/eslint-plugin-hydrogen-matt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
