eslint-plugin-hydrogen-matt
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

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:

{
  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 in addition to this module.

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-hydrogen-matt

Weekly Downloads

1

Version

0.4.1

License

MIT

Unpacked Size

770 kB

Total Files

73

Last publish

Collaborators

  • cartogram