JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 135
  • Score
    100M100P100Q91164F
  • License ISC

Stripe's ESLint config

Package Exports

  • eslint-config-stripe

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-stripe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-stripe

This package provides Stripe's .eslintrc as an extensible shared config.

Installation

eslint-config-stripe is based off of eslint-config-airbnb and requires eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y. To install:

(
  export PKG=eslint-config-stripe;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
)

Usage

Add extends: 'stripe' to your .eslintrc:

(.eslintrc.yml) ```yaml

extends: 'stripe'


(.eslintrc)
```json
{
"extends": "stripe"
}