@sensuapp/eslint-config-relay

1.5.0 • Public • Published

Unmaintained

No longer maintained, kept for historical purposes.

@sensuapp/eslint-config-relay

This package provides Sensu's Relay ESLint settings as an extensible configuration.

version license build

Usage

First, add the package to your project.

yarn add --dev eslint @sensuapp/eslint-config-relay

# or with npm

npm install --save-dev eslint @sensuapp/eslint-config-relay

If you did not already have an .eslintrc file you can add one.

./node_modules/.bin/eslint --init

Finally, add the following to your .eslintrc.

{
  "extends": [
    "@sensuapp/eslint-config",
    "@sensuapp/eslint-config-relay",
  ]
}

graphql-config

The plugin assumes that you have a .graphqlrc file present. See graphql-config for more details on it's options.

{
  "schemaPath": "schema.graphql",
  "includes": ["*.graphql"],
  "excludes": ["tmp/**"]
}

/@sensuapp/eslint-config-relay/

    Package Sidebar

    Install

    npm i @sensuapp/eslint-config-relay

    Weekly Downloads

    0

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    5.94 kB

    Total Files

    5

    Last publish

    Collaborators

    • jamesdphillips