@linters/eslint-config-graphql

1.1.0 • Public • Published

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 @linters/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: ['@linters/eslint-config-graphql'],
}

Additionally don't forget to have .graphqlconfig file:

{
  "schemaPath": "schema.json"
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @linters/eslint-config-graphql

    Weekly Downloads

    0

    Version

    1.1.0

    License

    none

    Unpacked Size

    2.77 kB

    Total Files

    4

    Last publish

    Collaborators

    • michal.jarnot