@code-quality/eslint-config-graphql

1.0.0 • Public • Published

Actions Status

Eslint Config GraphQL

eslint shareable config to help you identify and report on patterns found in your code in typescript applications.

Note: This eslint configuration works only with apollo client.

Plugins

This configuration uses the following plugins:

Install

$ yarn add @code-quality/eslint-config-graphql -D

Usage

The shareable config can be configured in the eslint configuration file:

Create a .eslintrc.js file with the following contents:

module.exports = {
  extends: [
    // ...
    '@code-quality/eslint-config-graphql',
  ],
}

Additionally don't forget to have .graphqlconfig file:

{
  // ...
  "schemaPath": "schema.json",
  // ...
}

/@code-quality/eslint-config-graphql/

    Package Sidebar

    Install

    npm i @code-quality/eslint-config-graphql

    Weekly Downloads

    3

    Version

    1.0.0

    License

    none

    Unpacked Size

    4.55 kB

    Total Files

    10

    Last publish

    Collaborators

    • michal.jarnot