@herp-inc/eslint-config-jsx

0.2.0 • Public • Published

@herp-inc/eslint-config-jsx npm

ESLint shareable config for JSX environments

This package is intended to be used along with @herp-inc/eslint-config.

Installation

Note that the following packages are peer dependencies of this library, which need to be installed separately.

Package Version
eslint 8
eslint-plugin-jsx-a11y ^6.5.0
eslint-plugin-react ^7.27.0

Using npm

$ npm install --save-dev @herp-inc/eslint-config-jsx

Using yarn

$ yarn add --dev @herp-inc/eslint-config-jsx

Usage

Add @herp-inc/eslint-config-jsx to the extends section of your ESLint configuration.

{
  "extends": ["@herp-inc"],
  "overrides": [
    {
      "extends": ["@herp-inc/eslint-config-jsx"],
      "files": ["*.tsx"]
    }
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i @herp-inc/eslint-config-jsx

Weekly Downloads

1,325

Version

0.2.0

License

MIT

Unpacked Size

2.69 kB

Total Files

4

Last publish

Collaborators

  • hiroqn
  • ryota-ka